Fedora Core 3 and Palm devices using USB
The common problem with Palm devices using USB connection under Linux are access rights to ttyUSB0 and ttyUSB1 devices. Only root user have permissions to these files. Setting permissions to read/write for group and others is, maybe not very elegant and secure, but fast and easy solution.
Fedora Core 3 uses a new method of device menagement. The device files in the /dev directory exist only if proper devices are connected to the system. Therefore /dev/ttyUSB0 and /dev/ttyUSB1 exist only if HotSync button is pressed in the Palm device and you cannot change permissions to these files permanently.
To solve this problem you have to add two files:
First:
/etc/udev/rules.d/10-visor.rules
and you should add into this file a line: KERNEL="ttyUSB1" SYMLINK="pilot"
and
/etc/udev/permissions.d/10-visor.permissions
and you should add into this file a line: ttyUSB1:$local:uucp:0660
The content of filed in rules.d and permissions.d control the behavior of device manager during the construction of devices in the /dev directory.
Now you can set pilot device to /dev/ttyUSB1 in KPilot or use it in pilot-xfer. But remember, you have to run pilot-xfer -p /dev/ttyUSB1 AFTER fou have pressed HotSync on your Palm.
Based on: http://www.clasohm.com/blog/one-entry?entry_id=12096


0 Comments:
Post a Comment
<< Home