Connection error when attempting to connect to /dev/ttyACM0 on Ubuntu v14 #5847
Replies: 1 comment
-
Posted at 2014-11-05 by Frida Try this, and chance GROUP="your name". Attachments: Posted at 2014-11-05 by @gfwilliams There's a udev rule that you can copy in to /etc/udev/rules.d/ that might help: https://github.com/espruino/Espruino/blob/master/misc/45-espruino.rules It'll make sure that the board is in 'plugdev', which I think your user is in by default. I still have an error connecting sometimes, but it usually resolves itself if I try again after 30 seconds or so. Looking at the command history on Espruino it looks as if some service in Ubuntu is trying to talk to it as if it's a modem. Posted at 2014-11-05 by @gfwilliams @frida beat me to it :) Posted at 2014-11-06 by d0773d @frida @gfwilliams thanks Posted at 2018-01-06 by werty1st Why can't i connect via terminal? espruino -p /dev/ttyACM0
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-11-05 by d0773d
I've always had issues when I attempt to connect to serialports on Ubuntu. I can temporary get by when I execute: sudo chown :rich /dev/ttyACM0
However, that gets annoying when I have to resubmit that command in the terminal. I tried to add the user rich to the dialout group, logout and log back into my account; however, I still get the Connection error when I attempt to connect to /dev/ttyACM0 How can I get the Espruino chrome app to gain access to /dev/ttyACM0 without having to execute the chown command?
Beta Was this translation helpful? Give feedback.
All reactions