1 From e1f85fe0cdfa7e4d4ce7a811d0b0c90bf38fba0c Mon Sep 17 00:00:00 2001
2 From: Peter Hutterer <peter.hutterer@who-t.net>
3 Date: Thu, 25 Jun 2009 09:47:27 +1000
4 Subject: [PATCH] Blacklist HDAPS accelerometer device from being picked up in X.
6 This device posts accelerometer data through ABS_X/ABS_Y, making X unusable
7 if it's controlling the pointer.
9 fdi/policy/10osvendor/10-x11-input.fdi | 6 ++++++
10 1 files changed, 6 insertions(+), 0 deletions(-)
12 diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
13 index a342421..89ba672 100644
14 --- a/fdi/policy/10osvendor/10-x11-input.fdi
15 +++ b/fdi/policy/10osvendor/10-x11-input.fdi
17 <merge key="input.x11_driver" type="string">evdev</merge>
21 + <!-- http://bugs.freedesktop.org/show_bug.cgi?id=22442
22 + Posts accel data through ABS_X/ABS_Y, makes X unusable -->
23 + <match key="info.product" contains="ThinkPad HDAPS accelerometer data">
24 + <remove key="input.x11_driver" />
29 1.6.3.rc1.2.g0164.dirty