You are not logged in.

#1 2006-03-09 14:35:46

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

palm + jpilot

Hi, I was curious if anyone knew how to sync palm and jpilot? This is what I've tried so far...

after installing jpilot, I plugged in my palm (Tungsten T5)... pressed the hotsync, waited 3seconds before pressing the sync on jpilot... and nothing happened.

in fact, the palm usb doesn't seem to register- i plug it in, type dmesg into a terminal and the usb being plugged in doesn't come up...

thanks!

Offline

#2 2006-03-09 18:04:32

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: palm + jpilot

My T5 works with Jpilot, so don't dispair. Actually, it doesn't, its in the mail for warranty work ATM. But it did work.

Chances are you're using the wrong device -- mine is /dev/tts/usb1 (in the settings tab of preferences dialog). See if that device is created. When I plug mine in, dev/tts/usb0 and dev/tts/usb1 are both created for me. If that's not happening, you need to modprobe some random module (its not really random, of course, I just don't know what it is).

Dusty

Offline

#3 2006-03-09 20:47:33

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: palm + jpilot

I also had to change my udev.rules for it to work as user.

KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="users", MODE="0660"

Offline

#4 2006-03-09 21:33:00

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: palm + jpilot

I guess maybe I got that by adding myself to the tty group.

Dusty

Offline

#5 2006-03-10 14:20:49

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

i've had serious problems loading up arch linux file system last time i changed udev.rules, so i'm a bit worried about doing it again...

but what you think i should do is:

- nano /etc/udev/rules.d/udev.rules
- then go down to "# tty devices" and add the new line:
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="users", MODE="0660"

(there's four other lines in the "tty device" section...)

- then i load up jpilot, go to preferences + settings
- type "dev/tts/usb0" at the section "Serial Port (/dev/ttySO, /dev/pilot)


that should work?? and will let linux file system load up again if i reboot???

thanks!

Offline

#6 2006-03-10 15:18:40

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: palm + jpilot

christianpurefoy wrote:

i've had serious problems loading up arch linux file system last time i changed udev.rules, so i'm a bit worried about doing it again...

but what you think i should do is:

- nano /etc/udev/rules.d/udev.rules
- then go down to "# tty devices" and add the new line:
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="users", MODE="0660"

(there's four other lines in the "tty device" section...)

- then i load up jpilot, go to preferences + settings
- type "dev/tts/usb0" at the section "Serial Port (/dev/ttySO, /dev/pilot)


that should work?? and will let linux file system load up again if i reboot???

thanks!

There already exists a line for ttyUSB[0-9]*. I just had to add the MODE setting for it to run. Your system should run fine, if you don't change anything else. But better make a backup, first. wink

Offline

#7 2006-03-10 15:20:31

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

If I remember correctly, you should not need to mess with udev. Just find out what group is assigned to ttyUSB[0-9] in udev.rules and then put yourself in that group (edit /etc/group to do that). I think it defaults to tty.

Then log out and log back in.

Offline

#8 2006-03-10 15:24:48

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

One more thing. If you use the stock Arch kernel, it doesn't load the visor module by default. When I switched from rolling my own kernels to using the Arch stock kernel, I had to add visor to my modules in /etc/rc.conf:

MODULES=(!usbserial visor)

Offline

#9 2006-03-10 15:49:20

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

okay- without changing ude.rules,  i've added myself to group 'tty' and also added visor to modules.

when i type dmesg it's definitely recognising the palm now! phew!

but i then open up jpilot, press hotsync on my palm- wait three seconds and then press sync on jpilot...

it comes up with

pi_bind_error: /dev/pilot No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished


... does this mean i need to put something into 'file-preferences-settings'???

thanks for all the help so far!

Offline

#10 2006-03-10 16:40:33

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: palm + jpilot

yeah
its not on /dev/pilot by useful. You could set up udev to put it there, I guess, but I think its easier just to change one config option. /dev/tts/usb1

Dusty

Offline

#11 2006-03-10 16:51:23

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

how do i change the 'config option' to /dev/tts/usb1??

- i tried putting it into 'file-preferences-Serial Port...'

but it came up with the same messgae:
pi_bind_error: dev/tts/usb1 No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished


so i'm a little confused as to where/how i should put it in?

thanks!

Offline

#12 2006-03-10 18:26:35

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: palm + jpilot

ralvy wrote:

If I remember correctly, you should not need to mess with udev. Just find out what group is assigned to ttyUSB[0-9] in udev.rules and then put yourself in that group (edit /etc/group to do that). I think it defaults to tty.

Then log out and log back in.

Yup, tried it out, group tty works just as well (and with no editing to udev.rules). Thanks for the hint!

How did you find out that ttyUSB is assigned to tty? If I read the udev.rules file, it just says Group=users.

Offline

#13 2006-03-10 18:33:45

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

good to hear it works! but what about this error message? where and what am i putting in wrong? ...

pi_bind_error: dev/tts/usb1 No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished

thanks!

Offline

#14 2006-03-10 19:20:26

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: palm + jpilot

Stupid question: is there a / in front of dev/tts/usb1? i.e. does it say "/dev/tts/USB1" in Preferences?

It might also be case sensitive.

Offline

#15 2006-03-10 22:23:41

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

christianpurefoy wrote:

okay- without changing ude.rules,  i've added myself to group 'tty' and also added visor to modules.

when i type dmesg it's definitely recognising the palm now! phew!

but i then open up jpilot, press hotsync on my palm- wait three seconds and then press sync on jpilot...

it comes up with

pi_bind_error: /dev/pilot No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished


... does this mean i need to put something into 'file-preferences-settings'???

thanks for all the help so far!

Load JPilot.
File --> Preferences --> Settings
In the Serial Port field, type

/dev/tts/USB1

If that doesn't work, try

/dev/tts/USB0

Offline

#16 2006-03-10 22:25:43

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

Sometimes, with JPilot, you press the Hot Sync button on your cradle first, then press the Sync button on JPilot. That's what I have to do. I used to have to reverse that order.

Offline

#17 2006-03-10 22:29:43

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

nggalai wrote:
ralvy wrote:

If I remember correctly, you should not need to mess with udev. Just find out what group is assigned to ttyUSB[0-9] in udev.rules and then put yourself in that group (edit /etc/group to do that). I think it defaults to tty.

Then log out and log back in.

How did you find out that ttyUSB is assigned to tty? If I read the udev.rules file, it just says Group=users.

Hit the Hot Sync button on your cradle and then do

ls -l /dev/tts

Examine the group assigned to USB0 or USB1.

Offline

#18 2006-03-11 09:07:20

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

haha! it worked!

okay, so the steps I did to get my Palm Tungsten T5 working were:

- gpasswd -a tty
- add 'visor' to modules in /etc/rc.conf
- install jpilot
- open jpilot, go to Fil-preferences-settings
- in the serial port type '/dev/tts/USB1' (if not try '/dev/tts/USB0')


Thanks! (is there anything linux won't do?! ... or it's forums won't help you out on? wink )

Offline

#19 2006-03-11 12:07:18

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

okay - one thing... how can i export addresses from thunderbird to jpilot??????

the thunderbird file .ldif doesn't appear to be compatible with jpilot...

thanks!

Offline

#20 2006-03-11 15:33:50

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

christianpurefoy wrote:

the thunderbird file .ldif doesn't appear to be compatible with jpilot...

Doesn't Thunderbird support export to .csv format? JPilot will accept that.

Offline

#21 2006-03-11 16:38:30

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: palm + jpilot

no - my thunderbird will only export .ldif files ...

but i also tried exporting contacts from my gmail account- which are .csv files - and when jpilot imports them, they're totally confused (tel. no.s where names should be, parts of the address where tel no.s should be, etc), which is no good at all...

Offline

#22 2006-03-11 16:58:17

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: palm + jpilot

christianpurefoy wrote:

but i also tried exporting contacts from my gmail account- which are .csv files - and when jpilot imports them, they're totally confused (tel. no.s where names should be, parts of the address where tel no.s should be, etc), which is no good at all...

Then you can manipulate that .csv file in a spreadsheet to make it honor the built-in order of fields in JPilot. Or else you can join the JPilot mailing list and ask there. Someone on that list may have dealt with this before:

http://www.jpilot.org/lists.html

Offline

Board footer

Powered by FluxBB