@@ -817,6 +817,18 @@ cat << 'INPUTRULES' > /usr/lib/udev/rules.d/61-raptor-input.rules
817817ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usbhid", \
818818 ATTR{power/autosuspend}="-1"
819819
820+ # Disable USB autosuspend for Bluetooth adapters (btusb driver). This is a
821+ # SEPARATE device from any HID rule above — a Bluetooth mouse/keyboard talks
822+ # to the OS through this adapter, not as its own USB HID node, so the usbhid
823+ # rule above never protected it. Applying autosuspend to a Bluetooth adapter
824+ # is a known way to leave it unresponsive after its next suspend cycle,
825+ # breaking every Bluetooth input device connected through it until a manual
826+ # USB reset or reboot. This affects internal laptop Bluetooth chips too —
827+ # most enumerate as USB devices even though they're physically built in.
828+ ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="btusb", \
829+ ATTR{power/control}="on", \
830+ ATTR{power/autosuspend}="-1"
831+
820832# uinput: allow user-space to create virtual devices (antimicro, xpadneo, etc.)
821833KERNEL=="uinput", SUBSYSTEM=="misc", \
822834 OPTIONS+="static_node=uinput", TAG+="uaccess", TAG+="udev-acl", \
0 commit comments