The Wiki has moved to new hardware, and the old server died.

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

howtos:general_admin:udev_rules [2016/03/03 02:17 (UTC)] (current)
arfon created
Line 1: Line 1:
 +<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 +====== (Handy) udev RULES ======
  
 +
 +====== chmod ttyUSB and ttyACM ======
 +(handy for running things like Arduino IDE as a regular user) \\
 +
 +1) Create the udev rules file:
 +
 +as root:
 +
 +vi /​etc/​udev/​rules.d/​50-usb.rules //and add one of the following// \\
 +Allow access by everyone (kinda un-safe) \\
 +<​code>​KERNEL=="​ttyUSB[0-9]*",​MODE="​0666"​
 +KERNEL=="​ttyACM[0-9]*",​MODE="​0666"</​code>​
 +
 +Allow access by members of the '​wheel'​ group- \\
 +<​code>​KERNEL=="​ttyUSB[0-9]*",​GROUP="​wheel",​MODE="​0660"​
 +KERNEL=="​ttyACM[0-9]*",​GROUP="​wheel",​MODE="​0660"</​code>​
 +
 +
 +====== Sources ======
 +<!-- If you are copying information from another source, then specify that source -->
 +<!-- * Original source: [[http://​some.website.org/​some/​page.html]] -->
 +<!-- Authors are allowed to give credit to themselves! -->
 +  * Originally written by [[wiki:​user:​arfon | arfon]] ​
 +<!-- * Contributions by [[wiki:​user:​yyy | User Y]] -->
 +
 +<!-- Please do not modify anything below, except adding new tags.-->
 +<!-- You must remove the tag-word "​template"​ below before saving your new page -->
 +{{tag>​howtos software udev author_arfon}}

In Other Languages
QR Code
QR Code howtos:general_admin:udev_rules (generated for current page)