LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-25-2005, 06:51 PM   #1
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Rep: Reputation: 30
Sync Palm IIIxe to Evolution


I have an older Palm IIIxe that I am trying to sync with Evolution 2.0.4. I got it to sync once but have had no luck after that and I am not sure what may have changed. I looked at /dev/ttyS0 and the permissions are set to crw-rw----, so I did
Code:
chmod 771 /dev/ttyS0
I checked and that set them to crwxrwx--x so I tried to sync again but I still had no luck. I also noticed that if I reboot the computer then the permissions default back to crw-rw---.

I am using RedHat FC3 and everything is updated. Any thoughts would be appreciated. Thanks.

Todd
 
Old 03-27-2005, 05:20 AM   #2
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
try,
chmod 777 /dev/ttyS0

This is not really secure, but for a home desktop PC it should be OK.

Permesions being resetted after reboot has something to do with devfs.
 
Old 03-27-2005, 09:41 AM   #3
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I tried going with 777 but the result was the same. The confusing thing is that I was able to sync once with no problem; now, nothing...

Todd
 
Old 03-27-2005, 01:55 PM   #4
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
have you tried "manualy" synching with
Code:
pilot-xfer -b  -p /dev/ttyS0
That way you can fibd out if your problem lies within the domain of Palm->serial-connection->linux or if the problem is evolution / gpilot spezific

I would first try to deterime the exact problem location.
 
Old 03-27-2005, 06:24 PM   #5
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I tried what you said and I got the message:

Code:
pilot-xfer -b  -p /dev/ttyS0
   No $PILOTPORT specified and no -p <port> given.
   Defaulting to '/dev/pilot'
   ERROR: No such file or directory (2)

   Error accessing: '/dev/pilot'. Does '/dev/pilot' exist?
   Please use --help for more information
I then did a google search for 'pilotport' and found this:

Quote:
If you have an older Palm that connects via serial port, then you need to work out whether you are connecting via COM1 or COM2 (to use the old DOS terms). In Linux land, that will be /dev/ttyS0 or /dev/ttyS1.

* Delete /dev/pilot, so you start afresh.
* Plug your cradle or your cable into COM1.
* As root, create a symbolic link to it, with "ln -s /dev/ttyS0 /dev/pilot".
* In addition, you can set the environment variable in your .profile or .bashrc. "PILOTPORT=/dev/ttyS0; export PILOTPORT".
So I created the symbolic link and tried again and I got this:

Code:
pilot-xfer -b  -p /dev/ttyS0
   No $PILOTPORT specified and no -p <port> given.
   Defaulting to '/dev/pilot'


   Listening to port: /dev/pilot

   Please press the HotSync button now... Connected
And it seemed to sync, of course not to Evolution though. What do you think that I should do now? Appreciate the help. Thanks.

Todd
 
Old 03-27-2005, 07:54 PM   #6
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
OK, after all that I went into Evolution > Pilot settings > Devices and changed the port from /dev/ttyS0 to /dev/pilot and then I synced and everything worked just fine. I then rebooted the system and tried again and nothing. I looked at the permissions to /dev/ttyS0 and set them to 777 and tried again but no luck. I'm not sure what to do.

Todd
 
Old 03-28-2005, 03:39 AM   #7
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
I got an idea(tm) :-)

You describe that after a reboot evolution does not sync, and the permissions are screwed up...

Gnome/evolution use the GnomePilotDeamon for Plamsync. the icon should be visible in your systray.

I think that because after a reboot the device permisions are setup wrong, the gnome pilot deamon can not start. Once the start failed, correcting the permissions will not help because the deamon is not informed about the change.

So:
After you changed the filepermisdsions, you should restart the gnome pilot deamon. This should work.

You should be able to permanently change the permisions for devfs,
look into /etc/devfsd.conf

Otherwise you could put the chmod command into a boot script.
 
Old 03-31-2005, 07:11 AM   #8
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
As my good friend Alice once said, "It just gets curiouser and curiouser"

I did what you last said but still had no luck. I then checked the sym link that I set up previously with

Code:
ln -s /dev/ttyS0 /dev/pilot
And I found that the file /dev/pilot no longer existed so I recreated the link, reset the permissions to /dev/ttyS0 to 777, restarted the pilot deamon, and tried again. And it finally worked!

I am wondering why my file permissions to /dev/ttyS0 keep resetting and why the sym link dissapears on reboot. But hey, at least I can get the thing to work, I'll figure out the details on the rest later. Thanks for all the help, much appreciated.

Todd
 
Old 03-31-2005, 12:05 PM   #9
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
when all entries in /dev are reset after a reboot it indicates that you are using devfs (the Kernel Devices Pseude Filesystem)

Look into /etc/devfsd.conf or somthing similar (/etc/udev ?) on how to make the changes permanently-

Last edited by huibert.alblas; 04-01-2005 at 05:24 AM.
 
Old 04-11-2005, 05:52 PM   #10
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I am looking to upgrade my Palm IIIxe a Palm Tungsten E. Anyone have any experience with this PDA and Linux?

Todd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution palm sync atl_CCk Linux - Software 0 09-01-2005 10:19 AM
Palm Sync with Evolution / Avantgo through proxy server nphare Linux - Software 0 12-14-2004 07:18 AM
Evolution sync with Palm Memo Pad interOperate Linux - Software 2 09-01-2004 06:06 PM
palm pilot memopad sync evolution nandish Linux - Hardware 0 06-05-2004 08:07 AM
How to Get Categories from Palm ToDo to Sync in Evolution Tasks kwixson Linux - Laptop and Netbook 1 11-06-2003 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration