Experimental Physics and Industrial Control System
On May 30, 2013, at 4:43 AM, Mark Rivers <[email protected]> wrote:
> This error:
>
> drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0)
> asynSetOption("L0", -1, "baud", "9600")
> setOption failed tcsetattr failed: Input/output error
>
> probably means either that /dev/ttyS0 does not exist, or you don't have permission to modify it.
I would have thought that existence or permission errors would be reported by the drvAsynSerialPortConfigure command itself rather than being reported by the asynSetOption commands. The "Input/output" errors shown in the message kind of imply that "/dev/ttyS0" is present and accessible, but does not respond to tcsetattr commands. Could it be that "/dev/ttyS0" doesn't actually refer to a termios serial device? Seems awfully unlikely, but that is what the errors are reporting.
What hardware and operating system is being used? What kind of serial port hardware?
--
Eric Norum
[email protected]
- References:
- Gauge controller with R232 serial port Vahe Sahakyan
- Re: Gauge controller with R232 serial port Ralph Lange
- Re: Gauge controller with R232 serial port Eric Norum
- Re: Gauge controller with R232 serial port Vahe Sahakyan
- RE: Gauge controller with R232 serial port Mark Rivers
- Navigate by Date:
- Prev:
RE: PI C863's direction status can't change in time as leaving the limit switch Mark Rivers
- Next:
Re: EPICS on an embedded device So, Sung-Leung
- 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
- Navigate by Thread:
- Prev:
RE: Gauge controller with R232 serial port Mark Rivers
- Next:
Device support for Copley Controls Accelnet Panel Phillip Sorensen
- 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