-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Serial port not found /dev/ttyACM0 - Linux Mint 17 Qiana #2209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hey. have the same problem. did you find a solution? |
This may be a silly question, but do you have the baud rate set to 14440 or 28880, which aren't standard rates supported by the Linux cdcacm driver? |
Sadly not - it's either in the "too hard" box, or it's something so simple, it's not even worth commenting back - either way, still not working... On Thursday, 13 November 2014, 18:27, arndtele [email protected] wrote: hey. have the same problem. did you find a solution? |
at this time i can say, that it is a problem of the group permissions. when i am using version 1.0.6 of arduino ide and use it as a su the programm works. otherwise as a normal user the programm doesn't works because a open error on /dev/ttyACM0. the device has a group permission RW for group dialout and the user is a member of group dialout. |
changing the ownerchip to the users doesn't bring the wanted efect. |
Weird problem. If you do something like "cat /dev/ttyACM0" from a terminal, as your non-root user, does that work? |
the error is very 0 for me at this time. i have made a little sketch which echoes the input on the serial line. a programm sends sequentiell ascii data to /dev/ttyACM0. when i open arduino IDE and there the seriell monitor, i can see the echod data. when i start a programm routine on the IDE the programming fails. the permission of /dev/ttyACM0 is root rw, dialout rw, (660). i think, that it is perhaps a timing problem. but the permissions and the fact that su works, users not make no sense for me at this time. |
Have you installed the IDE from Mint package manager? If so, is removing it and manually downloading and unzipping 1.5.8 an option [1]? In 1.5.x series, we changed the native serial library. |
@ffissore: thanks for your advice. i have installed 1.5.8. i could not recognize the problems before. but my sample sketch is using 38400Bd for communication. i did not found it in the serial monitor window. when want to change the serial monitor windows's baudrate the programm hangs until i kill the java task. i will try more the next days and report. thanks |
@arndtele try making your sketch use a higher baudrate, 57600 for example |
@ffissore: trouble. i am using a component which have constant 38400Bd after entering the programming mode.. i am missing this baudrate in the seriell monitor's menue. 1.5.8 works fine. |
38400 has been restored with #2485 |
Moved to Ubuntu 14.04 LTS - no problem with this on the same hardware (Arduino IDE now 1:1.0.5+dfsg2-2.). |
@pgorellana, this issue is solved, why are you posting random advice here? Also, the symlink you suggest should never be needed for the Arduino IDE, it should detect both device names equally. Doing |
Applied latest patch set from Mint and from then on the serial port cannot be found. I've followed previous posts, using each USB port in turn, checked 'groups' membership, and 2 Arduino UNO's, looked at the Windows 8 posts on driver permissions (not directly relevant for Linux), but continue to get the error messages (see below). I've even tried to remove and reinstall Arduino IDE.
I know the serial port is there, because 'chmod 777 /dev/ttyACM0' is successful, and if I send a txt file to that port, the RX LED flashes on the Arduino indicating the virtual port has been created and the Arduino is listening to it.
I now have NO ability to post sketches to my Arduino UNO's.
Errors from IDE during upload below:
processing.app.SerialException: Error opening serial port '/dev/ttyACM0'.
at processing.app.Serial.(Serial.java:178)
at processing.app.Serial.(Serial.java:77)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:77)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:744)
Caused by: gnu.io.UnsupportedCommOperationException: Invalid Parameter
at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:213)
at processing.app.Serial.(Serial.java:163)
... 9 more
processing.app.debug.RunnerException: Error opening serial port '/dev/ttyACM0'.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:101)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:744)
The text was updated successfully, but these errors were encountered: