LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   remove alsa udev rule (http://www.linuxquestions.org/questions/slackware-installation-40/remove-alsa-udev-rule-4175437713/)

rpetrov 11-18-2012 03:34 PM

remove alsa udev rule
 
Slackware 14.0 distribute alsa util package with udev rule that restore drive state:
$ cat /lib/udev/rules.d/90-alsa-restore.rules
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS=="card*", \
RUN+="/usr/sbin/alsactl restore $attr{number}"

udev demon is started before file systems to be mounted and since /usr is not mounted yet rule fail .
Later rc.alsa script restore again state of sound card.

What about to remove alsa udev rule from package ?

malekmustaq 11-20-2012 12:47 AM

Have tried removing it? If it works then its okay.


All times are GMT -5. The time now is 10:56 PM.