usbnet problems, usb0 not there

Douglas Phillipson dougp at intermind.net
Sun Feb 22 01:26:00 UTC 2004


Im trying to get usb networking up between Redhat 9.0 (2.4.20-8) and a 
ipaq running familiar Linux.

I believe the ipaq USB works fine but the RH9 box won't attact a usb0 
device to it when a connection is made.  Here is the skinny:

Running Familiar 0.72 on a iPAQ H3950, Redhat 9.0 trying to do IP over 
USB.  I think the IPAQ is working OK.  ifconfig -a shows:

usbf      Link encap:Ethernet  HWaddr 5A:C8:D1:4C:A1:D1
           inet addr:192.168.0.202  Mask:255.255.255.0
           inet6 addr: fe80::58c8:d1ff:fe4c:a1d1/10 Scope:Link
           UP RUNNING  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

When I plug in the usb cable, messages on RH9 shows:

Feb 21 20:31:06 red5 kernel: hub.c: new USB device 00:10.1-1, assigned 
address 12
Feb 21 20:31:06 red5 kernel: usb.c: USB device 12 (vend/prod 
0x49f/0x505a) is not claimed by any active driver.
Feb 21 20:31:09 red5 /etc/hotplug/usb.agent: ... no modules for USB 
product 49f/505a/200


The ipaq USB networking works when I plug into windows but not Linux.

Using Redhat 2.4.20-8 kernel, lsmod shows:

[root at red5 root]# lsmod | grep usb
usbnet                 15710   0  (unused)
usb-uhci               25868   0  (unused)
usbcore                77696   1  [usbnet hid usb-uhci ehci-hcd]

I've read and tried all the suggestions I can find on this including:

Anyway its an easy fix ... simply add the definition

#define CONFIG_USB_PXA

... and recompile the usbnet.c module.


I can't figure out how to recompile this usbnet.c module.  How is this 
done?  When I make this mod to usbnet.c and recompile my kernel the 
module never compiles and the "sum" on the usbnet.o file never changes. 
  I also don't have a usb0 device on the Redhat box, how do you get that?

Sorry for the newbie questions...

Thanks

Doug P





More information about the redhat-list mailing list