[wiki]EasyPalmDeviceSetup
发表于 : 2005-10-01 12:09
EasyPalmDeviceSetup
Draft
Easy Palm Device Setup
Most other instructions on how to use Palm devices on Linux involve HotSync Button voodoo. This document will explain how to use your Palm device without having to even think about /dev/ttyUSB1. Behold the power of UDEV...
Instructions
1.
Open a terminal window by going to Applications -> System Tools -> Terminal
2.
Type the following line: (enter your password when asked)
*
sudo gedit /etc/udev/rules.d/10-custom.rules
3.
Insert the following line into the empty file:
*
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"
4.
Save the file, close gedit and close the terminal window.
Conclusion
There you go. Every Palm synchronizing application I know of looks for the device at /dev/pilot. Gnome-pilot does, for sure. This simple fix allows your Palm device to finally be plug-and-play.
Extra Information
Information for this article comes from [WWW] Writing UDEV Rules
Possible future TODO:
*
See if newer "PalmOne", Handspring, or Treo devices have different product names, requiring more lines in the file.
*
See if ttyUSB* is good enough for the majority, or if we need to use ttyUSB[13579].
https://wiki.ubuntu.com/EasyPalmDeviceSetup
Draft
Easy Palm Device Setup
Most other instructions on how to use Palm devices on Linux involve HotSync Button voodoo. This document will explain how to use your Palm device without having to even think about /dev/ttyUSB1. Behold the power of UDEV...
Instructions
1.
Open a terminal window by going to Applications -> System Tools -> Terminal
2.
Type the following line: (enter your password when asked)
*
sudo gedit /etc/udev/rules.d/10-custom.rules
3.
Insert the following line into the empty file:
*
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"
4.
Save the file, close gedit and close the terminal window.
Conclusion
There you go. Every Palm synchronizing application I know of looks for the device at /dev/pilot. Gnome-pilot does, for sure. This simple fix allows your Palm device to finally be plug-and-play.
Extra Information
Information for this article comes from [WWW] Writing UDEV Rules
Possible future TODO:
*
See if newer "PalmOne", Handspring, or Treo devices have different product names, requiring more lines in the file.
*
See if ttyUSB* is good enough for the majority, or if we need to use ttyUSB[13579].
https://wiki.ubuntu.com/EasyPalmDeviceSetup