~ubuntu-branches/debian/squeeze/xserver-xorg-input-synaptics/squeeze

« back to all changes in this revision

Viewing changes to debian/patches/02-do-not-use-synaptics-for-keyboards.patch

  • Committer: Bazaar Package Importer
  • Author(s): Mattia Dongili, Mattia Dongili
  • Date: 2009-11-21 13:00:37 UTC
  • mfrom: (1.1.1 upstream) (0.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091121130037-ie3upnefi3znqjva
Tags: 1.2.0-2
[ Mattia Dongili ]
Negate the match on keyboard capabilities in the default fdi file
(closes: #557252).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
do not use the synaptics driver for devices advertising themselves as keyboards
 
2
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524130
 
3
 
 
4
Index: xserver-xorg-input-synaptics/fdi/11-x11-synaptics.fdi
 
5
===================================================================
 
6
--- xserver-xorg-input-synaptics.orig/fdi/11-x11-synaptics.fdi  2009-11-21 13:15:39.064182104 +0900
 
7
+++ xserver-xorg-input-synaptics/fdi/11-x11-synaptics.fdi       2009-11-21 13:16:23.404256090 +0900
 
8
@@ -2,30 +2,34 @@
 
9
 <deviceinfo version="0.2">
 
10
   <device>
 
11
     <match key="info.capabilities" contains="input.touchpad">
 
12
-        <merge key="input.x11_driver" type="string">synaptics</merge>
 
13
-        <!-- Arbitrary options can be passed to the driver using
 
14
-             the input.x11_options property since xorg-server-1.5. -->
 
15
-        <!-- EXAMPLES:
 
16
-        Switch on shared memory, enables the driver to be configured at runtime
 
17
-       <merge key="input.x11_options.SHMConfig" type="string">true</merge>
 
18
-
 
19
-       Maximum movement of the finger for detecting a tap
 
20
-       <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
 
21
-
 
22
-       Enable vertical scrolling when dragging along the right edge
 
23
-       <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
 
24
-
 
25
-       Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
 
26
-       <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
 
27
-
 
28
-       Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
 
29
-       <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
 
30
-
 
31
-       If on, circular scrolling is used
 
32
-       <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
 
33
-
 
34
-       For other possible options, check CONFIGURATION DETAILS in synaptics man page
 
35
-        -->
 
36
+      <!-- do not use the synaptics driver for devices advertising
 
37
+          themselves as keyboards -->
 
38
+      <match key="info.capabilities" contains_not="input.keyboard">
 
39
+          <merge key="input.x11_driver" type="string">synaptics</merge>
 
40
+          <!-- Arbitrary options can be passed to the driver using
 
41
+               the input.x11_options property since xorg-server-1.5. -->
 
42
+          <!-- EXAMPLES:
 
43
+          Switch on shared memory, enables the driver to be configured at runtime
 
44
+          <merge key="input.x11_options.SHMConfig" type="string">true</merge>
 
45
+
 
46
+          Maximum movement of the finger for detecting a tap
 
47
+          <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
 
48
+
 
49
+          Enable vertical scrolling when dragging along the right edge
 
50
+          <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
 
51
+
 
52
+          Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
 
53
+          <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
 
54
+
 
55
+          Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
 
56
+          <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
 
57
+
 
58
+          If on, circular scrolling is used
 
59
+          <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
 
60
+
 
61
+          For other possible options, check CONFIGURATION DETAILS in synaptics man page
 
62
+          -->
 
63
+      </match>
 
64
     </match>
 
65
   </device>
 
66
 </deviceinfo>