Apple magic mouse 2 does not work by default

Bug #1822770 reported by lotuspsychje on 2019-04-02
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe (Ubuntu)
Undecided
Unassigned

Bug Description

Ubuntu 18.04.2 up to date @ 2/4/2019 with kernel: 4.18.0-16-generic

Apple magic mouse 2 does not work by default, also does not show in bluetooth/blueman

Tested also 19.04 beta to test a higher kernel without luck

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.18.0-16-generic 4.18.0-16.17~18.04.1
ProcVersionSignature: Ubuntu 4.18.0-16.17~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-16-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 2 13:01:39 2019
InstallationDate: Installed on 2019-04-01 (1 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

lotuspsychje (lotuspsychje) wrote :
lotuspsychje (lotuspsychje) wrote :
Download full text (6.8 KiB)

syslog with apple magic mouse 2 connected with lightning cable:

Apr 2 13:08:22 shelsy-iMac kernel: [ 795.499228] usb 4-4: USB disconnect, device number 4
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.0/0003:05AC:0269.0004
Apr 2 13:08:22 shelsy-iMac /usr/lib/gdm3/gdm-x-session[942]: (II) config/udev: removing device Apple Inc. Magic Mouse 2 Mouse
Apr 2 13:08:22 shelsy-iMac /usr/lib/gdm3/gdm-x-session[942]: (**) Option "fd" "36"
Apr 2 13:08:22 shelsy-iMac /usr/lib/gdm3/gdm-x-session[942]: (II) event8 - Apple Inc. Magic Mouse 2 Mouse: device removed
Apr 2 13:08:22 shelsy-iMac /usr/lib/gdm3/gdm-x-session[942]: (II) UnloadModule: "libinput"
Apr 2 13:08:22 shelsy-iMac /usr/lib/gdm3/gdm-x-session[942]: (II) systemd-logind: releasing fd for 13:72
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.0
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.1/0003:05AC:0269.0005
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.2/0003:05AC:0269.0006
Apr 2 13:08:22 shelsy-iMac gnome-shell[2167]: g_array_unref: assertion 'array' failed
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.2
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.1
Apr 2 13:08:22 shelsy-iMac upowerd[2173]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:06.0/usb4/4-4
Apr 2 13:08:29 shelsy-iMac kernel: [ 801.984040] usb 4-4: new full-speed USB device number 5 using ohci-pci
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.229044] usb 4-4: New USB device found, idVendor=05ac, idProduct=0269, bcdDevice= 8.04
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.229048] usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.229051] usb 4-4: Product: Magic Mouse 2
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.229053] usb 4-4: Manufacturer: Apple Inc.
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.229056] usb 4-4: SerialNumber: CC270740L1JGRHQAR
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.270881] hid-generic 0003:05AC:0269.0009: hiddev2,hidraw3: USB HID v1.10 Device [Apple Inc. Magic Mouse 2] on usb-0000:00:06.0-4/input0
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.296916] input: Apple Inc. Magic Mouse 2 Mouse as /devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.1/0003:05AC:0269.000A/input/input18
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.356463] hid-generic 0003:05AC:0269.000A: input,hiddev3,hidraw4: USB HID v1.10 Mouse [Apple Inc. Magic Mouse 2] on usb-0000:00:06.0-4/input1
Apr 2 13:08:29 shelsy-iMac kernel: [ 802.368410] hid-generic 0003:05AC:0269.000B: hiddev4,hidraw5: USB HID v1.10 Device [Apple Inc. Magic Mouse 2] on usb-0000:00:06.0-4/input2
Apr 2 13:08:29 shelsy-iMac mtp-probe: checking bus 4, device 5: "/sys/devices/pci0000:00/0000:00:06.0/usb4/4-4"
Apr 2 13:08:29 shelsy-iMac mtp-probe: bus: ...

Read more...

lotuspsychje (lotuspsychje) wrote :

xinput list:

shelsy@shelsy-iMac:~$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Mouse id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Consumer Control id=11 [slave pointer (2)]
⎜ ↳ Apple Inc. Magic Mouse 2 Mouse id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Power Button id=7 [slave keyboard (3)]
    ↳ Sleep Button id=8 [slave keyboard (3)]
    ↳ Logitech USB Receiver id=9 [slave keyboard (3)]
    ↳ Logitech USB Receiver System Control id=12 [slave keyboard (3)]
    ↳ Apple Computer, Inc. IR Receiver id=13 [slave keyboard (3)]
    ↳ Built-in iSight: Built-in iSigh id=14 [slave keyboard (3)]
    ↳ Apple Inc. Apple Keyboard id=16 [slave keyboard (3)]
    ↳ Apple Inc. Apple Keyboard id=17 [slave keyboard (3)]
    ↳ Logitech USB Receiver Consumer Control id=18 [slave keyboard (3)

lotuspsychje (lotuspsychje) wrote :

FIX: https://github.com/rohitpid/Linux-Magic-Trackpad-2-Driver

installed the driver from git & reboot
blueman showing the apple magic mouse now & paired the device
mouse pointer is extreme sensitive, settings need low speed

Changed in linux-signed-hwe (Ubuntu):
status: New → Fix Released
lotuspsychje (lotuspsychje) wrote :

To make it work after a reboot, i had to 'trust' the apple magic mouse 2
in blueman to make it recognized automatic after reboot

lotuspsychje (lotuspsychje) wrote :

Please integrate this fix in the kernel so also apple & its devices get a smooth experience

Changed in linux-signed-hwe (Ubuntu):
status: Fix Released → Confirmed
lotuspsychje (lotuspsychje) wrote :

every reboot the apple magic mouse 2 has to click a few times on desktop
to get blueman recognize the mouse, after that the blueman indicator
lights up connected

TJ (tj) wrote :

Driver is in v4.20 according ot [1] - the site also documents some user-space configuration options.

[1] https://github.com/robotrovsky/Linux-Magic-Trackpad-2-Driver

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers