mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-26 02:05:06 +03:00
Add udev rules
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
5708edf68d
commit
1007463e60
1 changed files with 8 additions and 0 deletions
8
95-speakersafetyd.rules
Normal file
8
95-speakersafetyd.rules
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
SUBSYSTEM=="sound", DRIVERS=="snd-soc-macaudio", GOTO="speakersafetyd_macaudio"
|
||||||
|
GOTO="speakersafetyd_end"
|
||||||
|
|
||||||
|
LABEL="speakersafetyd_macaudio"
|
||||||
|
KERNEL=="pcmC*D2c", ATTRS{id}=="J314", TAG+="systemd", ENV{SYSTEMD_WANTS}="speakersafetyd.service"
|
||||||
|
KERNEL=="pcmC*D2c", ATTRS{id}=="J413", TAG+="systemd", ENV{SYSTEMD_WANTS}="speakersafetyd.service"
|
||||||
|
|
||||||
|
LABEL="speakersafetyd_end"
|
Loading…
Reference in a new issue