Docs/Hardware/PDA

From Mandriva Community Wiki

Revision as of 12:46, 11 August 2011 by Cristian Gherman (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Contents

Working Devices

Palm OS

  • Palm III: Uses serial cable/cradle. You ether need to specify the port it is connected to, or create a /dev/pilot symlink for it.
    Tested on 9.2, 10.1, and LE2005.
  • Palm m100: Uses serial cable/cradle. You ether need to specify the port it is connected to, or create a /dev/pilot symlink for it.
    Tested on 9.2, 10.1, and LE2005.
  • Palm m125: Uses the same cradle as the m130. Works great. Hotplug creates /dev/pilot when you hit the sync button on the cradle. It also works fine with a serial sync cable. (I think any palm with a serial cable will work.)
    Tested on 9.2, 10.1, LE2005, and 2006.
  • Palm m130: USB Hotsync works perfectly with 9.2-10.1 using Kpilot. Integrates with Kontact PIM Suite since 10.0. Cradle uses /dev/TTYusb0 to communicate with PC.
  • Tapwave Zodiac 1&2: USB Hotsync works perfectly with Mandriva One 2008 Spring using J-Pilot 0.99.9. Sync Cable uses usb:to communicate with PC.

Windows CE

  • Itronix T5200: Works with synce on both serial and network connections.
    Tested on 10.1 and LE2005.


Serial Port (/dev/ttyUSBX or usb:)

In more recent versions of Mandriva (eg 2008 Spring), the standard way to access a (USB) palm device is via libusb. For example, in J-Pilot, just set the "Serial Port" to be usb: (note the colon). That is ALL you need to do. (The visor module is blacklisted, in /etc/modprobe.d/visor, so /dev/ttyUSB1 does not exist).


To use /dev/ttyUSB (eg in an earlier Mandriva version, or if libusb doesn't work, as sometimes in 2007.0), do:

  • Unblacklist the visor module. Edit /etc/modprobe.d/visor, and comment out "blacklist visor". Then, modprobe visor
  • Create a udev rule, in /etc/udev/rules.d/10-local.rules (and then run udevtrigger):
DRIVERS=="usb", ATTRS{product}=="Palm Handheld*", KERNEL=="ttyUSB*", SYMLINK+=pilot
  • Set J-Pilot to use the port /dev/pilot. (This will only come into existence when you press the HotSync button)

Applications

Palm OS devices

  • J-Pilot: http://jpilot.org Included in Mandriva as a stand-alone desktop application. It is a clone of the Palm desktop software.
  • KPilot: http://www.kpilot.org Included in Mandriva Linux 10.0 and 10.1 as part of the KDE-Kontact Suite.
  • Pilot-Link: http://www.pilot-link.org Libraries and command line tools for talking to PDAs. It is used by kpilot, j-pilot, etc.


WindowsCE devices

Network Syncing a Palm PDA

One thing I have not seen covered in the HOWTOs is how to sync a Palm over the network. This can be done under Linux using the pilot-link package.


Palm connected to another computer

To sync a palm connected to another computer, you need to run pi-csd on your system. You can then use your favorite software, changing the port from /dev/pilot to net:any. You start pi-csd using the format:

pi-csd -H "<hostname>" -a <IP address> -n <netmask>

Example:

pi-csd -H "thinkpad" -a 192.168.1.27 -n 255.255.255.0

The hostname has to match what is set up in the Palm Primary PC Setup. If the name doesn't match, the connection will not be accepted. After starting the sync on your computer, hit the hotsync button on the cradle or cable to start the sync. You can also use the Sync icon on the palm. The timing is not critical with packages that use the pilot-link libraries to talk to the palm, as the utilities will wait for the network connection. Much more forgiving then doing a local USB sync. This will also work for syncing from the Palm emulator to the local machine.


Palm connected to local computer

To sync a Palm connected to your computer to another computer over the network, you can use pi-nredir to forward a local connection to another computer. It will allow you to sync to Windows machines, as well as Linux machines running pi-csd. It will even allow you to connect back to your local machine running pi-csd or Windows under VM-Ware. You start pi-nredir using the format:

pi-nredir [-p <port>]

The port is optional and defaults the setting of $PILOTPORT if set, or to /dev/pilot. If you are using a USB connected Palm, you need to hit the hotsync button first. Other then specifying the port, you do not need to tell pi-nredir anything, as it gets information on the machine to connect to from the Palm itself.

See also

Personal tools
In other languages