summaryrefslogtreecommitdiff
path: root/udev.rules.demo
diff options
context:
space:
mode:
Diffstat (limited to 'udev.rules.demo')
-rw-r--r--udev.rules.demo9
1 files changed, 9 insertions, 0 deletions
diff --git a/udev.rules.demo b/udev.rules.demo
new file mode 100644
index 0000000000..6426ce2090
--- /dev/null
+++ b/udev.rules.demo
@@ -0,0 +1,9 @@
+# USB camera from Fuji to be named "camera"
+LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera%n"
+
+# USB device plugged into the fourth port of the second hub to be called gps_device
+TOPOLOGY, BUS="usb", place="2.4", NAME="gps_device"
+
+# ttyUSB1 should always be called visor
+REPLACE, KERNEL="ttyUSB1", NAME="visor"
+