summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-07-07 18:32:34 +0200
committerTom Gundersen <teg@jklm.no>2013-07-16 20:07:57 +0200
commit84b6ad702e64db534f67ce32d4dd2fec00a16784 (patch)
tree25e12d25a38a708f24354fae4fed2770a4362c81 /src/login
parent6cf2f1d94dc7749bcdff5385838bdc8eba9c3001 (diff)
udev: export tags of "dead" device nodes to /run/udev/static_node-tags/
Based on a patch by Kay Sievers. A tag is exported at boot as a symlinks to the device node in the folder /run/udev/static_node-tags/<tagname>/, if the device node exists. These tags are cleaned up by udevadm info --cleanup-db, but are otherwise never removed.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/70-uaccess.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/70-uaccess.rules b/src/login/70-uaccess.rules
index a118f8e887..01484c95f1 100644
--- a/src/login/70-uaccess.rules
+++ b/src/login/70-uaccess.rules
@@ -25,7 +25,8 @@ SUBSYSTEM=="block", ENV{ID_CDROM}=="1", TAG+="uaccess"
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", TAG+="uaccess"
# Sound devices
-SUBSYSTEM=="sound", TAG+="uaccess"
+SUBSYSTEM=="sound", TAG+="uaccess" \
+ OPTIONS+="static_node=snd/timer", OPTIONS+="static_node=snd/seq"
# ffado is an userspace driver for firewire sound cards
SUBSYSTEM=="firewire", ENV{ID_FFADO}=="1", TAG+="uaccess"