I am coming closer :-)

my udev-rules for alsa look like this at the moment
# /etc/udev/rules.d/40-alsa.rules
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"
#KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl
restore %n"

I can run alsamixer, but it shows 5 items instead of 20 items on my host
system. Nothing is muted or can be muted and no sound is produced with
programs like ogg123 ...

these are the instructions in the book

cat > /etc/udev/rules.d/40-alsa.rules << "EOF"
# /etc/udev/rules.d/40-alsa.rules

# When a sound device is detected, restore the volume settings
KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
EOF
chmod -v 644 /etc/udev/rules.d/40-alsa.rules

what am I missing? my mixer devices are still under /dev/

Olaf

Am Dienstag, den 28.08.2007, 09:49 -0700 schrieb Dan Nicholson:
> On 8/28/07, Olaf Grüttner <[EMAIL PROTECTED]> wrote:
> >
> > [EMAIL PROTECTED]:~# ls /dev/c
> > cdrom      console    controlC1  core
> > cdrw       controlC0  controlC2  cpu0
> >
> >
> > calling alsamixer:
> > ##################
> > [EMAIL PROTECTED]:~# 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



-- 
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