summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linuxwacom-module/files/check_driver.1')
-rw-r--r--sys-kernel/linuxwacom-module/files/check_driver.122
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-kernel/linuxwacom-module/files/check_driver.1 b/sys-kernel/linuxwacom-module/files/check_driver.1
new file mode 100644
index 0000000..cf3a5f9
--- /dev/null
+++ b/sys-kernel/linuxwacom-module/files/check_driver.1
@@ -0,0 +1,22 @@
+.TH wacom\-tools 1 "5 Nov 2004" "Debian GNU/Linux" "Debian"
+.SH NAME
+check_driver \- Linux 2.6(.16+) userspace device rebinding helper.
+
+.SH SYNOPSIS
+.B check_driver driver devpath bustype
+
+.SH DESCRIPTION
+This is a \fBRUN\fP script that may be invoked from a udev rule to ensure the
+correct driver is bound to a particular device, in situations where a
+basic driver may bind to it first but a more specialised one is available.
+
+.SH EXAMPLE
+For the wacom device, a rule like this is used:
+
+KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
+
+.SH COPYRIGHT
+2006, Ron Lee <ron@debian.org>. Created for the Debian GNU/Linux
+distribution. It may be freely distributed elsewhere.
+
+