Re: USB to Ethernet, Davicom DM9601

"Jon Smirl" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On 6/27/07, Peter Korsgaard <[email protected]> wrote:
> >>>>> "Jon" == Jon Smirl <[email protected]> writes:
>
>  Jon> It looks like the driver is broken. I put the device into a Windows
>  Jon> laptop and it works fine.
>
>  Jon> Note that ifconfig doesn't say the interface is RUNNING.
>  Jon> It is UP and I gave it a static IP but it still isn't RUNNING.
>
>  Jon> eth1      Link encap:Ethernet  HWaddr 00:60:6E:BF:25:89
>  Jon>         inet addr:192.168.1.21  Bcast:192.168.1.255  Mask:255.255.255.0
>  Jon>         UP BROADCAST MULTICAST  MTU:1500  Metric:1
>  Jon>         RX packets:73 errors:0 dropped:0 overruns:0 frame:0
>  Jon>         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>  Jon>         collisions:0 txqueuelen:1000
>  Jon>         RX bytes:22225 (21.7 KiB)  TX bytes:0 (0.0 b)
>
>  Jon> [ 8514.301520] eth1: register 'dm9601' at usb-0000:00:1d.0-2.4,
>  Jon> Davicom DM9601 USB Ethernet, 00:60:6e:bf:25:89
>  Jon> [ 8514.301562] PM: Adding info for No Bus:usbdev1.8
>  Jon> [ 8514.422082] eth1: link down
>  Jon> [ 8514.439600] ADDRCONF(NETDEV_UP): eth1: link is not ready
>
> Odd, it doesn't seem to detect the link. Does it help to down and
> re-up the interface?

Yes, and ifconfig eth1 down, ifconfig eth1 up, will fix the condition.
This is 100% repeatable, I tried it about five times. On initial
insertion the link is not ready, ifconfig up/down clears the problem.

So it appears to be something with the first time the driver initializes.

>
> Here it works:
>
>  % /sbin/ifconfig eth2
> eth2      Link encap:Ethernet  HWaddr 00:00:00:00:1C:16
>           inet addr:10.0.0.5  Bcast:10.255.255.255  Mask:255.0.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:390640 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:580141 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:26031463 (24.8 MiB)  TX bytes:638388028 (608.8 MiB)
>
> --
> Bye, Peter Korsgaard
>
>


-- 
Jon Smirl
[email protected]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.