connect your pda to ubuntu

souce :

Well, I beat my head against my computer for a few hours sorting this out through more forums and google searches than I care to admit. So, I decided to put together a straightforward HOWTO from my pain for your pleasure. This was done on a Ubuntu machine running 2.6.15-27-386 kernel first, and have ran it again on my Suse 10.1 machine at home using x86_64 arch. I run KDE (havent tested with gnome) using Kpilot. In order to get the whole kit of files and dependancies, I just grabbed kdepim, it has it all. So with that being said, I guess here goes.

*** Installing needed modules ***
# modprobe usbserial
# modprobe visor

*** Making sure they worked ***
# lsmod | grep vis
*** output should look something like this ***
visor 18828 0
usbserial 31336 1 visor
usbcore 130820 5 visor,usbserial,ehci_hcd,uhci_hcd

*** Device Making Time ***
# /bin/mknod /dev/ttyUSB0 c 188 0
# /bin/mknod /dev/ttyUSB1 c 188 1
# /bin/chmod 0666 /dev/ttyUSB?

*** getting info from the device ***
# cat /proc/bus/usb/devices *** basic info ***

# cat /proc/tty/driver/usbserial *** gives you product name ***
*** should look similar ***
usbserinfo:1.0 driver:2.0
0: module:visor name:”Handspring Visor / Palm OS” vendor:0830 product:0061 num_ports:2 port:1 path:usb-0000:00:1d.1-2
1: module:visor name:”Handspring Visor / Palm OS” vendor:0830 product:0061 num_ports:2 port:2 path:usb-0000:00:1d.1-2

# udevinfo -p /sys/class/tty/ttyUSB1 -a *** little more info ***

*** making it useable ***
# vi /etc/udev/rules.d/10-visor.rules
*** Below is the line to add in, all one line ***
BUS=”usb”, SYSFS{product}=”Palm Handheld*”, KERNEL=”ttyUSB[13579]”, SYMLINK=”pilot”

*** Restart udev ***
# /etc/init.d/udev restart

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.