arduino:arduino_on_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:arduino_on_linux [2016/10/05 02:12] – mithat | arduino:arduino_on_linux [2019/12/28 20:06] – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Arduino on Linux ====== | ====== Arduino on Linux ====== | ||
- | Depending on your distribution, | + | ===== Serial port permissions ===== |
- | < | + | |
+ | Depending on your distribution, | ||
+ | < | ||
# usermod -a -G dialout < | # usermod -a -G dialout < | ||
</ | </ | ||
+ | |||
+ | ===== USBtiny permissions ===== | ||
+ | |||
+ | If you plan to use a USBtiny on Linux to program your Arduino, you are likely to encounter a different permission error. On my Debian sid system, I encountered a “Warning: cannot open USB device: Permission denied” error. Adding my user to the '' | ||
+ | |||
+ | I was able to clear it by adding the suggestion at the end of this [[https:// | ||
+ | |||
+ | Specifically, | ||
+ | < | ||
+ | SUBSYSTEM==" | ||
+ | </ | ||
+ | The next time you log in, your USBtiny //should// work as expected, unless the '' | ||
+ | |||
+ | You can confirm the '' | ||
+ | < | ||
+ | # dmesg | ||
+ | [404467.789928] usb 2-1.2: New USB device found, idVendor=1781, | ||
+ | [404467.789930] usb 2-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 | ||
+ | [404467.789931] usb 2-1.2: Product: USBtiny | ||
+ | </ | ||
+ | |||
+ | A USBtiny from a different vendor I tried identified itself as “USBtinyISP” rather than “USBtiny”, | ||
+ | < | ||
+ | SUBSYSTEM==" | ||
+ | SUBSYSTEM==" | ||
+ | </ | ||
+ | |||
+ | Modify as needed for your USBtiny. |
arduino/arduino_on_linux.txt · Last modified: 2019/12/29 05:37 by mithat