Closed
Description
Bug Report
Current behavior
The command arduino-cli board list
Returns this:
Error detecting boards: Error getting board list: [listing ports from discovery builtin:serial-discovery: command failed: Error while enumerating serial ports: open /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/idVendor: permission denied]
I get the same error when I try to upload compiled code.
I checked the permissions on idVendor and they seem fine: -r--r--r-- 1 root root,
I can detect and upload sketches to the board from the arduino ide.
Expected behavior
I expected it to detect my board
Environment
arduino-cli alpha Version: 0.19.3 Commit: 12f1afc Date: 2021-10-12T10:15:19Z
- OS and platform:
Ubuntu 20.04
The board is an Arduino Uno R3, same thing happended with an UNO SMD R2
Additional context
I installed using sudo snap install arduino-cli