From 63011bd0056f0ae23a15e25dc3dc5489ec687773 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 10 Sep 2022 07:52:08 -0400 Subject: [PATCH] Volume sense rule works correctly now. --- packages/sysutils/system-utils/udev.d/99-volume.rules | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 packages/sysutils/system-utils/udev.d/99-volume.rules diff --git a/packages/sysutils/system-utils/udev.d/99-volume.rules b/packages/sysutils/system-utils/udev.d/99-volume.rules new file mode 100644 index 000000000..76e7de928 --- /dev/null +++ b/packages/sysutils/system-utils/udev.d/99-volume.rules @@ -0,0 +1,6 @@ +### Restart the volume service whenever a USB device is attached +### or detached so brightness and volume work across connected +### devices. + +ACTION=="add|change", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense" +ACTION=="remove", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"