linux2019. 6. 12. 14:34

See which UARTs where detected in /proc/tty/driver/serial. A line with uart:unknown means: nothing detected (and likely not existent).

# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:0 rx:0
1: uart:16550A port:000002F8 irq:3 tx:111780 rx:1321 RTS|DTR|DSR
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3

If something is connected and driving the lines CTS, DSR or CD (these are input lines) you can even be pretty sure that there actually is something... Same is true for the rx-byte-count.

 

출처: <https://superuser.com/questions/131044/how-do-i-know-which-dev-ttys-is-my-serial-port>

'linux' 카테고리의 다른 글

git commit/ clone 관련 tip  (0) 2019.06.13
USB 버전 별 속도 및 전압/전류  (0) 2019.06.12
linux에서 USB port 확인 방법  (0) 2019.06.12
find multiple command 입력 방법  (0) 2019.05.24
dd 명령어에 대한 고찰  (0) 2019.03.27
Posted by easy16