> home# dmesg | grep -i tty> [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=b2b7f7fa-b1db-4e97-> 941f-8aaee291f3dc ro console=tty1 console=ttyS0,115200n8 quiet splash vt.handoff=7
> [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=b2b7f7fa-b1db-
> 4e97-941f-8aaee291f3dc ro console=tty1 console=ttyS0,115200n8 quiet splash vt.handoff=7
> [ 0.000000] console [tty1] enabled
> [ 0.000000] console [ttyS0] enabled
> [ 1.637664] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
> [ 1.658835] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
> [ 3.412478] fbcon: Remapping primary device, fb1, to tty 1-63
> [ 44.378835] systemd[1]: Created slice system-serial\x2dgetty.slice.
> [ 44.380198] systemd[1]: Created slice system-getty.slice.
_______
Hello Cheng,
Please, try to do the following: lspci -vv (to find your serial on PCIe), then try to remap your IRQs, to see if this will somehow work.
Example:
setserial /dev/ttyS0 port 0xd800 UART 16550A irq 5
setserial /dev/ttyS0 -av
/dev/ttyS0, Line 0, UART: 16550A, Port: 0xd800, IRQ: 5
Baud_base: 115200, close_delay: 5000, divisor: 0
closing_wait: 37856
Flags: spd_normal skip_test
Please, report your attempts/results here.
Thank you,
Zoran