That device has a pen and an eraser tool, as well as a touch device. Handle it
with the wacom driver by default, the evdev driver isn't quite up to scratch
here.

This also fixes a missing match in the .fdi file for the base N-Trig devices -
just in case.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
the evdev driver handles tablets, but not well for devices with pen+eraser,
and it won't stop touch while the pen is active, etc.

 conf/50-wacom.conf | 2 +-
 conf/wacom.fdi     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/50-wacom.conf b/conf/50-wacom.conf
index 567b900..21f75e6 100644
--- a/conf/50-wacom.conf
+++ b/conf/50-wacom.conf
@@ -29,7 +29,7 @@ EndSection
 # N-Trig Duosense Electromagnetic Digitizer
 Section "InputClass"
        Identifier "Wacom N-Trig class"
-       MatchProduct "HID 1b96:0001|N-Trig Pen"
+       MatchProduct "HID 1b96:0001|N-Trig Pen|N-Trig DuoSense"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
        Option "Button2" "3"
diff --git a/conf/wacom.fdi b/conf/wacom.fdi
index 70304d2..dd623a4 100644
--- a/conf/wacom.fdi
+++ b/conf/wacom.fdi
@@ -15,7 +15,7 @@
       </match>
     </match>
     <!-- N-Trig Duosense Electromagnetic Digitizer -->
-    <match key="info.product" contains="HID 1b96:0001">
+    <match key="info.product" contains_outof="HID 1b96:0001;N-Trig Pen;N-Trig 
DuoSense">
       <match key="info.parent" contains="if0">
        <merge key="input.x11_driver" type="string">wacom</merge>
       </match>
-- 
1.8.4.2


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to