problems with alsamixer

Dan Nicholson dbn.lists at gmail.com
Tue Aug 28 09:49:57 PDT 2007


On 8/28/07, Olaf Grüttner <olaf.gruettner at web.de> wrote:
>
> root at lfs:~# ls /dev/c
> cdrom      console    controlC1  core
> cdrw       controlC0  controlC2  cpu0
>
>
> calling alsamixer:
> ##################
> root at lfs:~# alsamixer
>
> alsamixer: function snd_ctl_open failed for default: No such device
>
> do I need dummy devices or oss compatibility or ... ?
>
> anything which comes to mind?

I think something's wrong with your udev rules. ALSA expects to find
the sound devices in /dev/snd (e.g., /dev/snd/control0), but yours are
in /dev. These are the rules currently in
/etc/udev/rules.d/25-lfs.rules:

# ALSA devices go in their own subdirectory

KERNEL=="controlC[0-9]*",        GROUP="audio",  NAME="snd/%k"
KERNEL=="hwC[0-9]*D[0-9]*",      GROUP="audio",  NAME="snd/%k"
KERNEL=="pcmC[0-9]*D[0-9]*[cp]", GROUP="audio",  NAME="snd/%k"
KERNEL=="midiC[0-9]*D[0-9]*",    GROUP="audio",  NAME="snd/%k"
KERNEL=="timer",                 GROUP="audio",  NAME="snd/%k"
KERNEL=="seq",                   GROUP="audio",  NAME="snd/%k"

Are you missing those?

--
Dan



More information about the blfs-support mailing list