Author Topic: Usb Ethernet  (Read 4649 times)

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Usb Ethernet
« on: April 17, 2006, 05:19:36 pm »
OZ 3.5.4.1 Alpha2 / C1000

1.  I just bought a USB Lan adapter (Linksys) for a wired ethernet connection, and the appropriate cables for my C1000 - the mini A to make Zaurus a host.  When I plug anything into the USB adapter, nothing happens.  No power goes to the USB device, and the Z does nothing.  Nothing shows up in dmesg either.  Could it be that I don't have the appropriate modules loaded?  Also, 'lsusb' isn't recognized as a command.

2.  Can I expect USB/ethernet to work without much tweaking?
Sharp Zaurus SL-C1000
pdaXrom beta3

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Ethernet
« Reply #1 on: April 17, 2006, 05:27:30 pm »
Quote
OZ 3.5.4.1 Alpha2 / C1000

1.  I just bought a USB Lan adapter (Linksys) for a wired ethernet connection, and the appropriate cables for my C1000 - the mini A to make Zaurus a host.  When I plug anything into the USB adapter, nothing happens.  No power goes to the USB device, and the Z does nothing.  Nothing shows up in dmesg either.  Could it be that I don't have the appropriate modules loaded?  Also, 'lsusb' isn't recognized as a command.

Correct, most probably the usb "host" module is not loaded. I haven't had a chance to play with host mode recently tho.

Quote
2.  Can I expect USB/ethernet to work without much tweaking?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123546\"][{POST_SNAPBACK}][/a][/div]

It shouldn't be a problem as long as there is a Linux driver for your adapter.
Webmaster of hentges.net & Embedded Linux Developer.

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Usb Ethernet
« Reply #2 on: April 17, 2006, 05:43:01 pm »
Any idea which module is the USB Host module?  If it were installed, wouldn't it have been auto-loaded?  Is it usbnet?
Sharp Zaurus SL-C1000
pdaXrom beta3

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Usb Ethernet
« Reply #3 on: April 17, 2006, 10:46:25 pm »
should be ohci_hcd or usbcore
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Usb Ethernet
« Reply #4 on: April 18, 2006, 01:01:24 am »
ok, I'm going nuts here.  I've installed all kernel modules, and plugged in 4 different usb devices (network, storage, mouse, etc).  Nothing happens, and lsusb shows nothing.  Any hint to get me past this roadblock would be greaatly appreciated.
Sharp Zaurus SL-C1000
pdaXrom beta3

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Ethernet
« Reply #5 on: April 18, 2006, 02:33:36 am »
Quote
ok, I'm going nuts here.  I've installed all kernel modules, and plugged in 4 different usb devices (network, storage, mouse, etc).  Nothing happens, and lsusb shows nothing.  Any hint to get me past this roadblock would be greaatly appreciated.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123589\"][{POST_SNAPBACK}][/a][/div]

Hmm it looks like udev in .1-alpha is bugged. It doesn't detect USB events so autoloading / configuration doesn't work.
Webmaster of hentges.net & Embedded Linux Developer.

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Usb Ethernet
« Reply #6 on: April 18, 2006, 11:28:43 am »
Is this a known bug, or does it need to be added?
Sharp Zaurus SL-C1000
pdaXrom beta3

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Ethernet
« Reply #7 on: April 18, 2006, 01:31:18 pm »
Quote
Is this a known bug, or does it need to be added?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123651\"][{POST_SNAPBACK}][/a][/div]

You can ignore my last comment, only usb "client" detection doesn't work w/ udev. USB host events work just fine.
Webmaster of hentges.net & Embedded Linux Developer.

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Usb Ethernet
« Reply #8 on: April 18, 2006, 05:49:40 pm »
Update...  I am furher, but could still use help.  USB storage cards work fine, but my Lan adapter is still flaky.  It lights up, but no network interface shows up for it.  Details follow...

lsusb:
Bus 001 Device 006: ID 077b:2226 Linksys USB200M 100baseTX Adapter

dmesg:
usb 1-2: new full speed USB device using pxa27x-ohci and address 37
usb 1-2: configuration #1 chosen from 1 choice
asix: probe of 1-2:1.0 failed with error -110
usb 1-2: USB disconnect, address 37


p.s. If asix isn't the correct driver, could you be specific about how to change that?  I've dug through my 'module' type files and really don't know what does what.
« Last Edit: April 18, 2006, 05:51:35 pm by dolcex »
Sharp Zaurus SL-C1000
pdaXrom beta3

kellyharding

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.geekgothgrrl.co.uk
Usb Ethernet
« Reply #9 on: April 18, 2006, 10:20:28 pm »
I'm sure I read somewhere that there are two types of mini USB cable, type A and type B. I think type A is for client, and type B for host mode? or something like that, might be worth investigating.


EDIT: info url knew I'd seen it somewhere.

Kelly
« Last Edit: April 18, 2006, 10:25:00 pm by kellyharding »
SL-C860: cacko 1.23(currently pdaxii3 to test)
1Gb SD, 2Gb CF, various 512Mb SD and CF cards, Socket LP wifi, Socket Rev F Bluetooth. 2Gb SD and 4Gb CF on order.
--------------------------------------------------------------------------
PC: Athlon64 3000+ with XP/SimplyMepis
Mac: G4 Quicksilver 733 with OS X.4.9
Laptop: iBook G4 (2005) 1.42Ghz, OS X 4.9
Server: Dual PIII/500 with Debian 'etch'

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Usb Ethernet
« Reply #10 on: April 19, 2006, 05:19:54 am »
all the diffrent ether drivers are in /lib/modules/2.6.*/kernel/drivers/usb/net

just modprobe one of them, the most comman are pegusus and rtl8150
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb Ethernet
« Reply #11 on: April 19, 2006, 01:18:51 pm »
Quote
all the diffrent ether drivers are in /lib/modules/2.6.*/kernel/drivers/usb/net

just modprobe one of them, the most comman are pegusus and rtl8150
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123745\"][{POST_SNAPBACK}][/a][/div]
I noticed that there is a modprobe and a modprobe.26
is there a right/worng one to use?

My dmesg says this:
usb 1-2: new full speed USB device using pxa27x-ohci and address 6
usb 1-2: configuration #1 chosen from 1 choice

when I do this:
Code: [Select]
root@akita:/# modprobe pegasusI get this:
Code: [Select]
FATAL: Module pegasus not found.
...even though there is a pegasus.ko in the directory you listed above.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Usb Ethernet
« Reply #12 on: April 19, 2006, 09:57:12 pm »
might need to do a depmod -a to update the list of modules and with all linux kernel thingies you will need to do it as root

for the modprobe, if it aint broke dont fix it

your dmesg log indigates that somthing is indeed being recignised and apprently loaded, can you do an lsmod and post it here, you might want to check for ethernet devices with an ifconfig -a and see if you do indeed have an interface
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Lurker

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Usb Ethernet
« Reply #13 on: June 22, 2006, 03:42:58 pm »
Quote
Update...  I am furher, but could still use help.  USB storage cards work fine, but my Lan adapter is still flaky.  It lights up, but no network interface shows up for it.  Details follow...

lsusb:
Bus 001 Device 006: ID 077b:2226 Linksys USB200M 100baseTX Adapter

dmesg:
usb 1-2: new full speed USB device using pxa27x-ohci and address 37
usb 1-2: configuration #1 chosen from 1 choice
asix: probe of 1-2:1.0 failed with error -110
usb 1-2: USB disconnect, address 37


p.s. If asix isn't the correct driver, could you be specific about how to change that?  I've dug through my 'module' type files and really don't know what does what.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123693\"][{POST_SNAPBACK}][/a][/div]


I had the exact same issues with the Linksys USB200M. Connected directly to the Zaurus USB port, the lights on the adapter would flicker lightly. Dmesg would keep looping the output shown above, incrementing the USB address each iteration. I finally decided to try with a powered hub, and the ethernet adapter now works perfectly with ifup <interface>; verify interface used with ifconfig -a . When power to the USB hub is pulled, the USB200M goes down.
Now I have even more motivation to overcome my fears and mod my Z's amperage output    
Zaurus SL-C3000
Zonet 802.11g USB (ZEW2501) --> Zydas ZD1211
IOGear Bluetooth USB (GBU211) --> Broadcom BCM2035
OpenZaurus 3.5.4.1 / GPE 2.7