LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Knoppix - ALSA (https://www.linuxquestions.org/questions/linux-newbie-8/knoppix-alsa-137144/)

S3ct0r 01-21-2004 12:39 PM

Knoppix - ALSA
 
Hi, I just installed (after failing with about 5 distributions of Linux:eek: , dont ask me how I managed to go through all those without getting one to work properly, lol :) )
Anyway, I just got Knoppix installed and working, the only problem is sound. Now, running a 600E, I knew I would have problems with this, so I checked Google, but I couldnt find much help for Knoppix, I went into the sound and multimedia control centre, and selected ALSA as the Sound I/O, but when I click Apply, I get the message:

Error while initializing the sound driver:

device: default can't be opened for playback (No such file or directory)

The sound server will continue, using the null output device.


I am a Linux :newbie:, so I dont really know what to do here, if anyone can help id really appreciate it :D

Thanks alot!

Lost Penguin 01-21-2004 01:32 PM

Try this:
Open a terminal,
su to root
run the following command:
alsaconfig

Texicle 01-21-2004 02:05 PM

Yup. Sounds like you're not logged in as root when trying to get alsa going. Lost Penguin's got you on the right track.

su -
enter root password when asked
alsaconf
alsamixer
type M to mute/unmute channels, use arrows to navigate, Esc to exit
alsactl store

at this point ls -l /dev/dsp and make sure you've got permissions to use it and not just root. If it looks like:

rwxr--r--

then you'll probably need to change that, so:

chmod 755 /dev/dsp
ls -l /dev/dsp


It should now look like:

rwxr-xr-x

Should work nicely now as normal user. Hope this helps. :)

S3ct0r 01-24-2004 01:18 PM

Hi, Thanks for responding.

After I su to root, I type alsaconf (I also tried alsaconfig), but it says:

bash: alsaconf: command not found

Any ideas?

Thanks for your help

pstoddard 05-19-2004 05:37 AM

Forget Alsa and try this it worked perfectly for me

Here is what I did

Open a shell and logon as root and type
insmod sound
insmod ad1848
insmod uart401
insmod cs4232 io=0x530 irq=5 dma=1 dma2-0 mpuio=0x330 mpuirq=9

this will load the correct drivers, however you will have to enter this everytime you reboot so if anyone out there has a script that will run these commands on boot I would appreciate hearing from you.

Update: I finally got the mods above to load at boot what I did was create a file with the above commands and saved it as cs4232 in the /etc folder and made it executable.

Then cd to /etc/rc5.d and ran

ln -s /etc/cs4232 S98cs4232

this created the symlink and I then rebooted the laptop and sound loaded on start.


All times are GMT -5. The time now is 03:55 AM.