hal-info: Branch 'master'

Richard Hughes hughsient at kemper.freedesktop.org
Fri Mar 6 02:32:22 PST 2009


 fdi/information/10freedesktop/10-tablet-wacom.fdi |   26 ++++++++++++++++++++++
 fdi/information/10freedesktop/Makefile.am         |    1 
 2 files changed, 27 insertions(+)

New commits:
commit 5007cd4cdf150d29283dbe8f89b055e5c6fb6870
Author: Richard Hughes <richard at hughsie.com>
Date:   Fri Mar 6 10:31:24 2009 +0000

    add list of wacom tablets for X autoconfiguration

diff --git a/fdi/information/10freedesktop/10-tablet-wacom.fdi b/fdi/information/10freedesktop/10-tablet-wacom.fdi
new file mode 100644
index 0000000..7ad5917
--- /dev/null
+++ b/fdi/information/10freedesktop/10-tablet-wacom.fdi
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- this is probably a bit imprecise -->
+<deviceinfo version="0.2">
+  <device>
+    <match key="info.capabilities" contains="serial">
+      <match key="@info.parent:pnp.id" contains_outof="WACf001;WACf002;WACf003;WACf004;WACf005;WACf006;WACf007;WACf008;WACf009;WACf00a;WACf00b;WACf00c;FUJ02e5">
+        <append key="info.capabilities" type="strlist">input</append>
+        <merge key="input.x11_driver" type="string">wacom</merge>
+        <!-- Wacom isn't yet suited well for hotplugging, as we need three
+             devices off one kernel device, but HAL only reports this device
+             once. This needs fixing in the driver.
+             Use stylus by default for this single device, if you want erasor
+             or cursor, specify in the line below.  -->
+        <merge key="input.x11_options.Type" type="string">stylus</merge>
+        <merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
+        <merge key="input.device" type="copy_property">serial.device</merge>
+        <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
+        <append key="wacom.types" type="strlist">eraser</append>
+        <match key="@info.parent:pnp.id" contains_outof="WACf008;WACf009">
+          <append key="wacom.types" type="strlist">touch</append>
+        </match>
+      </match>
+    </match>
+  </device>
+</deviceinfo>
+
diff --git a/fdi/information/10freedesktop/Makefile.am b/fdi/information/10freedesktop/Makefile.am
index 3332609..f047326 100644
--- a/fdi/information/10freedesktop/Makefile.am
+++ b/fdi/information/10freedesktop/Makefile.am
@@ -10,6 +10,7 @@ dist_fdi_DATA = 10-usb-card-readers.fdi		\
 		10-laptop-panel-hardware.fdi	\
 		10-cd-dvd-burner.fdi		\
 		10-battery.fdi			\
+		10-tablet-wacom.fdi		\
 		10-modem.fdi			\
 		10-scanner.fdi			\
 		10-usb-obex.fdi


More information about the hal-commit mailing list