Thread (3 messages) 3 messages, 2 authors, 2016-11-23

Re: hig_magicmouse HID_BATTERY_QUIRK_IGNORE

flat view

From: Jérémy Lal <hidden>
Date: 2016-11-23 00:33:26

2016-11-23 1:24 GMT+01:00 Bastien Nocera [off-list ref]:
On Wed, 2016-11-23 at 00:00 +0100, Jérémy Lal wrote:
quoted
Hi,
i've been using this patch for a while, as a workaround for
https://bugzilla.kernel.org/show_bug.cgi?id=103631
(mouse freeze when battery reports).
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -321,6 +321,9 @@
 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
   USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI),
   HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE },
+  { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
+    USB_DEVICE_ID_APPLE_MAGICMOUSE),
+    HID_BATTERY_QUIRK_IGNORE },
 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM,
   USB_DEVICE_ID_ELECOM_BM084),
   HID_BATTERY_QUIRK_IGNORE },
Doesn't that also stop the mouse from reporting its battery status?
Yes, it does. Still better than having it stop abruptly from time to time.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help