summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2012-03-18 22:13:39 +0100
committerNicolas Schodet2012-03-18 22:13:39 +0100
commita802f4bc50479de27700eb5deba29106a2c48cda (patch)
treef37c000b06da202126b25b0964bc3cc5d2f16f16
parentbf4cec46718436467caea38b991bcf7b13ca39e8 (diff)
digital/dev2/doc: add udev rule
-rw-r--r--digital/dev2/doc/dev2.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/digital/dev2/doc/dev2.txt b/digital/dev2/doc/dev2.txt
index 0c3b7f28..2eed3b3d 100644
--- a/digital/dev2/doc/dev2.txt
+++ b/digital/dev2/doc/dev2.txt
@@ -16,6 +16,16 @@ Then look at kernel messages to locate the new serial devices (/dev/ttyUSBx).
If two functions are presents in the same firmware, two serial devices should
be detected.
+To let udev do this automatically for you, you can add this to the file
+`/etc/udev/rules.d/70-apbteam.rules`:
+
+ SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="204e", \
+ ATTR{manufacturer}=="APBTeam", MODE="0660", GROUP="plugdev", \
+ RUN+="/sbin/modprobe usbserial vendor=0x03eb product=0x204e"
+
+This will also automatically authorize the `plugdev` group to use the device
+without root access.
+
Controlling the output
======================