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: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Eric Norum <eric at norum.ca>, "Rivers, Mark L." <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 12 Jan 2026 19:26:43 +0000
This blog post might be helpful on how to modify Asyn to request non-standard baud rates on some Linux systems at least.

- Andrew


-- 

Complexity comes for free, Simplicity you have to work for.


On 1/12/26, 12:26 PM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:

My quick google search suggests that it’s necessary to write a program to do this.
For python it recommends:
import serial
ser = serial.Serial('/dev/ttyS0', 28800)
print(ser.baudrate)
I tried this on Debian and it ran with no complaints.

On Jan 12, 2026, at 9:53 AM, Mark Rivers <rivers at cars.uchicago.edu> wrote:

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

— 
Eric Norum
eric at norum.ca






Replies:
Re: Configuration of the RGA200 communication baud rate Michael Davidsaver via Tech-talk
Re: Configuration of the RGA200 communication baud rate Érico Nogueira Rolim 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
Re: Configuration of the RGA200 communication baud rate Mark Rivers 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: Problems with clang under MacOS Michael Davidsaver 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 Michael Davidsaver 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 ·