Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
palm Vx serial problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
azwr
n00b
n00b


Joined: 06 Aug 2004
Posts: 49

PostPosted: Thu Apr 07, 2005 3:49 am    Post subject: palm Vx serial problems Reply with quote

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
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Fri Apr 08, 2005 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
azwr
n00b
n00b


Joined: 06 Aug 2004
Posts: 49

PostPosted: Fri Apr 08, 2005 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Fri Apr 08, 2005 2:59 pm    Post subject: Reply with quote

seems ok;
what programs are yoiu using? and what errors (if any) do they give?
Back to top
View user's profile Send private message
azwr
n00b
n00b


Joined: 06 Aug 2004
Posts: 49

PostPosted: Sat Apr 09, 2005 6:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
azwr
n00b
n00b


Joined: 06 Aug 2004
Posts: 49

PostPosted: Thu May 05, 2005 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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