You are not logged in.
Pages: 1
Happy new year! ![]()
i'm installing arduino-ide-2.3.4-1 on my laptop.
After installation I started arduino-ide and plugged in a nodemcu via usb cable.
Serial monitor complains that 'Could not connect to /dev/ttyUSB0 serial port'
so after compiling a sketch it's impossible to load the executable.
Arduino site suggests to add an udev rule like: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", GROUP="plugdev", MODE="0666
I tried it, also creating the plugdev group (I know it's NOT standard on arch!)
I tried to add my user to root group and plugdev group with no success.
On the contrary on my desktop arduino 1:1.8.19-2 from AUR is been running like a charm for a long time...
Last edited by ziomarco (2025-01-05 00:37:55)
Offline
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
thank for your suggestion ewaller!
That method did the trick!
I was trying with the quick and dirty solution:
chmod a+rw /dev/ttyUSB0 but yours is definitely a more elegant solution:
/etc/udev/rules.d/01-ttyusb.rules
-----------------------------------------------------
SUBSYSTEMS=="usb-serial", TAG+="uaccess" Last edited by ziomarco (2025-01-05 21:45:13)
Offline
Pages: 1