"Kjell M. Myksvoll" wrote:
> 
> Hello!
G'day Kjell.
 
> I've just tried the usb backport patch, as found at
> http://www.suse.cz/development/usb-backport/, against the 2.2.15
> kernel, just to see if I could make it work against my SMC EZ Connect
> USB 2102USB/ETH ethernet converter.
This device is 10 BaseT only right? Not 10/100? 
[snip]
> From the information given at http://www.linux-usb.org/ I suspected that
> the modules usbcore.o usb-uhci.o pegasus.o where the one that was most
> likely to make the ethernet converter work.
a good try, but I don't think this device is based on the AMDtek pegasus
chipset. It is probably based on the KLSI chip, which needs a different
driver.
 
>  T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
>  B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
>  D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>  P:  Vendor=0000 ProdID=0000 Rev= 0.00
>  S:  Product=USB UHCI Root Hub
>  S:  SerialNumber=9000
>  C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
>  I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>  E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
>  T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
>  D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>  P:  Vendor=0707 ProdID=0100 Rev= 0.02
>  S:  Manufacturer=SMC, Inc.
>  S:  Product=EZ Connect USB/Ethernet Converter
>  S:  SerialNumber=00800F8E36F6
>  C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=110mA
>  I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
>  E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
>  E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
>  E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=  1ms
The vendor / product ID matches an entry in
http://www.linux-usb.org/usb.ids that is for a KLSI based device.

> As the above shows, the usb subsystem seems to be able to make contact
> with the converter, but in spite of that it does not shows up as a
> network device (absent both from the "ifconfig -a" and "cat
> /proc/net/dev" listings).
The entry in /proc/bus/usb/devices means that the standard requests to
get device information worked. A mouse would also have given you an
entry in /proc/bus/usb/devices, albeit with different information and
different endpoints, and you would get the same answer without the
pegasus module, since the pegasus module is not the right driver for
your hardware.

> The "insmod" of the usb modules does not creates any new "devices"
> under /dev either (note, controlled by devfs). I'm not sure if that
> should happen?
No, it creates an eth0 device when the device driver succeeds.

> Also if I try to remove the modules with rmmod I get the following
> messages in /var/log/messages:
> 
>  ... : de_put: deferred delete of usb
>  ... : usb.c: USB disconnect on device 1
>  ... : usb.c: USB disconnect on device 2
>  ... : usb.c: USB bus 1 deregistered
>  ... : kmem_shrink: Invalid cache addr cbfefb60
>  ... : kmem_destroy: Can't free all objects cbfefb60
>  ... : usb-uhci.c: uhci_desc_kmem remained
>  ... : kmem_shrink: Invalid cache addr cbfefbc0
>  ... : kmem_destroy: Can't free all objects cbfefbc0
>  ... : usb-uhci.c: urb_priv_kmem remained
>  ... : usb.c: deregistering driver pegasus
>  ... : usb.c: deregistering driver usbdevfs
>  ... : hub.c: usb_hub_thread exiting
>  ... : usb.c: deregistering driver hub
Bug introduced by slab poisoning? There were some patches that Georg 
Acher has released that should fix this.

> Has anyone any ideas to what I might try in order to make the
> converter work or to find out more about where the problem are? The
See above
> (brief) documentation that I've found regarding the pegasus module
> does not lists the above converter, but it lists a similar one.
Yes, the 2202 10/100 converter works with pegasus.o

> Perhaps all that is needed is some small changes to the pegaus code
> in order to make it detect the converter?
Small changes will not do. The KLSI device needs downloaded firmware.

However there is some code you could try that works for some people:
http://drivers.rd.ilan.net/kaweth/kaweth-0.2.tar.gz

You need to hack in your vendor and product ID.

more information on 
http://drivers.rd.ilan.net/kaweth/


> I'm totally new to the usb subsystem so any comments around this would
> be most helpful.
Buy a mouse or a keyboard, use the USB Guide
(http://linuxusbguide.sourceforge.net) and get some confidence that the
rest of the system works. Then try the ethernet.


Hope this helps

Brad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to