On 7/3/06, Miguel Bazdresch <[EMAIL PROTECTED]> wrote:

KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore
%n"

is missing a NAME="/snd/%k".

As it stands, the controlC[0-9] devices are being created in /dev, not
in /dev/snd. This was in the book at some point and was removed.

That's because it's in the stock LFS rules. The BLFS rules just need
to run the userspace tools. I don't know if this is the absolute most
recent LFS udev rules, but I have this in 25-lfs.rules.

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

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

Reply via email to