Skip to contentSkip to conversation

usb-to-eth dongle on usb ehci host port

DISCUSSION twebb 2 participants 3 messages Apr 23, 2009 1 message not in the archive

lore
Share & tools
lore

twebb

author
#0 lore raw

I'm trying to get network connectivity via a usb-to-eth dongle on HSUSB2/EHCI port of an OMAP35xx. The dongle is recognized and enumerated by the ehci controller, but no eth0 net device is dynamically created. I'm passing the basic IP parameters to the kernel using u-boot kernel args. Is a particular kernel config parameter required? Maybe CONFIG_USB_USBNET and/or CONFIG_USB_NET_CDCETHER? (I'm about to try these.)

The dongle is OK because I get network connectivity through it when I plug the dongle into my linux laptop. I know this is simple, but I'm not sure what I'm missing.

Thanks,
twebb

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw
Quoted 10 lines

Sounds like the usb device didn't get recognized as an ethernet adaptor.  I use netgear fa120 USB ethernet adaptor with my beagleboard and it works great.

Next time include some boot output and we can likely provide more specific suggestions.

Todd

Here are portions of output from kernel startup. It does look like it recognizes it ("REALTEK USB 10/100 LAN"), but how to tell if it recognizes it specifically as a eth adaptor?

twebb

...
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
i2c /dev entries driver
Driver 'sd' needs updating - please use bus_type methods
usbmon: debugfs is not available drivers/usb/host/ehci-omap.c:omap_start_ehc, TLL is Active, val = 0x9, count = 5 000
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.27-omap1-svn168-dirty1 ehci_hcd usb usb1: SerialNumber: ehci-omap.0
Initializing USB Mass Storage driver...
usb 1-2: new high speed USB device using ehci-omap and address 2 usb 1-2: configuration #1 chosen from 1 choice
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 3 ports detected
usb 1-2: New USB device found, idVendor=0424, idProduct=2513
usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 1-2.2: new full speed USB device using ehci-omap and address 3 usb 1-2.2: configuration #1 chosen from 1 choice
usb 1-2.2: New USB device found, idVendor=0bda, idProduct=8150
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2.2: Product: USB 10/100 LAN
usb 1-2.2: Manufacturer: REALTEK
usb 1-2.2: SerialNumber: 8918
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
zero gadget: Gadget Zero, version: Cinco de Mayo 2008
zero gadget: zero ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2 usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.27-omap1-svn168-dirty1 musb-hcd usb usb2: SerialNumber: musb_hdrc
...
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 3 lines · twebb

 It does look like it
recognizes it ("REALTEK USB 10/100 LAN"), but how to tell if it recognizes it specifically as a eth adaptor?

drivers/net/usb/Kconfig has a USB_RTL8150 entry you might try.

Quoted 4 lines

usb 1-2.2: New USB device found, idVendor=0bda, idProduct=8150 usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2.2: Product: USB 10/100 LAN
usb 1-2.2: Manufacturer: REALTEK

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html