Freezes when running command
Hey!
Just patched and built a kernel for my zenwatch 2 with this patch and now the files /dev/hidg0 and /dev/hidg1 exist (i have chmodded them) but when I'm trying to run a preview command from your script like "echo a | ./hid-gadget-test /dev/hidg0 keyboard" it just freezes and does nothing at all :/
Any idea on how to fix this?
Thanks!
Maybe try to disable SELinux? Does your watch have USB port to plug into PC?
On Tue, Mar 1, 2016 at 12:44 AM, nnvt [email protected] wrote:
Hey!
Just patched and built a kernel for my zenwatch 2 with this patch and now the files /dev/hidg0 and /dev/hidg1 exist (i have chmodded them) but when I'm trying to run a preview command from your script like "echo a | ./hid-gadget-test /dev/hidg0 keyboard" it just freezes and does nothing at all :/
Any idea on how to fix this?
Thanks!
— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/47.
You could also try connecting your Phone as Midi-Device before running your command. Or try: setprop sys.usb.config "charging" before. Somehow ADB seems to interfere with the HID functionality (at least on my device)