Click to See Complete Forum and Search --> : probing serial ports


cougar
10-27-2001, 05:00 PM
Hi all,
I'm attempting to hook my Palm to my Linux box and have a question on setup.
How can I interrogate my serial ports so that I know which one I'm using for what?
I need to find out which are in use, what's hooked up to them, and their IRQ's.

I'm running RH 7.1 (with all updates),KDE 2.1.2, with Kernel 2.4.6-9.

Thanks
Steve

mrroach
10-28-2001, 03:19 PM
you might try 'cat /proc/ioports' and cat /proc/interrupts'

this should show you the io and irq of your serial ports, the best way to know what hooked to them is probably to look at the back of your computer :)

cougar
10-28-2001, 04:51 PM
Hi
thanks, but I've got it going now ...
I needed to create a symlink to the port that the cradle is plugged into, but didn't know which port it was ...
so ... I knew it was probably S0 or S1, so I just made a link to S0, changed the permissions, and was on my way. (if it hadn't worked, I would've rm'd it and done the same for S1).
- 'course now I need to config my address book,calendar,etc.

thanks
Steve