Comment 2 for bug 1576951

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/