Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3950

Troubleshooting • Re: Why I am getting error "device is disconnected or multiple access on port"?

$
0
0
Here is what I do: start three terminals, then
in one start a python script that access the USB serial,
in two start a python script that access the same USB serial
in three, run the command to check serial:

Code:

sudo ls -l /proc/[0-9]*/fd/* |grep /dev/ttyACM0
I have to be quick on three before one or two crashes.

You may be better off rebooting the pi, then check if any programs accessing the serial port (using above command.
Let me know what happens

Statistics: Posted by neilgl — Fri May 03, 2024 10:13 am



Viewing all articles
Browse latest Browse all 3950

Trending Articles