chiark / gitweb /
rules: mount fuse filesystem only 'add'
[elogind.git] / rules / rules.d / 60-persistent-alsa.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION=="remove", GOTO="persistent_alsa_end"
4 SUBSYSTEM!="sound", GOTO="persistent_alsa_end"
5 KERNEL!="controlC[0-9]*", GOTO="persistent_alsa_end"
6
7 SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p"
8 SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}"
9 ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="?*", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_IFACE}"
10 ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
11
12 ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
13 ENV{ID_PATH}=="?*", SYMLINK+="snd/by-path/$env{ID_PATH}"
14
15 LABEL="persistent_alsa_end"