Ticket #98 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Udev rules bug

Reported by: Denis A. Birukov Owned by: clfs-commits@…
Priority: major Milestone:
Component: Udev Version: CLFS Standard 1.0.0
Keywords: Cc:


Alsa rules didn't work properly. Sound card detected, but there is no /dev/snd/controlC* i fix it by this way:

# Give the audio group ownership of sound devices
SUBSYSTEM=="sound",       GROUP="audio", MODE="666"
SUBSYSTEM=="snd",         GROUP="audio", MODE="666"

# ALSA Devices
# When a sound device is detected, restore the volume settings
KERNEL=="controlC[0-9]*",  NAME="snd/%k", MODE="666", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
KERNEL=="hw[CD0-9]*",      NAME="snd/%k", MODE="666"
KERNEL=="pcm[CD0-9cp]*",   NAME="snd/%k", MODE="666"
KERNEL=="midiC[D0-9]*",    NAME="snd/%k", MODE="666"
KERNEL=="timer",           NAME="snd/%k", MODE="666"
KERNEL=="seq",             NAME="snd/%k", MODE="666"

also there was KERNEL= instead of KERNEL==

Change History

comment:1 Changed 11 years ago by jim

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in the current rules for the 1.1.0 release

Note: See TracTickets for help on using tickets.