site  contact  subhomenews

ALSA fixed

July 18, 2008 — BarryK
Sound is a bit broken in 4.1alpha4. Previously, there was some code at bootup that appended some lines to /etc/modprobe.conf, like this:

alias snd-card-0 snd_hda_intel
alias sound-slot-0 snd_hda_intel

4.1alpha4 does not have that code, and I have found that it breaks /etc/rc.d/rc.alsa, which is run (with the 'start' parameter) at bootup. If you run the ALSA Wizard (Setup menu) it will create those lines. That's the first bug, now the second...

Experimenting on my laptop, I found that it likes the following modules to be loaded:
snd-mixer-oss
snd-seq-oss
snd-pcm-oss
4.1alpha4 loads the first one only, but my microphone doesn't work. Previous puppies had explicit code in the boot scripts to load all three, but now that 4.1 is relying on the uevent mechanism there are much less explicit modprobe's in the boot scripts.
I didn't think those modules mattered anyway, as I thought that they had something to do with the old OSS-compatibility. But they are needed -- or perhaps their dependencies are needed. Anyway, I have now reinstated modprobe's to load them.

Comments

OSS
Username: happypuppy
Barry,why don't you use the latest build of OSS instead of ALSA? http://www.opensound.com/ It has much better compatibility,supports built-in high quality software mixing.It even supports Creative X-Fi based soundcards,something that ALSA still doesn't do.


Tags: puppy