speakersafetyd/95-speakersafetyd.rules
Hector Martin be47a3c050 udev: Mark sense devices as ACP_IGNORE
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-10-15 08:34:33 +09:00

8 lines
407 B
Text

SUBSYSTEM=="sound", DRIVERS=="snd-soc-macaudio", GOTO="speakersafetyd_macaudio"
GOTO="speakersafetyd_end"
LABEL="speakersafetyd_macaudio"
KERNEL=="pcmC*D2c", ATTRS{id}=="J314", TAG+="systemd", ENV{ACP_IGNORE}="1", ENV{SYSTEMD_WANTS}="speakersafetyd.service"
KERNEL=="pcmC*D2c", ATTRS{id}=="J413", TAG+="systemd", ENV{ACP_IGNORE}="1", ENV{SYSTEMD_WANTS}="speakersafetyd.service"
LABEL="speakersafetyd_end"