[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

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?
0
Mid-Atlantic-Data
Asked:
Mid-Atlantic-Data
  • 4
  • 3
1 Solution
 
m1tk4Commented:
Are you sure your serial boards are /dev/ttyR* and not /dev/ttyS*?
0
 
Mid-Atlantic-DataAuthor Commented:
/etc/inittab initializes ttyR1 ttyR2 etc.
0
 
m1tk4Commented:
According to http://www.bb-elec.com/bb-elec/literature/manuals/Comtrol/RocketPort_Driver_Installation_Linux.pdf you should be using setrocket instead of setserial - or am I missing something?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Mid-Atlantic-DataAuthor Commented:
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.
0
 
m1tk4Commented:
I am assuming setrocket should have the same command switches as setserial?
0
 
Mid-Atlantic-DataAuthor Commented:
unfortunately it only has command to set the baud rate, not to query the baud rate.
0
 
m1tk4Commented:
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 ;)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now