summaryrefslogtreecommitdiff
path: root/udev.rules.demo
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-03 01:08:46 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:05 -0700
commite8bacccab296d6b75c4c9f43cb4e71007aff5b8a (patch)
treead65d8917550ec7e8addf84816e16452fd722986 /udev.rules.demo
parent29b82deb7e8d7634792bd50be1377bae170a8acb (diff)
[PATCH] add support for a main udev config file, udev.conf.
the older udev.config file is now called udev.rules. This allows us to better control configuration values, and move away from the environment variables.
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"
+