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.
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 /git.launchpad. net/~zhongshan- team/zhongshan/ +git/kernel_ exynos7420/ tree/drivers/ hid/uhid. c?h=staging/ ubuntu# n405 paste.ubuntu. com/16123632/ paste.ubuntu. com/16123628/
[2] https:/
[3] http://
[4] http://