* hig_magicmouse HID_BATTERY_QUIRK_IGNORE
@ 2016-11-14 6:57 Jérémy Lal
2016-11-22 21:50 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Jérémy Lal @ 2016-11-14 6:57 UTC (permalink / raw)
To: linux-bluetooth
Hello,
i've using this patch for a while, or else
https://bugzilla.kernel.org/show_bug.cgi?id=103631
happens (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 },
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: hig_magicmouse HID_BATTERY_QUIRK_IGNORE
2016-11-14 6:57 hig_magicmouse HID_BATTERY_QUIRK_IGNORE Jérémy Lal
@ 2016-11-22 21:50 ` Marcel Holtmann
2016-11-22 23:00 ` Jérémy Lal
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2016-11-22 21:50 UTC (permalink / raw)
To: Jérémy Lal; +Cc: linux-bluetooth
Hi Jeremy,
> i've using this patch for a while, or else
> https://bugzilla.kernel.org/show_bug.cgi?id=103631
> happens (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 },
please send patches to linux-input@vger.kernel.org for HID drivers.
Regards
Marcel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: hig_magicmouse HID_BATTERY_QUIRK_IGNORE
2016-11-22 21:50 ` Marcel Holtmann
@ 2016-11-22 23:00 ` Jérémy Lal
2016-11-23 0:24 ` Bastien Nocera
0 siblings, 1 reply; 5+ messages in thread
From: Jérémy Lal @ 2016-11-22 23:00 UTC (permalink / raw)
To: linux-input
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 },
Greetings,
Jérémy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: hig_magicmouse HID_BATTERY_QUIRK_IGNORE
2016-11-22 23:00 ` Jérémy Lal
@ 2016-11-23 0:24 ` Bastien Nocera
2016-11-23 0:33 ` Jérémy Lal
0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2016-11-23 0:24 UTC (permalink / raw)
To: Jérémy Lal, linux-input
On Wed, 2016-11-23 at 00:00 +0100, Jérémy Lal wrote:
> 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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: hig_magicmouse HID_BATTERY_QUIRK_IGNORE
2016-11-23 0:24 ` Bastien Nocera
@ 2016-11-23 0:33 ` Jérémy Lal
0 siblings, 0 replies; 5+ messages in thread
From: Jérémy Lal @ 2016-11-23 0:33 UTC (permalink / raw)
To: Bastien Nocera; +Cc: linux-input
2016-11-23 1:24 GMT+01:00 Bastien Nocera <hadess@hadess.net>:
> On Wed, 2016-11-23 at 00:00 +0100, Jérémy Lal wrote:
>> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-11-23 0:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-14 6:57 hig_magicmouse HID_BATTERY_QUIRK_IGNORE Jérémy Lal
2016-11-22 21:50 ` Marcel Holtmann
2016-11-22 23:00 ` Jérémy Lal
2016-11-23 0:24 ` Bastien Nocera
2016-11-23 0:33 ` Jérémy Lal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.