Bug 103631

Summary: magicmouse disconnects when CONFIG_HID_BATTERY_STRENGTH=Y
Product: Drivers Reporter: Jérémy Lal (kapouer)
Component: Input DevicesAssignee: linux-bluetooth (linux-bluetooth)
Status: NEW ---    
Severity: normal CC: andri, bugzilla, bugzilla
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.1.5 debian Subsystem:
Regression: No Bisected commit-id:
Attachments: Patch from which a patch is proposed (serves as reference)
Patch to disable magicmouse battery report support

Description Jérémy Lal 2015-08-28 09:05:40 UTC
Hi,

The bluetooth apple magic mouse (hid_magicmouse) disconnects from time to time,
the lower the battery the more often, and reconnects after around 15 seconds.

Rebuild the kernel with CONFIG_HID_BATTERY_STRENGTH=N and the issue disappears,
along with battery status reporting (which otherwise works and can be seen in gnome-shell power control panel).

I've seen this bug since the first introduction of CONFIG_HID_BATTERY_STRENGTH, but it wasn't that of a problem since that config has been off by default until recently.
Comment 1 Jérémy Lal 2016-02-18 16:29:15 UTC
Created attachment 203871 [details]
Patch from which a patch is proposed (serves as reference)
Comment 2 Jérémy Lal 2016-02-18 16:30:17 UTC
Created attachment 203881 [details]
Patch to disable magicmouse battery report support
Comment 3 Bastien Nocera 2016-02-19 10:53:06 UTC
Code contributions must be made via the linux-bluetooth@ mailing-list, not through bugzilla.