Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NanoPI NEO g_hid

Featured Replies

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.txt

NanoPi 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
 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.