Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-11-2004, 03:07 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 21
Rep:
|
palm pilot and serial port not seen - how to fix?
I've installed jpilot and want to use it with a Palm Pilot Professional which connects to my pc viaa serial cable.
But when I run sync I get
******************************
synching on device /dev/pilot
Press the HotSynch button now
***************************
pi bind No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
I'm using Mandrake 10 and can't find out how to configure the serial port.
Anybody able to point me in the right direction to sort this out?
S
|
|
|
06-04-2004, 06:40 AM
|
#2
|
Member
Registered: Mar 2004
Distribution: Arch
Posts: 139
Rep:
|
I get exactly the same message with my Tungsten T3 (connecting via USB). I haven't a clue how to sort it out and I would also appreciate some help.
|
|
|
06-04-2004, 07:45 AM
|
#3
|
Member
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357
Rep:
|
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.
Also take a look at my post here: http://www.linuxquestions.org/questi...highlight=clie
Last edited by chii-chan; 06-04-2004 at 07:53 AM.
|
|
|
06-04-2004, 11:14 PM
|
#4
|
Member
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401
Rep:
|
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.
|
|
|
06-05-2004, 05:20 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: Arch
Posts: 139
Rep:
|
For myself, the tail command gives this output:
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?
|
|
|
06-05-2004, 12:51 PM
|
#6
|
Member
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401
Rep:
|
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.
|
|
|
06-07-2004, 04:22 AM
|
#7
|
Member
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357
Rep:
|
I've mentioned the additional modules that need to be included in kernel compilation in the link in previous posting.
|
|
|
06-07-2004, 02:29 PM
|
#8
|
Member
Registered: Mar 2004
Distribution: Arch
Posts: 139
Rep:
|
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.
|
|
|
06-09-2004, 01:03 PM
|
#9
|
LQ Newbie
Registered: Apr 2004
Posts: 21
Original Poster
Rep:
|
Re: palm pilot and serial port not seen - how to fix?
Quote:
Originally posted by stumblefingers
I've installed jpilot and want to use it with a Palm Pilot Professional which connects to my pc viaa serial cable.
But when I run sync I get
******************************
synching on device /dev/pilot
Press the HotSynch button now
***************************
pi bind No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
I'm using Mandrake 10 and can't find out how to configure the serial port.
Anybody able to point me in the right direction to sort this out?
S
|
Below is the fix I got from another forum:
"/dev/pilot is not a real port, it's just a link to the real serial port.
See section 2.4 of the jpilot manual:
http://www.henrikbecker.de/jpilot/jp...nual-en-2.html
"Firstly you probably need to make a soft link to an actual /dev/ttyS. So you need a commandline like:
ln -s /dev/ttyS0 /dev/pilot"
After doing that it now works fine.
Stumblefingers
Then to test it there are some other tools:
stty is the most useful. tells you the port settings etc."
|
|
|
All times are GMT -5. The time now is 07:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|