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: Eric Norum via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 12 Jan 2026 10:25:54 -0800
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 Johnson, Andrew N. 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

Navigate by Date:
Prev: Re: Configuration of the RGA200 communication baud rate Mark Rivers via Tech-talk
Next: Re: Configuration of the RGA200 communication baud rate Johnson, Andrew N. 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 Mark Rivers via Tech-talk
Next: Re: Configuration of the RGA200 communication baud rate Johnson, Andrew N. 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 ·