cat: /dev/ttyS0: Input/output error
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I am unable to write to or read from /dev/ttyS0
# cat /dev/ttyS0
cat: /dev/ttyS0: Input/output error
the device exists, and root has permissions.
# ls -lAhF /dev/ttyS0
crw------- 1 root root 4, 64 Nov 18 12:09 /dev/ttyS0
# setserial -g /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
# dmesg | egrep -i 'serial|ttys'
[ 1.243271] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2703.151301] ttyS0: LSR safety check engaged!
# cat /proc/devices | grep tty
4 tty
4 ttyS
5 /dev/tty
I have serial enabled in my kernel:
# grep SERIAL config
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
CONFIG_SERIAL_CORE=y
What do I have to do to make serial work ?
kernel tty serial-port
add a comment |Â
up vote
3
down vote
favorite
I am unable to write to or read from /dev/ttyS0
# cat /dev/ttyS0
cat: /dev/ttyS0: Input/output error
the device exists, and root has permissions.
# ls -lAhF /dev/ttyS0
crw------- 1 root root 4, 64 Nov 18 12:09 /dev/ttyS0
# setserial -g /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
# dmesg | egrep -i 'serial|ttys'
[ 1.243271] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2703.151301] ttyS0: LSR safety check engaged!
# cat /proc/devices | grep tty
4 tty
4 ttyS
5 /dev/tty
I have serial enabled in my kernel:
# grep SERIAL config
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
CONFIG_SERIAL_CORE=y
What do I have to do to make serial work ?
kernel tty serial-port
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I am unable to write to or read from /dev/ttyS0
# cat /dev/ttyS0
cat: /dev/ttyS0: Input/output error
the device exists, and root has permissions.
# ls -lAhF /dev/ttyS0
crw------- 1 root root 4, 64 Nov 18 12:09 /dev/ttyS0
# setserial -g /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
# dmesg | egrep -i 'serial|ttys'
[ 1.243271] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2703.151301] ttyS0: LSR safety check engaged!
# cat /proc/devices | grep tty
4 tty
4 ttyS
5 /dev/tty
I have serial enabled in my kernel:
# grep SERIAL config
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
CONFIG_SERIAL_CORE=y
What do I have to do to make serial work ?
kernel tty serial-port
I am unable to write to or read from /dev/ttyS0
# cat /dev/ttyS0
cat: /dev/ttyS0: Input/output error
the device exists, and root has permissions.
# ls -lAhF /dev/ttyS0
crw------- 1 root root 4, 64 Nov 18 12:09 /dev/ttyS0
# setserial -g /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
# dmesg | egrep -i 'serial|ttys'
[ 1.243271] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2703.151301] ttyS0: LSR safety check engaged!
# cat /proc/devices | grep tty
4 tty
4 ttyS
5 /dev/tty
I have serial enabled in my kernel:
# grep SERIAL config
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
CONFIG_SERIAL_CORE=y
What do I have to do to make serial work ?
kernel tty serial-port
asked Nov 18 '17 at 12:08
Martin Vegter
1,00731110218
1,00731110218
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405428%2fcat-dev-ttys0-input-output-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password