From feb535bef4468638c73d2a71dcd5a556a4d6fb77 Mon Sep 17 00:00:00 2001 From: cartermccann Date: Thu, 23 Jul 2026 16:53:19 -0600 Subject: [PATCH] udev: match Bluetooth HID devices (fixes #10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Configuring a Work Louder device over Bluetooth fails because every hidraw rule matches on ATTRS{idVendor}, which walks up the device tree for a USB parent carrying idVendor. A BLE (HID-over-GATT) device has no USB parent, so those rules never match — the hidraw node stays root-only and node-hid gets EACCES opening it. Add rules that match the Bluetooth HID parent by kernel name instead: bus 0005 = BUS_BLUETOOTH, with the VID in uppercase hex (0005:303A:*, 0005:574C:*), keeping the existing MODE/GROUP/uaccess form so both systemd (uaccess) and non-systemd (group) setups get access. --- patch/dist-electron/scripts/install-udev-worklouder.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/patch/dist-electron/scripts/install-udev-worklouder.sh b/patch/dist-electron/scripts/install-udev-worklouder.sh index e5c02fc..19b5e6e 100644 --- a/patch/dist-electron/scripts/install-udev-worklouder.sh +++ b/patch/dist-electron/scripts/install-udev-worklouder.sh @@ -69,10 +69,18 @@ sudo tee "$TEMP_FILE" >/dev/null <