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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | High Voltage PS with RS-232 serial port |
From: | Hasan SANSAR via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Fri, 1 Oct 2021 14:33:14 +0300 |
Hi all,
We were using Glassman's HVPS with RS-232
serial port connection diretcly on CentOS 7.4 on MOXA DA-682A.
And I updated CentOS to 7.9. after that MOXA PC started to not
recognizing RS-232 serial connection. So, we are using High
Voltage PS with TCP/IP converter for temporary reason.
I'm getting same error in here at
tech-talk discussion:
https://epics.anl.gov/tech-talk/2013/msg01079.php
> drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0) > asynSetOption("L0", -1, "baud", "9600") > setOption failed tcsetattr failed: Input/output error
How can I solve this problem and how can I connect to this device over RS-232 port again?
I'm sending related outputs.
cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:unknown port:000003F8 irq:4
1: uart:unknown port:000002F8 irq:3
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3
setserial -g /dev/ttyS*
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
dmesg | grep -i serial
[ 0.751565] Serial: 8250/16550 driver, 4 ports, IRQ sharing
enabled
[ 0.762749] usb usb1: New USB device strings: Mfr=3,
Product=2, SerialNumber=1
[ 0.762758] usb usb1: SerialNumber: 0000:00:1a.0
[ 0.772736] usb usb2: New USB device strings: Mfr=3,
Product=2, SerialNumber=1
[ 0.772746] usb usb2: SerialNumber: 0000:00:1d.0
[ 0.773169] usbcore: registered new interface driver
usbserial_generic
[ 0.773178] usbserial: USB Serial support registered for
generic
[ 1.199220] usb 1-1: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
[ 1.209093] usb 2-1: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
[ 1.581100] usb 2-1.1: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
[ 913.479311] serial8250_startup: 27 callbacks suppressed
[ 918.484318] serial8250_startup: 81 callbacks suppressed
[ 923.489534] serial8250_startup: 93 callbacks suppressed
[ 928.489930] serial8250_startup: 96 callbacks suppressed
[ 933.571884] serial8250_startup: 96 callbacks suppressed
[ 938.633870] serial8250_startup: 75 callbacks suppressed
[ 1148.826783] serial8250_startup: 44 callbacks suppressed
[251734.888666] serial8250_startup: 2 callbacks suppressed
dmesg | grep tty
[ 0.000000] console [tty0] enabled
[250769.622609] ttyS0: LSR safety check engaged!
[251729.802651] ttyS0: LSR safety check engaged!
[251733.905599] ttyS0: LSR safety check engaged!
[251733.910846] ttyS0: LSR safety check engaged!
[251734.006180] ttyS0: LSR safety check engaged!
Best regards,
Hasan
-- Hasan Sansar