site  contact  subhomenews

(SP1) ALSA fix (again)

October 25, 2008 — BarryK
Oh, that was dumb. In /etc/rc.d/rc.services, the following modules are explicitly loaded (needed for the volume control tray applet to work) however I had '-n' option in each line which I just discovered means "dry run". So now I have removed the '-n' and have this:

modprobe snd-mixer-oss
modprobe snd-seq-oss
modprobe snd-pcm-oss

You also need these to be loaded (at least the first one I think) to get /dev/mixer created.

This probably fixes a lot of sound-related bug reports in 4.1.

Comments

dry run
Username: Dougal
The reason they were probed that way originally was to fetch them from the zdrv, in case they are needed/autoloaded. I think there was no problem in the past since /dev was static, so /dev/mixer was always there... You'll probably need to also add loading them to the alsawizard, since it probably unloads all snd- modules when it starts.

That '-n'
Username: BarryK
"Ah, yes, I was trying to recall why I had that '-n', the reason was eluding me. /dev is still static, or rather quasi-static. Most of /dev is static, but udevd will create any extra devnodes that it needs as modules are loaded. I just checked, /dev/mixer is still statically created, so that means something must have been removing it.


Tags: puppy