Failed connecting to port /dev/ttyACM0 status:Error
Yu-Chern Peh When I got this error, it was solved with the command "sudo chmod a+rw /dev/ttyACM0" before, but now the error continues.
I would be glad if you help.
-
Hello,
You have to do so because this command will only affect the current session. Have a look at this discussion in Stack Overflow.
-
Identify your device by running:
sudo dmesg | grep 'Intel F450' -A 5 | grep ttyACM
The output should be something like: "... ttyACM#: USB ACM device ..." - where # is the port number.
-
Grant the necessary permissions for your user, to be able to communicate with the device:
sudo usermod -a -G dialout $USER
Log out of your current session for this to take effect.
Regards,
Yu-Chern
Intel RealSense Customer Support -
-
Yu-Chern Peh Thank you for your answer,
I ran the commands as you mentioned in your comment. (https://github.com/IntelRealSense/RealSenseID/tree/master/tools#linux----compilation-and-usage)
However, when the error persisted, I saw on a different site.
I tried the command "sudo chmod a+rw /dev/ttyACM0" but when the error occurs, I run the command "sudo dmesg | grep 'Intel F450' -A 5 | grep ttyACM" and multiple devices appear. It fixes itself after a while.
Please sign in to leave a comment.
Comments
2 comments