Sunday, 24 May 2009

palm sync jpilot - on ubuntu gutsy - needed udev and /etc/modules tweaks

Oh no! Palm worked seamlessly with linuxes for a while.
(and other usb sync just by setting device "usb:" as the thing to sync.)
Now ...
The bad old messy config days are back (hopefully momentarily - I'm briefly stuck on gutsy for a bit on home pc).

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
$ uname -a
Linux xx 2.6.20-16-generic #2 SMP Tue Feb 12 05:41:34 UTC 2008 i686 GNU/Linux

To get palm sync working (with jpilot):
1. add visor to list in /etc/modules
sudo vi /etc/modules
sudo modprobe visor # to load module just for now without restarting
2. Make (or add to 10-custom.rules the below KERNEL=="ttyUSB*" entry (and rm entry from 60-symlinks.rules
BUS=="usb", SYSFS{product}=="*[vVisor]*", KERNEL=="ttyUSB[13579]", NAME="pilot",\
GROUP="dislout", MODE="0660"
2.1
sudo /etc/init.d/udev restart
3. some tests
pilot-xfer -p /dev/ttyUSB0 -l # doesn't work? works?
sudo pilot-xfer -p /dev/ttyUSB0 -l
udevinfo --query=all --name=/dev/ttyUSB0
4.And argh I ran sudo jpilot and did a sync (as root) The group setting was wrong so jpilot as normal user couldn't sync.
# fix ownerships (be careful with find ... -exec chown or chown -R in general, ...
# did I ever tell you about the time I killed a server with a recursive chown?
find /home/jamesc/.jpilot/ -user root -exec chown jamesc:jamesc {} \;
5. add group dialout for your user
sudo usermod -a -G dialout `whoami`
5.1 login again then check new group is enabled for your user
groups
6. FINALLY
jpilot
#hotsync button on palm first, then hotsync button in application



http://ubuntuforums.org/archive/index.php/t-418979.html j-pilot problems in Feisty
http://barnson.org/node/1556 Hotsync Palm Centro on Ubuntu Gutsy
http://www.linuxquestions.org/questions/linux-hardware-18/has-anyone-synced-a-palm-tx-with-linux-397038/?highlight=pda+sync

No comments: