Jonathan Pennington wrote:
> USB networking is not working for me. I think it's a hotplug issue.
> Hotplug was loading the ipaq module, so I disabled that.
I don't think that's neccessary, I have those modules loaded:
linux mheyse # lsmod
bridge 45312 0
usbnet 24584 0
mii 5120 1 usbnet
ipaq 10904 0
usbserial 23460 1 ipaq
sd_mod 18816 0
usb_storage 38272 0
usbhid 24064 0
ehci_hcd 27012 0
uhci_hcd 29712 0
usbcore 99936 9
usbnet,ipaq,usbserial,usb_storage,usbhid,ehci_hcd,uhci_hcd
Looks like ipaq and usbnet can be loaded simultaneously without problems.
> Does someone have the
> code to add to usb.handmap or similiar that will cause the usbnet driver
> to load when the ipaq is plugged into the serial port?
You surely mean USB port? My distro (gentoo) does this automatically,
with these entires in usb.distmap:
usbnet 0x0003 0x0547 0x2720 0x0000 0x0000
0x00 0x00 0x00 0x00
0x00 0x00 0x00002a08
usbnet 0x0003 0x0525 0x1080 0x0000 0x0000
0x00 0x00 0x00 0x00
0x00 0x00 0x00002cf0
usbnet 0x0003 0x067b 0x0000 0x0000 0x0000
0x00 0x00 0x00 0x00
0x00 0x00 0x00002d70
usbnet 0x0003 0x067b 0x0001 0x0000 0x0000
0x00 0x00 0x00 0x00
0x00 0x00 0x00002d70
> I think that may
> help.
I don't think so. It should also work if you manually modprobe usbnet.
> If it doesn't, then I'm stuck without a usb0 interface and no
> knowledge of how to fix my usb networking. I've got just about
> everything in the usb section of my kernel (2.6.5) built as a module or
> better. Can someone with working usb networking tell me how they did it?
What kernel are you running on your ipaq? Do you have any messages
related to pxa2xx_udc in your log (IRQ lock)? I had similar problems,
too. No usb0 interface at all. Solution was re-compiling my ipaq kernel
(newest CVS version) with gcc 3.4.1 (some makefile adjustments needed,
see
http://www.handhelds.org/hypermail/kernel-discuss/current/0073.html).
You don't need "USB support", just "support for usb gadgets" and the
"ethernet gadget" driver WITHOUT "RNDIS support".
Then there's a different problem once you have usb0 up on your desktop:
USB networking doesn't really work until I ping my ipaq's interface.
About 20 or so packets are lost, then I get a "spurious interrupt 5" un
my ipaq and USB networking suddenly starts working. very strange.
Greetings,
Michael
Received on Tue Aug 3 05:41:09 2004
This archive was generated by hypermail 2.1.8 : Tue Aug 03 2004 - 05:41:28 EDT