Y
Y
yahabrovec2018-09-23 13:06:13
Arduino
yahabrovec, 2018-09-23 13:06:13

Arduino IDE not working on UBUNTU?

Hello everyone
, I have a problem connecting the arduino nano board to my pc. Recently switched from Windows to Ubuntu and there was a problem. And not just one, but many at once. At first, the ports did not work at all. Then I added the user to the dialout group. Then to the uucp group. Then to tty. Ports (more precisely, the port) began to be displayed in the Arduino IDE. But you can't upload the sketch. Written

avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied
Googled and found out that you need to run the IDE as root. But it did not help. Then I created some rules udev-rules , but that didn't help either.
As I understand it, the problem is that my board is connected to the ttyUSB0 connector, and for everyone else, to ttyACM0. I don't know how to fix this. Tell me who knows the solution
PS board is one hundred percent working (checked on windows 10)
PS tried to communicate with the board through the console (something like
echo 'ciam' /dev/ttyUSB0'<code>) и тогда как и должно быть зажигался RX светодиод на плате. Значит мой комп все таки видит ардуинку

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hx510b, 2018-09-23
@hx510b

It works fine for me under Linux mint (in fact, also Ubuntu).
Is SELinux disabled?
You need to make sure that the correct board type and the correct port are selected in the tools menu.
Otherwise it won't work for sure.
You can try to add the current user to the dialout and plugdev groups
(the changed membership in the group is applied at the next authorization in the system or a new user session - i.e. you need to re -login)
or set access rights to the device for everyone manually.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question