我正在尝试使用我的 9 针串行端口将我的汽车 ECU 连接到我的计算机(megasquirt 控制器)。我以前在 Ubuntu 10.04 上做过这个,但现在我刚刚升级到 12.04,它根本无法连接。我之前没有任何问题。现在我根本无法打开这个端口。
使用chmod
我得到这个:
~$ chmod o+rw /dev/ttyS0
chmod: changing permissions of `/dev/ttyS0': Operation not permitted
Run Code Online (Sandbox Code Playgroud)