[Pkg-alsa-devel] Bug#670490: alsa-utils: Restore sound volume in udev

Vincent Bernat bernat at debian.org
Thu Apr 26 16:19:39 UTC 2012


OoO En ce doux  début de matinée du jeudi 26 avril  2012, vers 08:43, je
disais:

> ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", \
>   RUN+="/sbin/alsactl restore /dev/$name"
> ACTION=="remove", SUBSYSTEM=="sound", KERNEL=="controlC*", \
>   RUN+="/sbin/alsactl store /dev/$name"

Incorrect:

ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", \
  RUN+="/usr/sbin/alsactl restore /dev/$name"
ACTION=="remove", SUBSYSTEM=="sound", KERNEL=="controlC*", \
  RUN+="/usr/sbin/alsactl store /dev/$name"

-- 
Vincent Bernat ☯ http://vincent.bernat.im

Make it right before you make it faster.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20120426/748d5357/attachment.pgp>


More information about the Pkg-alsa-devel mailing list