From be47a3c0509a04eaa17cb279e8b2589b9c8e19eb Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sun, 15 Oct 2023 08:34:33 +0900 Subject: [PATCH] udev: Mark sense devices as ACP_IGNORE Signed-off-by: Hector Martin --- 95-speakersafetyd.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/95-speakersafetyd.rules b/95-speakersafetyd.rules index 728160b..4520550 100644 --- a/95-speakersafetyd.rules +++ b/95-speakersafetyd.rules @@ -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"