LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 04-12-2009, 05:23 PM   #1
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Rep: Reputation: 16
Where in Puppy do I need to be to recompile Alsa and do I need to uninstall it first?


I've been trying to get the sound to work now for ages, I've followed so many threads and tried the advice given. So far it has either done nothing at all, or worse. My last attempt was to download three files, I think they were all .pets. It replaced my version of Alsa from 1.0.16 to 1.0.8 but still has not solved the problem of finding my ISA AWE64 gold sound card, and I am left unable to uninstall Alsa 1.0.8.

I've tried downloading the latest Alsa source code and recompiling it from scratch, but I'm still left with Alsa sound wizard 1.0.8 after I've rebooted and the new Alsa gets put into a file of its own "alsa-driver-1.0.19" and I've no idea of where to put this? It seemed to compile OK and there are a lot of folders and files inside, I thought about replacing the files manually but I'm not sure if this would work?

I'm running Puppy 4.1.2 full install on the hard drive 64MB ram ISA sound blaster AWE64 gold sound card. I don't have a live Cd, but I have the .ISO somewhere, I think I can just click on it and it mounts. Could I restore Alsa by replacing all the folders like for like that have anything to do with Alsa, or would that maybe mess something else up in the process?

Any help appreciated.
 
Old 04-14-2009, 03:16 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
alsa-driver-1.0.19" and I've no idea of where to put this? It seemed to compile OK and there are a lot of folders and files inside
did you do
./configure
make
make install ?
 
Old 04-14-2009, 02:59 PM   #3
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Original Poster
Rep: Reputation: 16
Hi repo, thanks for the reply. Yep that's exactly what I did, I even went to the Alsa website and copied their instructions and gave it its own folder named alsa in usr/scr, but still no sound.

I did managed to get rid of alsa 1.0.8 though, in my frustration of trying everything and everything failing I deleted alsawizard and alsaconf (I'd usually just rename them and put them elsewhere, safe, but I was blinded with rage and just wanted them gone). After that nothing would work at all, even after I recompiled everything from scratch again. It turns out AlsaWizard is just a script to run Alsaconf, so it was not included with the Alsa I downloaded and everything has compiled fine, its just that it hasn't been integrated with Puppy and even though I deleted all mention of the .PETS some old files were still left and given priority over the newer files (like the alsaconfig I deleted) I found the new alsaconfig and put it where it belongs and now when I type alsaconf in a terminal I get alsaconfig 1.0.19 but... still no sound. The new Alsa folders I now have do not directly correspond with the Alsa folders I have already in Puppy, so its hard for me substitute the folders and to find what belongs where.

On an ironic note the only sound on my CPU that does work is the annoyingly loud internal speaker. I read about the code modprobe -r pcspkr and that works nicely, but I can't find a way of getting this done automatically when Puppy boots, so I have to type it in each time after I boot up (which has been a lot recently). I've tried adding "options modprobe -r pcspkr" to the modprobe.conf but that didn't work and I tried renaming the file pcspkr to spcspkr and that worked for a couple of boots but it didn't stick, I don't want to delete it, just disable it.
Any suggestions?

Last edited by Oakems; 04-14-2009 at 03:02 PM.
 
Old 04-14-2009, 03:17 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I've tried adding "options modprobe -r pcspkr" to the modprobe.conf
try adding it to /etc/rclocal
or add
Code:
blacklist pcspkr
in /etc/modprobe.d/blacklist
 
Old 04-15-2009, 04:42 AM   #5
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Original Poster
Rep: Reputation: 16
Hi repo, I tried adding modprobe -r pcspkr to /etc/rclocal, but it didn't work.

Puppy didn't have the folder modprobe.d or a blacklist file for modprobe, so I created them and added blacklist pcspkr to blacklist, but that didn't work either.

Do I need to add a symlink somewhere or set the blacklist file in any way? I noticed when comparing the blacklist file to the modprobe.conf file that they both have ASCII text but the blacklist file has no line terminators, could this be the problem?
 
Old 04-15-2009, 07:05 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

Sorry,

The file in puppy is
Code:
/etc/rc.d/rc.local
put the whole path
Code:
/sbin/modprobe -r pcspkr
 
Old 04-15-2009, 09:58 AM   #7
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Original Poster
Rep: Reputation: 16
Thank you that worked great. It used to really bug me because I have no mouse and I have to use mousekeys, but mousekeys keeps timing out, and turning it back on was noisy.
 
Old 04-15-2009, 10:19 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Puppy didn't have the folder modprobe.d or a blacklist file for modprobe, so I created them and added blacklist pcspkr to blacklist, but that didn't work either.
I would suggest you delete the files you created, to avoid confusion in the future
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No ALSA in Wine after Recompile Kernel illiadum Linux - Software 0 10-03-2007 02:02 AM
Dealing with alsa after a kernel recompile jrdioko Slackware 5 01-08-2007 02:33 AM
ALSA after kernel recompile Jeebizz Slackware 42 01-04-2005 02:41 PM
How to uninstall a non-rpm kernel recompile gchandler Fedora 5 08-05-2004 06:47 AM
ALSA after kernel recompile (2.4.19) rlculver Linux - Hardware 10 09-11-2002 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration