On Sat, 2006-07-08 at 17:20 +0100, Mark Priestley wrote:
> I'm a bit stuck now, partly I suspect because I have a rather shallow 
> understanding of kernel modules.  Any suggestions would be most
> welcome!

Did you enable the appropriate sound modules in your kernel
configuration?  Also, if you enabled them directly into the kernel there
won't be any modules to load so you can skip that step.

Your /etc/udev.d/{whatever}.rules file should have a section to add
sound devices.  Mine (for the onboard VIA AC'97 chip) reads:

# ALSA devices go in their own subdirectory
KERNEL="controlC[0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="hw[CD0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k", GROUP="audio"
KERNEL="midiC[D0-9]*",   NAME="snd/%k", GROUP="audio"
KERNEL="timer",     NAME="snd/%k", GROUP="audio"
KERNEL="seq",     NAME="snd/%k", GROUP="audio"

# Sound devices
KERNEL="admmidi*",                      GROUP="audio"
KERNEL="adsp*",                         GROUP="audio"
KERNEL="aload*",                        GROUP="audio"
KERNEL="amidi*",                        GROUP="audio"
KERNEL="amixer*",                       GROUP="audio"
KERNEL="audio*",                        GROUP="audio"
KERNEL="dmfm*",                         GROUP="audio"
KERNEL="dmmidi*",                       GROUP="audio"
KERNEL="dsp*",                          GROUP="audio"
KERNEL="midi*",                         GROUP="audio"
KERNEL="mixer*",                        GROUP="audio"
KERNEL="music",                         GROUP="audio"
KERNEL="sequencer*",                    GROUP="audio"

Of course you need to add yourself to the "audio" group.

Finally, once you do have the appropriate /dev/snd/* devices, remember
to run alsamixer to unmute the PCM (and other) drivers.  After you do it
once you can save and restore the volume settings via alsactl, but you
must run alsamixer the first time to set the initial state.

Hope that helps!

-- 
Peter B. Steiger
Cheyenne, WY


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to