Apple magicmouse, frequent disconnects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've got an Apple Magicmouse, bluetooth mouse, and it frequently
disconnects on linux, more than a dozen times per day, even more than
a dozen times per hour sometimes. This happens on an hp laptop, and a
Mac laptop running linux (specifically Fedora). When rebooted to
Windows 10 and macOS respectively, the mouse works as expected without
disconnects.

It happens on kernels going back before 4.9 and up to current 5.2rc5
kernels, and is not a regression near as I can tell.

Someone else discovered that if CONFIG_HID_BATTERY_STRENGTH is not
set, the problem doesn't happen. I can confirm this, but as a
consequence I no longer get any battery remaining information which is
suboptimal.
https://bugzilla.kernel.org/show_bug.cgi?id=103631

So I'm wondering what more information I can provide to figure out why
polling the mouse (apparently) causes these disconnects. I never see a
kernel message related to the disconnect, only after the reconnect
happens.

[ 1367.387984] flap.local kernel: magicmouse 0005:05AC:030D.0004:
unknown main item tag 0x0
[ 1367.388472] flap.local kernel: input: mouses as
/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:512/0005:05AC:030D.0004/input/input20
[ 1367.391109] flap.local kernel: magicmouse 0005:05AC:030D.0004:
input,hidraw2: BLUETOOTH HID v3.06 Mouse [mouses] on 00:c2:c6:f0:52:57

Hp test system:

hci0:    Type: Primary  Bus: USB
    BD Address: 00:C2:C6:F0:52:57  ACL MTU: 1021:4  SCO MTU: 96:6
    UP RUNNING PSCAN
    RX bytes:15083 acl:0 sco:0 events:2439 errors:0
    TX bytes:600912 acl:0 sco:0 commands:2437 errors:0
    Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH SNIFF
    Link mode: SLAVE ACCEPT
    Name: 'flap.local'
    Class: 0x0c010c
    Service Classes: Rendering, Capturing
    Device Class: Computer, Laptop
    HCI Version: 4.2 (0x8)  Revision: 0x100
    LMP Version: 4.2 (0x8)  Subversion: 0x100
    Manufacturer: Intel Corp. (2)

Apple Magic Mouse (original, not the 2)


Originally sent to linux-bluetooth, suggestion made to post here instead.
https://lore.kernel.org/linux-bluetooth/61972141474cad5b43af0808fa701b0adff12971.camel@xxxxxxxxxx/T/#t


--
Chris Murphy



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux