I have been trying to get my Zaurus to connect Ethernet Over USB on my
linux box. I am currently running Red Hat 7.3 Kernel 2.4.18-3 and
applied a kernel patch to load the usbnet.c driver. When applying the
patch I got the following error messages.
HUNK Failed at 73 saved rejects to Makefile.rej contents of
Makefil.rej:
**************
*** 73,78 ****
obj-$(CONFIG_USB_HPUSBSCSI) += hpusbscsi.o
obj-$(CONFIG_USB_BLUETOOTH) += bluetooth.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
# Object files in subdirectories
mod-subdirs := serial
--- 73,79 ----
obj-$(CONFIG_USB_HPUSBSCSI) += hpusbscsi.o
obj-$(CONFIG_USB_BLUETOOTH) += bluetooth.o
obj-$(CONFIG_USB_USBNET) **************
*** 73,78 ****
obj-$(CONFIG_USB_HPUSBSCSI) += hpusbscsi.o
obj-$(CONFIG_USB_BLUETOOTH) += bluetooth.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
# Object files in subdirectories
mod-subdirs := serial
--- 73,79 ----
obj-$(CONFIG_USB_HPUSBSCSI) += hpusbscsi.o
obj-$(CONFIG_USB_BLUETOOTH) += bluetooth.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
+ obj-$(CONFIG_USB_USBDNET) += usbdnet.o
# Object files in subdirectories
mod-subdirs := serial
+= usbnet.o
+ obj-$(CONFIG_USB_USBDNET) += usbdnet.o
# Object files in subdirectories
mod-subdirs := serial
and HUNK failes at 90 rejects saved to config.rej
**************
*** 90,95 ****
dep_tristate ' USB CATC NetMate-based Ethernet device support
(EXPERIMENTAL)' CONFIG_USB_CATC $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
dep_tristate ' USB Communication Class Ethernet device support
(EXPERIMENTAL)' CONFIG_USB_CDCETHER $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
dep_tristate ' USB-to-USB Networking cable device support
(EXPERIMENTAL)' CONFIG_USB_USBNET $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
fi
comment 'USB port drivers'
--- 90,103 ----
dep_tristate ' USB CATC NetMate-based Ethernet device support
(EXPERIMENTAL)' CONFIG_USB_CATC $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
dep_tristate ' USB Communication Class Ethernet device support
(EXPERIMENTAL)' CONFIG_USB_CDCETHER $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
dep_tristate ' USB-to-USB Networking cable device support
(EXPERIMENTAL)' CONFIG_USB_USBNET $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
+ dep_tristate ' USBD Network (Encapsulated) Host-to-Host Link
(EXPERIMENTAL)' CONFIG_USB_USBDNET $CONFIG_USB $CONFIG_NET
$CONFIG_EXPERIMENTAL
+
+ if [ ! "$CONFIG_USB_USBDNET" = "n" ]; then
+ hex ' USBD Network idVendor'
CONFIG_USB_USBDNET_VENDOR "0000"
+ hex ' USBD Network idProduct'
CONFIG_USB_USBDNET_PRODUCT "0000"
+ hex ' USBD Network Class' CONFIG_USB_USBDNET_CLASS
"0000"
+ hex ' USBD Network SubClass'
CONFIG_USB_USBDNET_SUBCLASS "0000"
+ fi
fi
comment 'USB port drivers'
I then tried a make menu config, but the option for Network USBD
(Encapsulated) was not there.
I have tried placing the unit in the cradle and pressed the synch
button. The following is the result in my /var/log/messages file:
kernel: hub.c usb new device connect on bus1/2, assigned device number
4.
Kernel: hub.c: usb device 4 (vend/prod 0x4dd/0x8004) is not claimed by
any active driver.
/etc/hotplug/usb.agent: Setup acm CDCEther for USB product 4dd/8004/0
ifconfig -a only lists lo and eth0 as available. If anyone has any
suggestions it would be greatly appreciated.
Les