Acabei de comprar um novo cartão de porta serial, mas não consegui fazê-lo funcionar, ele aparece no lspci e no dmesg, mas quando envio dados por ele, não o recebo de volta na outra porta (eu m conectando ambas as portas junto com um cabo DB-9).
dmesg | grep tty:
[ 0.000000] console [tty0] enabled
[ 0.810197] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.831771] 0000:04:07.0: ttyS1 at I/O 0xc130 (irq = 21, base_baud = 115200) is a ST16650V2
[ 0.853172] 0000:04:07.1: ttyS2 at I/O 0xc120 (irq = 22, base_baud = 115200) is a ST16650V2
[ 0.860203] tty ttyS1: hash matches
lspci -v:
04:07.0 Serial controller: MosChip Semiconductor Technology Ltd. PCI 9865 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Device a000:1000
Flags: medium devsel, IRQ 21, NUMA node 0
I/O ports at c130 [size=8]
Memory at fe105000 (32-bit, non-prefetchable) [size=4K]
Memory at fe104000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
Kernel modules: parport_pc
04:07.1 Serial controller: MosChip Semiconductor Technology Ltd. PCI 9865 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Device a000:1000
Flags: medium devsel, IRQ 22, NUMA node 0
I/O ports at c120 [size=8]
Memory at fe103000 (32-bit, non-prefetchable) [size=4K]
Memory at fe102000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
Kernel modules: parport_pc
04:07.2 Parallel controller: Illegal Vendor ID Device 9865 (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: medium devsel, IRQ 10, NUMA node 0
I/O ports at c110 [disabled] [size=8]
I/O ports at c100 [disabled] [size=8]
Memory at fe101000 (32-bit, non-prefetchable) [disabled] [size=4K]
Memory at fe100000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: <access denied>
Nota: Estou executando o Parabola GNU / Linux-libre 64 bits
Tags serial-port linux