Jump to content

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


sgufa

Recommended Posts

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?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines