ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Support for hidraw #1181

Open yanpol opened 5 years ago

yanpol commented 5 years ago

Description of the feature

Missing hidraw support on kernel

Steps to reproduce

Can't use hidraw access on usb otg, it seems it isn't part of the kernel

Expected behavior

hidraw device available under /sys/class/hidraw/hidraw*

Actual behavior

no hidraw class under /sys/class/*

UniversalSuperBox commented 5 years ago

Android switched to Bluedroid in late 2012, Bluedroid doesn't appear to use hidraw to do its work. I believe any other input was handled by Android itself (HAL docs here). For this reason, CONFIG_HIDRAW was disabled on most devices.

You can head over to https://github.com/ubports/ubuntu_kernel_xenial/tree/flo to compile your own kernel and try it out, if you like. If you send a PR with the changes, I can reintegrate them and release a new kernel.