udev: Mark sense devices as ACP_IGNORE

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2023-10-15 08:34:33 +09:00
parent 12ecb8c6dd
commit be47a3c050

View file

@ -2,7 +2,7 @@ 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"
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"