advertisement

2021年4月20日

linux下 串列埠 工具 串口 序列埠 軟體 linux putty alternative for serial

 請參考此篇文章 Use Serial Port To Remote Control


使用cu command

cu -l /dev/device -s baud-rate-speed

# cu -l /dev/ttyS0 -s 57600

若出現

cu: open (/dev/ttyS0): Permission denied

cu: /dev/ttyS0: Line in use

請打下列指令確認權限

# ls -la /dev/ttyUSB0

# chmod 666 /dev/ttyUSB0


ref:https://superuser.com/questions/794309/linux-tells-me-a-serial-port-is-in-use-but-it-isnt/1155172

https://www.cyberciti.biz/hardware/5-linux-unix-commands-for-connecting-to-the-serial-console/

沒有留言:

張貼留言

文章有誤或有問題麻煩您留言告知! 謝謝您~~