System hangs if apple magic mouse is connected via bluetooth

Bug #1576951 reported by JOnathanJOnes
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
John McAleely
frieza
New
Undecided
Unassigned
turbo
New
High
Unassigned
bluez (Ubuntu)
Won't Fix
Medium
Konrad Zapałowicz

Bug Description

If you connect apple magic mouse via bluetooth the system hangs completely. After 1 minute the system restarts.

Tags: bluez-touch
Revision history for this message
JOnathanJOnes (jonathanjones) wrote :

Edit: Ota10.1 m10 device

Changed in canonical-devices-system-image:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
importance: Undecided → High
Changed in turbo:
assignee: nobody → Alex Tu (alextu)
Changed in canonical-devices-system-image:
milestone: none → 12
Jason Yen (jasonyen)
Changed in turbo:
importance: Undecided → High
Changed in canonical-devices-system-image:
status: New → Confirmed
Revision history for this message
Alex Tu (alextu) wrote :

the workaround for turbo is to disable magic pad supporting.

And in Turbo, what caused rebooting is calling null function pointer hdev->hid_output_raw_report() [1]

Compare to Android behavior, that pointer is assigned in uhid module [2] , but Ubuntu touch did not go that way and just keep it NULL.

I also tried to skip calling hdev->hid_output_raw_report() then the magic mouse device could show in cat /proc/bus/input/devices [3] , but nothing show in evtest [4] and no mouse courser shown on device screen.

[1] https://git.launchpad.net/~zhongshan-team/zhongshan/+git/kernel_exynos7420/tree/drivers/hid/hid-magicmouse.c?h=staging/ubuntu#n553
[2] https://git.launchpad.net/~zhongshan-team/zhongshan/+git/kernel_exynos7420/tree/drivers/hid/uhid.c?h=staging/ubuntu#n405
[3] http://paste.ubuntu.com/16123632/
[4] http://paste.ubuntu.com/16123628/

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

@alex, macgic mouse and magic trackpad are different. let's find a magic mouse to test.

Revision history for this message
Joan CiberSheep (cibersheep) wrote :

It's confusing: On bq E5 works with no problem (apple magic mouse) even with bluetooth keboard at the same time.

On m10 if keyboard is connected, when tap on connect appel magic mouse, m10 freezes and reboots. If no keyboard is present, it does not connect. If mouse is clicked conmects briefly and disconnects inmediatly.

Changed in canonical-devices-system-image:
assignee: Yuan-Chen Cheng (ycheng-twn) → John McAleely (john.mcaleely)
Changed in turbo:
assignee: Alex Tu (alextu) → nobody
Revision history for this message
John McAleely (john.mcaleely) wrote :

@koza - I think this should be handled as a dupe of all the other bugs relating to LE enabled devices.

Changed in bluez (Ubuntu):
assignee: nobody → Konrad Zapałowicz (kzapalowicz)
importance: Undecided → High
Jason Yen (jasonyen)
Changed in turbo:
milestone: none → ota12
Changed in canonical-devices-system-image:
milestone: 12 → 13
Changed in canonical-devices-system-image:
milestone: 13 → backlog
tags: added: bluez-touch
Revision history for this message
dinamic (dinamic6661) wrote :

i had the same experience with bq M10 and Microsoft Arc Touch mouse while pairing/connecting to bluetooth, unity 8 freezes/crashes

Revision history for this message
dinamic (dinamic6661) wrote :

on rc/proposed (ota14+)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bluez (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Reduced priority for Ubuntu Touch bugs.

Changed in bluez (Ubuntu):
importance: High → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ubuntu Touch is no longer supported.

Changed in bluez (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.