Привет всем, в общем ситуация такая:
MB - BLKD201GLY2 (Winbond W83627DHG-B I/O controller for serial, parallel and PS/2)# uname -a
Linux smarthome 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64 GNU/Linux
но
# dmesg | grep ttyS
ПУСТО (
При этом имеем:
# ls -la /dev/|grep ttyS
crw-rw---- 1 root dialout 4, 64 Jul 25 12:20 ttyS0
crw-rw---- 1 root dialout 4, 65 Jul 25 12:20 ttyS1
crw-rw---- 1 root dialout 4, 66 Jul 25 12:20 ttyS2
crw-rw---- 1 root dialout 4, 67 Jul 25 12:20 ttyS3
# 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
# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 662 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] LPC Controller (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA (rev 01)
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter (rev 04)
# setserial -g /dev/ttyS0
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
Имеем ошибку ввода/вывода
# stty -F /dev/ttyS0 9600
stty: /dev/ttyS0: Input/output error
Делаю:
# setserial /dev/ttyS0 uart 16550A
# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:0 rx:0 CTS|DSR|CD|RI
1: uart:unknown port:000002F8 irq:3
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3
но все равно имеем ошибку ввода/вывода
# stty -F /dev/ttyS0 9600
stty: /dev/ttyS0: Input/output error
Походу не инициализируется порт. Помогите плиз, подтолкните на путь истинный....