User Tools

Site Tools


arduino:arduino_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
arduino:arduino_on_linux [2019/12/28 20:15] mithatarduino:arduino_on_linux [2019/12/28 20:18] – [Serial port permissions] mithat
Line 6: Line 6:
 ==== Serial port permissions ==== ==== Serial port permissions ====
  
-Depending on your distribution, you might need to add permission to your user so it can access ''/dev/ttyACM*'' or whatever. On my Debian system, the following worked (as root):+Depending on your distribution, you may need to add permission to your user so it can access ''/dev/ttyACM*'' or whatever. On my Debian sid system, all I needed to do was add my user to the ''dialout'' group. The following did the trick (as root):
 <code> <code>
 # usermod -a -G dialout <username> # usermod -a -G dialout <username>
Line 21: Line 21:
 SUBSYSTEM=="usb", ATTR{product}=="USBtiny", ATTR{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0660", GROUP="dialout" SUBSYSTEM=="usb", ATTR{product}=="USBtiny", ATTR{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0660", GROUP="dialout"
 </code> </code>
-The next time you log in, your USBtiny //should// work as expected --- unless the ''product'', ''idProduct'', and/or ''idVendor'' attributes aren't as expected. You can confirm these values by plugging in your USBtiny and running dmesg (as root):+The next time you log in, your USBtiny //should// work as expected --- unless the ''product'', ''idProduct'', and/or ''idVendor'' attributes aren't as expected. You can confirm these values by plugging in your USBtiny and running ''dmesg'' (as root):
 <code> <code>
 # dmesg # dmesg
arduino/arduino_on_linux.txt · Last modified: 2019/12/29 05:37 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki