From 66427c37fcc05ffbecde726aeea77ccfb1b860de Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:33 +0100 Subject: 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. --- etc/udev/rules.d/80-shokz-blacklist.rules | 1 - 1 file changed, 1 deletion(-) delete mode 100644 etc/udev/rules.d/80-shokz-blacklist.rules (limited to 'etc/udev/rules.d/80-shokz-blacklist.rules') 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" -- cgit v1.3.1