Author Topic: Howto Load Usb Driver(s) To Get Usbd0?  (Read 40278 times)

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« on: May 18, 2006, 03:58:49 pm »
Hi all. I just loaded OZ/GPE 3.5.4 on my boxer (C860) & I can't seem to get my windows 2000 box to recognize that a usb device is attached.

This was formerly working just fine when the Z was running pdaxrom, so I know the windows side should still be ok. I don't see any usb modules when I run lsmod, so I think this might be the problem, but then again, this is with a 2.6 kernel so it might be different than what I'm used to on my old 5600 with the 2.4 kernel.

I _have_ gone into the network settings app & check the usbd0 settings & saved; they look ok to me.

thks in advance.
« Last Edit: August 09, 2006, 01:31:50 pm by grog »
GROG!

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #1 on: May 18, 2006, 04:37:05 pm »
g_ether on Z will give usb0

windows need linux.inf from Linux 2.6 source
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #2 on: May 18, 2006, 05:39:33 pm »
Quote
g_ether on Z will give usb0
I managed to insmod that ok, now windows reconizes a 'RNDIS Ethernet gadget'. the module will stay loaded through reboots now, correct?

Quote
windows need linux.inf from Linux 2.6 source[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
This is where I'm stumped. I found losts of references through [a href=\"http://www.google.ca/search?hl=en&q=linux.inf+2.6+kernel+source&meta=]google[/url] (here & here, for example), but none worked; they all asked me to specify the 'usb8023k.sys', which I don't have. Where would you recommend I get the proper linux.inf?
GROG!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #3 on: May 19, 2006, 05:37:11 am »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #4 on: May 19, 2006, 11:00:19 am »
Quote
I posted it on the forum:

https://www.oesf.org/forums/index.php?showt...169&#entry73169[div align=\"right\"][a href=\"index.php?act=findpost&pid=127712\"][{POST_SNAPBACK}][/a][/div]
nope, even that one doesn't work. Windows still can't find the usb8023k.sys driver file. I know it's supposed to be in system32/drivers, but nada. These must be XP specific; any idea how to get this to work under 2000?
GROG!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #5 on: May 19, 2006, 12:37:54 pm »
Try something like this: http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx

I'm guessing that this will have these drivers in it.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #6 on: May 19, 2006, 01:03:25 pm »
Quote
Try something like this: http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx[div align=\"right\"][a href=\"index.php?act=findpost&pid=127778\"][{POST_SNAPBACK}][/a][/div]
Close, but no cigar. This package contains usb8023y.sys & rndismpy.sys, but the linux.inf specifies usb8023k.sys & rndismpk.sys. I tried editing the inf & specifying the 'y' files, it loaded ok & the usb device shows up on the taskbar, but there's no connection to be had.
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #7 on: May 23, 2006, 06:40:41 pm »
Quote
Quote
Try something like this: http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Close, but no cigar. This package contains usb8023y.sys & rndismpy.sys, but the linux.inf specifies usb8023k.sys & rndismpk.sys. I tried editing the inf & specifying the 'y' files, it loaded ok & the usb device shows up on the taskbar, but there's no connection to be had.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127782\"][{POST_SNAPBACK}][/a][/div]
I figured I hadn't had enough frustration, so I'd take another stab at this. I downloaded & extracted what I hoped to be the two proper files from [a href=\"http://www.multimedia.pl/object.php/act/sho/oid/db377597c1def1bf1b788811bf2531c3]this motorola driver package[/url]. Wouldn't you know it, now windows won't forget the 'y' files that it almost 'properly' installed, now I can't get the installer to even look at these ones!!

AAARRGGHH!! I love windows.

I tried uninstalling them, deleting them from the drivers folder, deleting all references to them from the registry. Windows has it in for me, I know it.

The more I work on computers, the more I love my dog.
GROG!

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #8 on: May 24, 2006, 01:18:22 am »
Quote
Quote
Try something like this: http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx[div align=\"right\"][a href=\"index.php?act=findpost&pid=127778\"][{POST_SNAPBACK}][/a][/div]
Close, but no cigar. This package contains usb8023y.sys & rndismpy.sys, but the linux.inf specifies usb8023k.sys & rndismpk.sys. I tried editing the inf & specifying the 'y' files, it loaded ok & the usb device shows up on the taskbar, but there's no connection to be had.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127782\"][{POST_SNAPBACK}][/a][/div]

I had a similar problem; for some reason my Z doesn't like to be  connected to the front panel usb connectors, it agrees to work only with the connectors on the back side (those connected directly to the mother board). If you're connected to the front panel that might do the trick.

Good luck,
YoG.
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #9 on: May 24, 2006, 01:34:26 pm »
Quote
I figured I hadn't had enough frustration, so I'd take another stab at this. I downloaded & extracted what I hoped to be the two proper files from this motorola driver package. Wouldn't you know it, now windows won't forget the 'y' files that it almost 'properly' installed, now I can't get the installer to even look at these ones!!

I tried uninstalling them, deleting them from the drivers folder, deleting all references to them from the registry. Windows has it in for me, I know it.[div align=\"right\"][a href=\"index.php?act=findpost&pid=128247\"][{POST_SNAPBACK}][/a][/div]
IT'S ACTUALLY WORKING

Well, almost . I managed to find the reference to the 'y' files in the WINNT/inf/oem17.inf & changed them to the proper 'k's. The next time I plugged the Z in it asked for the 'k's so I pointed the installer to the ones from the motorola package & PING! The pc now has not only the proper usb connection indication, but also a network icon. kewl.

But no cheering yet . I change the network settings to the standard static ip (192.168.129.201), 'doze has to reboot (as always. Now I can ping the address but can't login via putty. So this must be the Z's fault. ifconfig shows no usbd0 as I'm used to in OZ (this is with 3.5.4.1.rc4, both e-image-core & gpe-image). So I try a 'ifup usbd0' & I get several 'no such device' errors. I try usb0 (no 'd'), & while the interface comes up fine, it's with a different address. So I change the /etc/network/interfaces ip's for usb0 to match that of usbd0 & while it comes up with the proper address (& I can still ping it), it doesn't allow a ssh connection. Still must be an OZ thing (the root password is set), so can anyone make any suggestions on what I should do?

thks
« Last Edit: August 09, 2006, 04:44:46 pm by grog »
GROG!

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #10 on: May 24, 2006, 02:42:13 pm »
Quote
Quote
I figured I hadn't had enough frustration, so I'd take another stab at this. I downloaded & extracted what I hoped to be the two proper files from this motorola driver package. Wouldn't you know it, now windows won't forget the 'y' files that it almost 'properly' installed, now I can't get the installer to even look at these ones!!

I tried uninstalling them, deleting them from the drivers folder, deleting all references to them from the registry. Windows has it in for me, I know it.[div align=\"right\"][a href=\"index.php?act=findpost&pid=128247\"][{POST_SNAPBACK}][/a][/div]
IT'S ACTUALLY WORKING

Well, almost . I managed to find the reference to the 'y' files in the WINNT/inf & changed them to the proper 'k's. The next time I plugged the Z in it asked for the 'k's so I pointed the installer to the ones from the motorola package & PING! The pc now has not only the proper usb connection indication, but also a network icon. kewl.

But no cheering yet . I change the network settings to the standard static ip (192.168.129.201), 'doze has to reboot (as always. Now I can ping the address but can't login via putty. So this must be the Z's fault. ifconfig shows no usbd0 as I'm used to in OZ (this is with 3.5.4.1.rc4, both e-image-core & gpe-image). So I try a 'ifup usbd0' & I get several 'no such device' errors. I try usb0 (no 'd'), & while the interface comes up fine, it's with a different address. So I change the /etc/network/interfaces ip's for usb0 to match that of usbd0 & while it comes up with the proper address (& I can still ping it), it doesn't allow a ssh connection. Still must be an OZ thing (the root password is set), so can anyone make any suggestions on what I should do?

thks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128318\"][{POST_SNAPBACK}][/a][/div]


usbd0 is the kernel 2.4 interface, usb0 the 2.6 one.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ant

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #11 on: May 24, 2006, 03:22:56 pm »
This happy end needs definetely to be put in the wiki...

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #12 on: May 24, 2006, 04:05:38 pm »
Quote
This happy end needs definetely to be put in the wiki...[div align=\"right\"][a href=\"index.php?act=findpost&pid=128329\"][{POST_SNAPBACK}][/a][/div]
I'll be more than willing to do that once there _is_ a final solution .

To recap, I now have my gadget module loaded on the Z & 'ifup usb0' gives me an address of 192.168.0.202. The pc seems to have the driver loaded properly & gives me a network icon, in which I've set the static ip info. This all allows me to ping the Z's address successfully, but not to ssh in. The root password on the Z is set, which up 'til now was the only other thing needed to allow a ssh connection.

So, under 3.5.4.1.rc4, anybody have any ideas as to what have I missed to make this work? thks
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #13 on: May 24, 2006, 10:41:36 pm »
UPDATE: so I tried on my XP box. Pointing it to the linux.inf worked right away, I got a network connection icon, set it to the same ip, and I can actually get putty to get to a login prompt.

BUT that's where it stops. I try to login as either root or the local user (as set up when I flashed gpe), but all I get is access denied. This is after I connected the Z to my lan via my cf nic & was able to login just fine. SO I can only conclude that this definitely has to be a software issue on the Z's side. As far as this thread is concerned I guess I have been successful in installing the driver onto both XP & 2000.

Now all I have to do is to get the new OZ images working. I'll post this on the wiki as soon as I can. Thanks for the help.
GROG!

ant

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Howto Load Usb Driver(s) To Get Usbd0?
« Reply #14 on: May 25, 2006, 03:28:27 am »
Interestingly I did ipkg update / ipkg upgrade and this upgraded only one file: i think it was "libusb".

Did you upgrade too?

Ant