EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: Configuration of the RGA200 communication baud rate
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Eric Norum <eric at norum.ca>
Date: Mon, 12 Jan 2026 17:53:15 +0000
Hi Eric,

I have an RHEL 9 system.  How do I set an arbitrary baud rate using termios2 from the shell?  When I use stty I get an error:

[epics@13idd ~]$ stty -F /dev/ttyUSB0 28800
stty: invalid argument ‘28800’
Try 'stty --help' for more information.

Thanks,
Mark



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Eric Norum via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, January 12, 2026 11:20 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Configuration of the RGA200 communication baud rate
 
What platform is this?  The error message implies that your system is not providing a definition for B28800.
Perhaps drvAsynSerialPort.c should be modified to use termios2 where it exists.

On Jan 11, 2026, at 9:29 PM, LONG FENG via Tech-talk <tech-talk at aps.anl.gov> wrote:

Hi all,

We encountered an issue while configuring the communication baud rate for the RGA200. As you know, the RGA uses a baud rate of 28,800, but EPICS does not seem to allow setting this baud rate. As a result, it reports the following error:  

drvAsynSerialPortConfigure ("RGA200", "/dev/ttyUSB0")
asynSetOption("RGA200", 0, "baud", "28800")
setOption failed Unsupported data rate (28800 baud)

How should this issue be resolved?

Feng  

— 
Eric Norum
eric at norum.ca






Replies:
Re: Configuration of the RGA200 communication baud rate Eric Norum via Tech-talk
References:
Configuration of the RGA200 communication baud rate LONG FENG via Tech-talk
Re: Configuration of the RGA200 communication baud rate Eric Norum via Tech-talk

Navigate by Date:
Prev: Re: Configuration of the RGA200 communication baud rate Eric Norum via Tech-talk
Next: Re: Configuration of the RGA200 communication baud rate Eric Norum via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: Re: Configuration of the RGA200 communication baud rate Eric Norum via Tech-talk
Next: Re: Configuration of the RGA200 communication baud rate Eric Norum via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·