[maemo-developers] [maemo-developers] Adding USB-EtherNet Support

From: etienne at solve400problems.com etienne at solve400problems.com
Date: Thu Sep 28 22:23:27 EEST 2006
I am trying to get a Linksys USB100M USB-EtherNet adapter working. I have
the power injection working and the 770 is correctly working in USB host
mode.

The USB100M uses the RTL8150.ko on my laptop, so I assume that I need to get
this object compiled for the 770. 

I compiled this module and copied it to the 770. Then I do the following:

Nokia770-26:~# insmod rtl8150.ko
Using rtl8150.ko

Nokia770-26:~# dmesg
[68148.108642] drivers/usb/net/rtl8150.c: rtl8150 based usb-ethernet driver
v0.6.2 (2004/08/27)
[68148.117736] usbcore: registered new driver rtl8150

>> Plug-in USB100M

Nokia770-26:~# dmesg
[68212.028961] USB cable connected
[68212.032470] USB cable connected
[68213.458892] ohci ohci: wakeup
[68213.459014] USB cable connected
[68213.460449] USB cable connected
[68213.965515] usb 1-1: new full speed USB device using ohci and address 18
[68214.250000] usb 1-1: device v0bda p8150 is not supported
[68214.252044] usb 1-1: configuration #1 chosen from 1 choice
[68214.260040] drivers/usb/net/rtl8150.c: eth%d: rtl8150 is detected
[68225.246887] We haven't got a READY interrupt from WAKEUP
[68238.537841] hwa742: setting update mode to disabled
[68238.537902] omapfb_notifier_cb(): event = DISABLED

Nokia770-26:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:10:60:03:DD:35
          BROADCAST MULTICAST  MTU:1540  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)

Nokia770-26:~# ifconfig eth0 dhcp start

Nokia770-26:~# dmesg
[68520.897766] USB cable disconnected
[68520.901153] USB cable connected
[68521.152984] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[68521.153076] usb 1-1: USB disconnect, address 28
[68522.059570] usb 1-1: new full speed USB device using ohci and address 29
[68522.374664] usb 1-1: device v0bda p8150 is not supported
[68522.376678] usb 1-1: configuration #1 chosen from 1 choice
[68522.386840] drivers/usb/net/rtl8150.c: eth%d: rtl8150 is detected

The last sequence of messages just keep repeating and the 100MB led on the
USB100M flashes on and off.

When I execute ifconfig eth0 up the 770 will reboot with /proc/bootreason
32wd_to.

Can anybody please offer some advice?

Etienne



More information about the maemo-developers mailing list