The 2.6.38 and 3.7 kernels do not report accelerometer data from the
27QHD, likely because of the issues associated with reporting ABS_{X,Y,Z}
from a pad device that isn't seperate from the pen device. The X driver
should handle this (since it will place it into the pad's dedicated
channel) but tracking prox makes things tricky: either you always keep
the pad in prox like the 2.6.30 kernel was doing (which will possibly
be a source of actual issues) or you just don't bother reporting this
data like the 2.6.38 and 3.7 kernels.

Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 2.6.30/wacom_wac.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/2.6.30/wacom_wac.c b/2.6.30/wacom_wac.c
index ba0a244..5b75224 100644
--- a/2.6.30/wacom_wac.c
+++ b/2.6.30/wacom_wac.c
@@ -482,15 +482,6 @@ static int wacom_intuos_pad(struct wacom_wac *wacom)
        } else if (features->type == WACOM_27QHD) {
                nkeys = 3;
                keys = data[2] & 0x07;
-
-               input_report_abs(input, ABS_X, be16_to_cpup((__be16 
*)&data[4]));
-               input_report_abs(input, ABS_Y, be16_to_cpup((__be16 
*)&data[6]));
-               input_report_abs(input, ABS_Z, be16_to_cpup((__be16 
*)&data[8]));
-               if ((data[2] & 0x07) | data[4] | data[5] | data[6] | data[7] | 
data[8] | data[9]) {
-                       input_report_abs(input, ABS_MISC, PAD_DEVICE_ID);
-               } else {
-                       input_report_abs(input, ABS_MISC, 0);
-               }
        } else if (features->type >= INTUOS5S && features->type <= INTUOSPL) {
                /*
                 * ExpressKeys on Intuos5/Intuos Pro have a capacitive sensor in
-- 
2.17.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to