]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules/60-persistent-alsa.rules
systemctl: Prevent state_missing from being used uninit
[thirdparty/systemd.git] / rules / 60-persistent-alsa.rules
CommitLineData
dc544062
LP
1# do not edit this file, it will be overwritten on update
2
4b06c409 3ACTION=="remove", GOTO="persistent_alsa_end"
dc544062
LP
4SUBSYSTEM!="sound", GOTO="persistent_alsa_end"
5KERNEL!="controlC[0-9]*", GOTO="persistent_alsa_end"
6
d7867b31 7SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
2ba5c378
KS
8ENV{ID_SERIAL}=="?*", ENV{ID_USB_INTERFACE_NUM}=="?*", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_USB_INTERFACE_NUM}"
9ENV{ID_SERIAL}=="?*", ENV{ID_USB_INTERFACE_NUM}=="", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
dc544062 10
d7867b31 11IMPORT{builtin}="path_id"
dc544062
LP
12ENV{ID_PATH}=="?*", SYMLINK+="snd/by-path/$env{ID_PATH}"
13
14LABEL="persistent_alsa_end"