Bug 103631 - magicmouse disconnects when CONFIG_HID_BATTERY_STRENGTH=Y
Summary: magicmouse disconnects when CONFIG_HID_BATTERY_STRENGTH=Y
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
Depends on:
Reported: 2015-08-28 09:05 UTC by Jérémy Lal
Modified: 2022-06-15 22:13 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.1.5 debian
Tree: Mainline
Regression: No

Patch from which a patch is proposed (serves as reference) (2.29 KB, patch)
2016-02-18 16:29 UTC, Jérémy Lal
Details | Diff
Patch to disable magicmouse battery report support (456 bytes, patch)
2016-02-18 16:30 UTC, Jérémy Lal
Details | Diff

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

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.

Note You need to log in before you can comment on or make changes to this bug.