NW   NE
 

Sharp Zaurus Developer Information

Corrections and Comments: Spencer Huang
 
SW   SE
NW   NE
 
Howtos

Upgrading The ROM

Connectivity
Wireless 802.11b

Linux Connectivity
Generic (USB)
Debian (USB)
Red Hat (USB)
Suse (USB)
Mandrake (USB)
Generic (PPP USB)
Generic (PPP Serial)

Windows Connectivity
Win2K (Serial)
Win98se (Serial)
WinMe Over (Serial)
WinNTSP6 (Serial)
WinXP Over (Serial)

Developing
Compiler Setup
Compiling the Kernel
Special Considerations
Checklist
System Layout
Application Help Files
IPKG Howto
Buzzer Howto
Led Howto
IrDa Howto
Audio Howto
Fullscreen Howto
Resume Event
Keys
Turning off the screen

Syncing
Linux
Win2K
Wireless

Other
Wireless Comparison
The Z Boot Process
Ipv6 Setup
Servers Setup
SD And CF FAQ
Setting Up A Feed
Converting TTF fonts
Building a ROM
MPEG Encoding

Downloads
ZaurusZone Feed
Links
 
SW   SE
NW   NE
  6) If you're using Mandrake by David Cafaro

No patch is needed at all. The usbdnet driver is already installed.
The only thing needed to do from the default mandrake install was change two value in the modules.usbmap and add the /etc/sysconfig/network-scripts/ifcfg-usb0 file.

The ifcfg-usb0 file should contain the following:

BOOTPROTO=static
BROADCAST=192.168.129.255
IPADDR=192.168.129.1
NETMASK=255.255.255.0
NETWORK=192.168.129.0
DEVICE=usb0
In the /lib/modules/`uname -r`/modules.usbmap file one line needs to be changed. Look for a line that starts with the following:
usbdnet              0x0193      0x40dd   0x8004    0x0000
or
usbdnet              0x0193      0x04dd   0x8004    0x0000

and change one of them to this:

usbdnet              0x0003      0x04dd   0x8004    0x0000

Note that you need to put an entry in the /etc/hotplug/usb.handmap file and it will be reflected in the /lib/modules/`uname -r`/modules.usbmap file upon the rebuilding of the file.
Only one line in the file needs to be changed as far as I can tell (the other usbdnet lines are for different hardware, maybe?). I did find that after two days my modules.usbmap file reverted back to it's original version. I had to just change the one line again to get things working once more. I don't know if that is just something flaky with my system, or something more. Any ideas are welcome. Enjoy.

Followup:

I searched a little on the web and found the reason! /lib/modules/.../modules.usbmap file is created by "depmod -a" (on 2.4 kernels). The correct way to add a device is to use the /etc/hotplug/usb.handmap file and add a line there: (dont forget the linefeed if its the last line in the file) usbdnet 0x0003 0x04dd 0x8004 0x0000 0x0000 0x02 0x00 0x00 0xff 0x01 0x00 0x00000000

 
SW   SE

    This page was last updated: Wednesday, 09-Apr-2003 04:57:24 PDT