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.

USB COMPOSITE g_multi driver gives me errors and doesn't work.

Featured Replies

Hi,

anyone used this driver with success on A20 legacy?

 

This is what i get:

 

Quote

# modprobe g_multi file=/dev/mmcblk1p1
<4>g_multi gadget: using random self ethernet address
<4>g_multi gadget: using random host ethernet address
<6>usb0: MAC 76:b6:36:2c:92:4c
<6>usb0: HOST MAC de:50:19:25:cf:a6
usb open backing file: /dev/mmcblk1p1, 0xee7e8e00
<6>g_multi gadget: Mass Storage Function, version: 2009/09/11
<6>g_multi gadget: Number of LUNs=1
<6> lun0: LUN: removable file: /dev/mmcblk1p1
ep_matches, wrn: endpoint already claimed, ep(0xc0a59ef4, 0xeea98600, ep1-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59ef4, 0xeea98600, ep1-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59f40, 0xeea98600, ep2-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59ef4, 0xeea98600, ep1-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59f40, 0xeea98600, ep2-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59f8c, 0xeea98600, ep3-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59ef4, 0xeea98600, ep1-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59f40, 0xeea98600, ep2-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59f8c, 0xeea98600, ep3-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59fd8, 0xeea98600, ep4-bulk)
<3>g_multi gadget: acm/ee253600: can't bind, err -19
usb close backing file: 0xee7e8e00
WRN:L3114(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: Error in bind() : -19
<3>g_multi sw_usb_udc: failed to start g_multi: -19
modprobe: ERROR: could not insert 'g_multi': No such device
 

 

Seems that it can load ethernet and mass storage without problem but it fails on serial.

 

If I run g_serial alone it works:

 

Quote

# modprobe g_serial
ep_matches, wrn: endpoint already claimed, ep(0xc0a59ef4, 0xee5bb100, ep1-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59ef4, 0xee5bb100, ep1-bulk)
ep_matches, wrn: endpoint already claimed, ep(0xc0a59f40, 0xee5bb100, ep2-bulk)
<6>g_serial gadget: Gadget Serial v2.4
<6>g_serial gadget: g_serial ready
<6>g_serial gadget: high-speed config #2: CDC ACM config
WRN:L1355(drivers/usb/sunxi_usb/udc/sw_udc.c):handle_ep0: ep0 setup end

 

# ls /dev/ttyGS0
/dev/ttyGS0
 

 

Any ideas?

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.