pelya / android-keyboard-gadget

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.
Apache License 2.0
1.25k stars 314 forks source link

USB-keyboard don't works [flash kernel screen] #13

Closed ajmtrz closed 9 years ago

ajmtrz commented 9 years ago

but /dev/hidg0 and /dev/hidg1 exist and work because:

echo -ne "\x00\x00\x00\x15\x00\x00\x00\x00" > /dev/hidg0 it works

What happens? Android Lollipop? i don't know :S

pelya commented 9 years ago

Most probably it's because of SELinux, which is set to enforcing mode in Lollipop. I will fix this issue next week.

On Sat, Nov 15, 2014 at 1:08 AM, Antonio Jesús notifications@github.com wrote:

but /dev/hidg0 and /dev/hidg1 exist and work because:

echo -ne "\x00\x00\x00\x15\x00\x00\x00\x00" > /dev/hidg0 it works

What happens? Android Lollipop? i don't know :S

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/13.

ajmtrz commented 9 years ago

setenforce 0 until you can fix it :)

ajmtrz commented 9 years ago

Exist any way for set layout keyboard in spanish (o other layout language)?

pelya commented 9 years ago

Currently no, I will add generic keycode mapping dialog later.

On Sat, Nov 15, 2014 at 11:57 PM, Antonio Jesús notifications@github.com wrote:

Exist any way for set layout keyboard in spanish (o other layout language)?

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/13#issuecomment-63194320 .