Jump to content

qweryt

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    qweryt got a reaction from xi-tauw in nanopi m1 create hid usb gadget   
    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. Like
    qweryt got a reaction from lanefu in Orange PI One OTG HID   
    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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines