[uClinux-dev] Can't get Ethernet over USB (USB gadget) to work

roger at bitfrost.no roger at bitfrost.no
Thu Oct 4 06:44:26 EDT 2007


Hello.

I have a BlueTechnix eval board with a BF537U USB core module running
uClinux R1.1-RC3. I'm trying to get ethernet over USB to work (using the
USB ethernet gadget), but I haven't been able to get the other end to
detect the connection.

I have default networking in the kernel. I do not have USB host
functionality in the kernel, only USB gadgets/USB gadget drivers/ethernet
gadget.

Booting the kernel I get the following output:

..
..
net2272: PLX NET2272 USB Peripheral controller
net2272: irq 57, mapped mem 20200000, chip rev 0011
net2272: running in 16-bit, no byte swap local bus mode
net2272: version: 2005 Sept 8
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using net2272, OUT ep-b IN ep-a STATUS ep-c
usb0: MAC 8a:ee:7f:98:6b:4b
usb0: HOST MAC ae:81:a0:fb:42:f2
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
..
..

I can assign an IP address to the usb0 network device and ping it
(locally).  I load the usbnet module on the pc, but when I plug in the USB
cable (to a laptop with Ubuntu 7.04 btw) nothing is detected.

This is as far as I get. Any pointers would be greatly appreciated.

BR,

Roger Froysaa, Norway




More information about the uClinux-dev mailing list