Link to home
Start Free TrialLog in
Avatar of Mid-Atlantic-Data
Mid-Atlantic-Data

asked on

How to run setserial on multiport

I have Red Hat Linux 7.1 running with several Comtrol Rocketport serial boards. I want to find out what baud rate they are running at.
When I type in
setserial -a /dev/ttyR1
it gives message
cannot get serial info: Invalid argument
I have tried setserial -a -multiport /dev/ttyR1 and it says unrecognized command or even will do a kernel panic.
What command do I need to give?
Avatar of m1tk4
m1tk4
Flag of United States of America image

Are you sure your serial boards are /dev/ttyR* and not /dev/ttyS*?
Avatar of Mid-Atlantic-Data
Mid-Atlantic-Data

ASKER

/etc/inittab initializes ttyR1 ttyR2 etc.
ASKER CERTIFIED SOLUTION
Avatar of m1tk4
m1tk4
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The link you posted is a copy of the manual. It tells how to set the baud rate to higher speeds using setrocket, but not how to query the rocket port on what baud rate each port is running.
I am assuming setrocket should have the same command switches as setserial?
unfortunately it only has command to set the baud rate, not to query the baud rate.
Then I guess that's it - if it needs a special (non-standard setserial) set of instructions to set the baud rate, most likely it also needs a special set of instructions to read it, and if setrocket doesn't do it, then that's the end of the road - or a good reason to make a call to Comtrol ;)