[wiki]EasyPalmDeviceSetup

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

[wiki]EasyPalmDeviceSetup

#1

帖子 oneleaf » 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
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

Re: EasyPalmDeviceSetup

#2

帖子 leal » 2005-10-02 8:28

EasyPalmDeviceSetup

草稿

Paml设备设置简易法

大部分其它关于如何在linux上使用Palm设备的指南都涉及HotSync按钮魔术(Need Improvement)。这份文档将说明如何使用你的Palm设备,甚至无需顾及/dev/ttyUSB1。来看看UDEV的威力吧……

指南

1.点击Applications -> System Tools -> Terminal(应用程序->系统工具->终端)打开一个终端窗口。

2.输入如下命令:(询问时输入你的密码)
* sudo gedit /etc/udev/rules.d/10-custom.rules


3.把下列行添加到空文件里:
*BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"


4.保存该文件,关闭gedit及终端窗口。

结论

就这样了。我知道的所有Palm同步应用程序都会在/dev/pilot查找设备。至少Gnome-pilot确是如此。上面这个简单修补可以让你的Palm设备即插即用。

附加信息

这篇文章的信息来自[WWW] 写UDEV规则(Writing UDEV Rules)

将来可能的TODO:

*有待观察:更新的"PalmOne“、Handspring或Treo设备是否会采用不同的product名称,若是则需要在文件中添加额外设置行。

*有待观察:ttyUSB*对于绝大部分该设备是否够用,或者我们需要使用ttyUSB[13579].


https://wiki.ubuntu.com/EasyPalmDeviceSetup
用心×恒 | 豆瓣 | 门户 | Blog
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#3

帖子 oneleaf » 2005-10-11 13:45

头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#4

帖子 millenniumdark » 2006-07-30 0:11

英文有新的了,后面加了一大段。这一段等待翻译。

其他的转到wiki上了。(校对了一遍,改了两三处)
http://wiki.ubuntu.org.cn/EasyPalmDeviceSetup
回复