将普通用户加入到串口可以使用/dev/ttyS0或/dev/ttyUSB0的方法

sudo usermod -a -G dialout <username>
需要重启。

posted @ 2022-10-20 15:50  微信公众号--共鸣圈  阅读(95)  评论(0编辑  收藏  举报