Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Nice thing that you guys use jpilot (I never been successful using gnome-pilot). As root type (while pressing HotSync button):
tail -f /var/log/messages
And see what's the ouput and post it here. For USB I use /dev/ttyUSB1 and I think for the serial port I think it is /dev/ttyS1 (but it depends on the output of your tail -f /var/log/messages). I use Sony Clie instead. The /dev/pilot is not there yet, you have to create it, but I think just /dev/ttyUSB1 is fine.
stumblefingers: I'll assume you are plugging your cable into the first serial port. This would correspond to /dev/ttyS0. You have two choices at this point with JPilot. Configure JPilot (through one of the menus) to use /dev/ttyS0 instead of /dev/pilot -OR- create a sym link for /dev/pilot. To do this, as root, type in a terminal
ln -s /dev/ttyS0 /dev/pilot
Also, if you want someone other than root to be able to sync your palm pilot, you must make sure that the permissions on ttyS0 allow others users to read and write...
ls -al /dev/ttyS0
If the resulting entry lists ttyS0 as either not readable or writeable for users other than the owner, use the following command (again as root) to change the permissions...
chmod 666 /dev/ttyS0
Baryonic: technically speaking, you should be able to substitude /dev/ttyUSB0 (or 1) for /dev/ttyS0, but I never have managed to get syncing to work correctly using a USB cable. One tip I could give you is that I have heard that you need to initiate the sync first on your device and then in JPilot for it to work successfully. Never tried it as I have it working via serial cable and just never cared to futz around with it again.
Jun 5 11:00:00 tux CRON[7312]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Jun 5 11:10:00 tux CRON[22003]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jun 5 11:11:41 tux su(pam_unix)[22017]: session opened for user root by (uid=1000)
Jun 5 11:11:41 tux su(pam_unix)[22017]: session closed for user root
Jun 5 11:11:41 tux su(pam_unix)[22021]: session opened for user root by (uid=1000)
Jun 5 11:14:41 tux su(pam_unix)[22055]: session opened for user root by (uid=1000)
Jun 5 11:15:15 tux su(pam_unix)[22064]: session opened for user root by (uid=1000)
Jun 5 11:15:15 tux su(pam_unix)[22064]: session closed for user root
Jun 5 11:15:15 tux su(pam_unix)[22068]: session opened for user root by (uid=1000)
Jun 5 11:15:54 tux usb 2-2: new full speed USB device using address 3
It may seem silly to bring this up now, but I have heard that the 'usbserial' and 'visor' kernel modules need to be 'compiled in' to the kernel. I don't remember doing such a thing when I installed Gentoo Linux, but does the solution involve re-compiling the kernel, and how difficult is that to do?
Baryonic: I can't really comment on what additional modules need to be compiled into the kernel. There may be some truth to what you suggest -- I'll let someone else who has gotten it to work via USB add to the discussion. As for recompiling a kernel, there are lots of good guides (both here on LQ and elsewhere on the net) to help you through your first kernel compile. My only suggestion would be to make sure you keep your old kernel around before trying to compile a new one (even if it is the same kernel source with the new modules added). This way you can play around with the new kernel until you get it working correctly. It probably took at least 3 or 4 times before I got everything "right". Good luck.
Well, I'm actually not too keen on the idea of recompiling my kernel. I've got everything else on my system working just fine and I don't feel too confident about fiddling with it now. But thank you for your help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.