aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/udev/rules.d/80-shokz-blacklist.rules
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:33 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:33 +0100
commit66427c37fcc05ffbecde726aeea77ccfb1b860de (patch)
tree6ef6b9795019ac4c3075b096072368fc1289a425 /etc/udev/rules.d/80-shokz-blacklist.rules
parentcb9b3f4e017dd202a0ac284639efd78fc07fbb1e (diff)
downloaddotfiles-66427c37fcc05ffbecde726aeea77ccfb1b860de.tar.gz
dotfiles-66427c37fcc05ffbecde726aeea77ccfb1b860de.tar.bz2
dotfiles-66427c37fcc05ffbecde726aeea77ccfb1b860de.zip
feat(udev): replace shokz blacklist with hwdb keycode override
The previous /etc/udev/rules.d/80-shokz-blacklist.rules deauthorized the entire usbhid interface for the Shokz OpenMeet dongle (3511:2EF2) to stop the host from powering off when the headset is turned off. That also killed mic-mute, volume, and media keys on the same HID Consumer Control node. Replace it with a narrow hwdb override that remaps just the offending scancode (Consumer page Power, c0030 -> KEY_POWER) to reserved on that specific vendor/product. KEY_MUTE / volume / media keys keep working. Add 'systemd-hwdb update' + an input-subsystem udevadm trigger to the etc deploy hook so new hwdb files take effect immediately.
Diffstat (limited to 'etc/udev/rules.d/80-shokz-blacklist.rules')
-rw-r--r--etc/udev/rules.d/80-shokz-blacklist.rules1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/udev/rules.d/80-shokz-blacklist.rules b/etc/udev/rules.d/80-shokz-blacklist.rules
deleted file mode 100644
index a5314a4..0000000
--- a/etc/udev/rules.d/80-shokz-blacklist.rules
+++ /dev/null
@@ -1 +0,0 @@
-SUBSYSTEM=="usb", ATTRS{idVendor}=="3511", ATTRS{idProduct}=="2ef2", DRIVER=="usbhid", ATTR{authorized}="0"