Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Rep:
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.
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
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.
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
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.
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.
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.