rafaeluchoa Posted November 18, 2016 Posted November 18, 2016 Hi all,Somebody has any problem with NanoPI NEO using g_hid as keyboard ?I'm using the code below to send the keyboard report to /dev/hidg0, but the it throws an error. https://www.kernel.org/doc/Documentation/usb/gadget_hid.txtNanoPi NEO - Linux 3.4.113-sun8i jessie[ 373.427509] g_hid gadget: adding config #1 'HID Gadget'/bf064548[ 373.427678] g_hid gadget: adding 'hid'/c527075c to config 'HID Gadget'/bf064548[ 373.427782] gadget_is_softwinner_otg is not -int[ 373.427837] gadget_is_softwinner_otg is not -int[ 373.427881] gadget_is_softwinner_otg is not -int[ 373.427932] gadget_is_softwinner_otg is not -int[ 373.429424] g_hid gadget: cfg 1/bf064548 speeds: high full[ 373.429502] g_hid gadget: interface 0 = hid/c527075c[ 373.429571] g_hid gadget: HID Gadget, version: 2010/03/16[ 373.429671] g_hid gadget: g_hid ready[ 454.455026] WRN:L2026(drivers/usb/sunxi_usb/udc/sunxi_udc.c):ERR: sunxi_udc_queue: inval 2[ 454.455106] g_hid gadget: usb_ep_queue error on int endpoint 4294967274[ 476.659024] WRN:L2026(drivers/usb/sunxi_usb/udc/sunxi_udc.c):ERR: sunxi_udc_queue: inval 2[ 476.659104] g_hid gadget: usb_ep_queue error on int endpoint 4294967274
Recommended Posts