Setting up USB link between PC and iPAQ running LinuxSummary The brief story is that you connect to the iPAQ through usbnet, which is ethernet through usb. The module is already part of Sigillo's kernel and is called usbnet; just add it to /etc/modules or possibly to /etc/modutils/ethernet. Note that there is now an ipkg package for usbnet on the iPAQ, which should make the connection far easier to establish than the following instructions suggest. See also these very detailed but also dated instructions, still potentially useful -- this is part of an official-looking Linux iPAQ HOWTO. It's possible that the new KitchenSync uses a straight USB connection -- you can ask on one of the mailing lists. The information in this file may be outdated; I pulled it off a Google cache. InstructionsThis document applies not only to iPAQ,
but also to any SA11x0 based device, proveded that it have USB client
port. This document applies only to kernels 2.4.2 and later. (here is old version) iPAQ sideFirst you need to have USB client and ethernet-over-usb drivers to be either compiled into your kernel, or available as kernel modules. Module names are sa1100_usb.o and usb-eth.o.Compilation instructions. Load module by issuing modprobe usb-eth command. New network interface with name usbf should appear (can be checked with ifconfig -a command). Now you should be able to configure it as usual with ifconfig command. Once module is inserted, you can plug your ipaq into USB craddle (or USB craddle into USB bus). (Note: Do not try to first insert iPAQ to USB craddle and then load modules, that will fail, as host tries to assign address to iPAQ on it's appearance on USB bus. Also, if you reboot your iPAQ, you need to unplug and replug it to USB bus, once reboot is complete and necessary modules are loaded.) PC sideYou need to have supported USB Hub in your PC,
and have kernel module for it installed. After that you should obtain
kernel module named "usbnet". Since 2.4.10 it is available
in Linus' linux kernel. Example configurationHere is my own configuration for both sides, as I use it.
Mystery
USB-client driver compilationFirst of all you need 2 things:
Now cd to directory with arm sources, issue command make menuconfig, include support for SA1100 USB function support and Support for SA11x0 USB network link function, compile kernel and modules (make zImage modules), transfer them into your iPAQ, and you are done. Troubleshooting
This document was brought to you by Oleg Drokin. If you have any questions, feel free to mail me. If you have
a technical question please provide as much information as possible. Provide
the kernel versions (both desktop and ipaq) and where you got usbnet.c
at a minimum.
|
|
|
|
|||||
Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles |