Still problems with gadgetfs

Roland Häder roland at mxchange.org
Wed Jun 11 14:28:21 CEST 2008


Hi,

as it seems lile my gadgetfs is up and mounted to /dev/gadget/. Now, when I 
want to "usb_add gadget:1" i got this error message:

gadget_ep_parse: failed to configure gadgetfs: -16

Attached is the output related to this matter (like dummy_hcd, gadgetfs and 
g_ether modules loaded).

Strange looking is the last line:
ADDRCONF(NETDEV_UP): usb0: link is not ready

When I do a "ifconfig" I got this output:

usb0      Link encap:Ethernet  HWaddr 6e:de:c1:c8:52:02  
          inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Please help me here. I want to be prepared for the FreeRunner phone. :)

Roland
-------------- next part --------------
kobject dummy_hcd: registering. parent: <NULL>, set: module
kobject_uevent
fill_kobj_path: path = '/module/dummy_hcd'
kobject dummy_hcd: registering. parent: <NULL>, set: drivers
kobject_uevent
fill_kobj_path: path = '/bus/platform/drivers/dummy_hcd'
kobject dummy_udc: registering. parent: <NULL>, set: drivers
kobject_uevent
fill_kobj_path: path = '/bus/platform/drivers/dummy_udc'
kobject dummy_hcd: registering. parent: platform, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd'
dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
dummy_hcd dummy_hcd: Dummy host controller
kobject usb_host5: registering. parent: usb_host, set: class_obj
kobject_uevent
fill_kobj_path: path = '/class/usb_host/usb_host5'
fill_kobj_path: path = '/devices/platform/dummy_hcd'
dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 5
kobject usb5: registering. parent: dummy_hcd, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5'
kobject usbdev5.1_ep00: registering. parent: usb5, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5/usbdev5.1_ep00'
usb usb5: configuration #1 chosen from 1 choice
kobject 5-0:1.0: registering. parent: usb5, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5/5-0:1.0'
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
kobject usbdev5.1_ep81: registering. parent: 5-0:1.0, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5/5-0:1.0/usbdev5.1_ep81'
kobject usbdev5.1: registering. parent: usb_device, set: class_obj
kobject_uevent
fill_kobj_path: path = '/class/usb_device/usbdev5.1'
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5'
kobject dummy_udc: registering. parent: platform, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_udc'
kobject gadget: registering. parent: dummy_udc, set: devices
kobject_uevent
kobject gadgetfs: registering. parent: <NULL>, set: module
kobject_uevent
fill_kobj_path: path = '/module/gadgetfs'
gadgetfs: USB Gadget filesystem, version 24 Aug 2004
dummy_udc dummy_udc: binding gadget driver 'nop'
kobject g_ether: registering. parent: <NULL>, set: module
kobject_uevent
fill_kobj_path: path = '/module/g_ether'
dummy_udc dummy_udc: binding gadget driver 'ether'
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
kobject usb0: registering. parent: net, set: class_obj
kobject_uevent
fill_kobj_path: path = '/class/net/usb0'
fill_kobj_path: path = '/devices/platform/dummy_udc/gadget'
usb0: Ethernet Gadget, version: May Day 2005
usb0: using dummy_udc, OUT ep-b IN ep-a STATUS ep-c
usb0: MAC 6e:de:c1:c8:52:02
usb0: HOST MAC 26:75:83:7b:bb:ac
usb0: RNDIS ready
kobject ether: registering. parent: <NULL>, set: drivers
kobject_uevent
fill_kobj_path: path = '/bus/platform/drivers/ether'
dummy_hcd dummy_hcd: port status 0x00010101 has changes
dummy_hcd dummy_hcd: port status 0x00010101 has changes
dummy_hcd dummy_hcd: port status 0x00100503 has changes
usb 5-1: new high speed USB device using dummy_hcd and address 2
dummy_hcd dummy_hcd: port status 0x00100503 has changes
dummy_udc dummy_udc: set_address = 2
kobject 5-1: registering. parent: usb5, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5/5-1'
kobject usbdev5.2_ep00: registering. parent: 5-1, set: devices
kobject_uevent
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5/5-1/usbdev5.2_ep00'
usb 5-1: rejected 2 configurations due to insufficient available bus power
usb 5-1: no configuration chosen from 2 choices
kobject usbdev5.2: registering. parent: usb_device, set: class_obj
kobject_uevent
fill_kobj_path: path = '/class/usb_device/usbdev5.2'
fill_kobj_path: path = '/devices/platform/dummy_hcd/usb5/5-1'
usb 5-1: 100mA is over 8mA budget for port 1!
hub 5-0:1.0: 92mA over power budget!
ADDRCONF(NETDEV_UP): usb0: link is not ready
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080611/b8458e4e/attachment.pgp 


More information about the openmoko-devel mailing list