View previous topic :: View next topic |
Author |
Message |
azwr n00b
Joined: 06 Aug 2004 Posts: 49
|
Posted: Thu Apr 07, 2005 3:49 am Post subject: palm Vx serial problems |
|
|
I've searched around the forums, but couldn't find a problem quite like this. I have an older Palm Vx that still has the serial interface, and it has always worked just fine in linux for me, absolutely without a hitch, until suddenly it stopped. I hadn't sync'ed for probably almost two weeks (break from college) and when I returned it wouldn't sync anymore. As far as I know, I haven't made any significant system changes, maybe just emerge'd some updated programs, that's about it.
Here is some relevant info:
It works just fine on a friends windows box, using my palm cradle/cable etc, so I know it's not those.
I use a genkernel (still haven't gotten my own compiles to work quite right), but it is loading the modules "parport" and "parport_pc" as it should.
/dev/ttyS0 looks to have the proper link and permissions, and /dev/pilot is linked -> /dev/ttyS0 (or piped i guess).:
Code: | lr-xr-xr-x 1 root root 10 Apr 6 22:37 pilot -> /dev/ttyS0
lr-xr-xr-x 1 root root 5 Apr 6 22:37 ttyS0 -> tts/0 |
Tried as root, as the main user in the tty group, neither work.
Here's the output from setserial:
Code: | setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
|
dmesg doesn't give me any weird output, just this for the parport stuff:
Code: | parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378 |
Also, I just booted into an old Knoppix cd and was able to connect to the palm (but some permissions looked different?), so I guess it can't be the hardware ... so I'm not sure exactly where to start at all now I guess. It's just odd that it was working just fine before. I'll also go through some logs and see if I've emerged something that could have messed things up, but I don't think I've done anything else.
Thanks in advance,
~Andrew |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Fri Apr 08, 2005 1:43 pm Post subject: |
|
|
the devices are linked, not piped. It's just the filesystem telling that this file (/dev/pilot) is just another name for /dev/ttyS0, which is just another name for /dev/tts/0.
So the thing you should check is the permissions of /dev/tts/0.
Mine are: Code: |
lrwxrwxrwx 1 root root 5 Apr 8 13:21 /dev/ttyS0 -> tts/0
crw-rw---- 1 niels tty 4, 64 Apr 8 15:40 /dev/tts/0 |
Usualy the links should have 777 permission, but I don't think that matters.
The device itself should have rw permissions for your user. In my case I appear to be the owner and clearly have rw privs. |
|
Back to top |
|
|
azwr n00b
Joined: 06 Aug 2004 Posts: 49
|
Posted: Fri Apr 08, 2005 2:21 pm Post subject: |
|
|
Here are my permissions ...
Code: |
lr-xr-xr-x 1 root root 5 Apr 6 22:37 /dev/ttyS0 -> tts/0
crw-rw---- 1 azwr tty 4, 65 Jan 1 1970 /dev/tts/0
|
Seems okay? And I've tried as user and as root, and tried using dlpsh in pilot-link with port settings of /dev/pilot, /dev/ttyS0, and straight to /dev/tts/0 ...
[EDIT] ....hmmm... i found a program 'logserial' and it's showing that the computer is receiving data on /dev/tts/0 when i press the hotsync button ... i'm wondering why the programs like dlpsh and jpilot aren't working then ... even if i point them to /dev/tts/0 [/EDIT] |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Fri Apr 08, 2005 2:59 pm Post subject: |
|
|
seems ok;
what programs are yoiu using? and what errors (if any) do they give? |
|
Back to top |
|
|
azwr n00b
Joined: 06 Aug 2004 Posts: 49
|
Posted: Sat Apr 09, 2005 6:36 pm Post subject: |
|
|
Just using dlpsh from the pilot-link suite for testing, normally i use jpilot.
dlpsh gives me this error:
Code: |
Error accepting data on /dev/pilot
|
and jpilot this error
Code: |
pi_accept Invalid argument
Exiting with status SYNC_ERROR_PI_ACCEPT
Finished
|
i'm going to try playing with rebuilding pilot-link again maybe, because i know jpilot just uses pilot-link. |
|
Back to top |
|
|
azwr n00b
Joined: 06 Aug 2004 Posts: 49
|
Posted: Thu May 05, 2005 8:54 pm Post subject: |
|
|
still no luck ... just a quick bump/update. i redid my gentoo installation from 2005.0, mostly just because i didn't exactly know what i was doing the first time so i wanted the experience again, but my pilot stuff still doesn't work. i'm waiting for some responses on the jpilot mailing list, but i still can't figure out the problem. it shouldn't be related to udev or anything, should it? i wouldn't think so, being a serial device... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|