Howdy:

I'm trying to get the Zaurus USB cradle to talk to my Linux desktop (the
desktop runs redhat 7.2, kernel 2.4.7-10, while the Zaurus runs kernel
2.4.6).  I've never used any usb stuff before, so I've only got a few
hours of reading/trying things under my belt.  Based on what I've read
so far, it seems like it ought to work (but I could be wrong).  I've
verified that all the modules seem to be loaded on the desktop, and the
Zaurus has the interface up and running, at least ifconfig shows both
the loopback and usbd0 devices up and running, the latter with an IP of
192.168.1.201.  Let me know if I'm going off track...

On the desktop side, I tried following the iPAQ networking howto, and I
can load the usbnet module:

[root@rama root]# lsmod
Module                  Size  Used by
CDCEther                8512   0  (unused)
acm                     5376   0  (unused)
usbnet                  6960   0  (unused)
emu10k1                47680   0  (autoclean)
soundcore               4176   4  (autoclean) [emu10k1]
binfmt_misc             6224   1 
autofs                 10784   0  (autoclean) (unused)
tulip                  39136   1 
floppy                 47088   0  (autoclean)
usb-uhci               21488   0  (unused)
usbcore                51008   1  [CDCEther acm usbnet usb-uhci]
ext3                   63184   2 
jbd                    40096   2  [ext3]
BusLogic               88416   4 
sd_mod                 11392   4 
scsi_mod               93072   2  [BusLogic sd_mod]

Both the CDCEther and acm modules appear to load automatically when I
plug the Zaurus into the cradle.  I tried loading the usbnet module both
before and after plugging in the Zaurus, with no luck.  When it's
plugged in, I get the following in my usb devices:

[root@rama root]# more /proc/bus/usb/devices
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=e000
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=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  2
P:  Vendor=04dd ProdID=8004 Rev= 0.00
S:  Manufacturer=Sharp
S:  Product=SL Series
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
C:  #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms

I have lots of devices under /dev/usb, but no usb0 or other numbered
devices.  All the references I've seen (including the iPAQ doc) say to
use something like this to fire up the interface:

ifconfig usb0 192.168.1.200 netmask 255.255.255.0 up

After loading the usbnet module and plugging in the unit.  However, I'm
stuck like an idiot because I can't find any reference to a usb0 device
on my system.  I tried putting an alias in modules.conf pointing to the
only things I could think of, first CDCEther, then usbnet, but no joy. 
I always get these results:

[root@rama root]# ifconfig usb0 192.168.1.200 netmask 255.255.255.0
SIOCSIFADDR: No such device
usb0: unknown interface: No such device
SIOCSIFNETMASK: No such device

Is it as simple as creating a usb0 device?  I looked, but I couldn't
find any reference to a major/minor number for that.  Do I link it
against a different device?  Am I completely insane?  What is the
velocity of an un-laden swallow?

Any tips, pointers, flames would be better than what I've had so far -
TIA, Steve

*******************************************************
Steve Arnold                http://arnolds.dhs.org:8080
Visit Steve's Geeky Zope thing today!




_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to