Device /dev/ttyS0 is locked.

未正常关闭minicom

yesaidu@ywf-ubuntu: ~$ ls /var/lock

LCK..ttyS0  subsys

yesaidu@ywf-ubuntu: ~$ kill 0

yesaidu@ywf-ubuntu: ~$ ls /var/lock

subsys

yesaidu@ywf-ubuntu: ~$ sudo minicom

Welcome to minicom 2.3

 

或者删除/var/lock下面以LCK开头的文件

你可能感兴趣的:(Device /dev/ttyS0 is locked.)