qweryt

Members
  • Content Count

    4
  • Joined

  • Last visited

About qweryt

  • Rank
    Newbie

Recent Profile Visitors

461 profile views
  1. I solved the same problem for orange pi one a couple of weeks ago. You just need to recompile the kernel with patched hid.c and execute these two lines. echo 1 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role Here is my post.
  2. I've made it work finally. Just executed these two lines. echo 1 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role
  3. I've managed to compile and install kernel with G_HID enabled. Also I've patched hid.c as gadget_hid.txt says and created ghid0 device. But when I try to run an example I get this /dev/hidg0: Invalid argument You can find custom kernel and hid.c here.
  4. Hi, I'm trying to make my opi one act as a keyboard. I've found that I need to activate g_hid module, but when I trying to execute: modprobe g_hid it says: modprobe: FATAL: Module g_hid not found. Also, g_ether, g_mass_storage, g_multi, g_ptinter and g_serial modules are available. So, what should I do and maybe anyone can provide me an example how to send a keystroke to my pc? Thanks.