From: Chris Bagwell <ch...@cnpbagwell.com>

Graphire series stylus do not report serial #'s.

A fake serial # of 1 was sent for stylus and then changed to
fake new value of 0xf0 when pressing pad buttons even if stylus
was still in proximity.

This was to help out some internal xf86-input-wacom issues
but those issues have been fixed for a while now.  Remove
this unneeded fake serial #'s.

Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com>
---
 drivers/input/tablet/wacom_wac.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index ecfcbc8..6c3ff00 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -265,7 +265,6 @@ static int wacom_graphire_irq(struct wacom_wac *wacom)
                        wacom->id[0] = 0;
                input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool 
id */
                input_report_key(input, wacom->tool[0], prox);
-               input_event(input, EV_MSC, MSC_SERIAL, 1);
                input_sync(input); /* sync last event */
        }
 
@@ -282,7 +281,6 @@ static int wacom_graphire_irq(struct wacom_wac *wacom)
                        if (!prox)
                                wacom->id[1] = 0;
                        input_report_abs(input, ABS_MISC, wacom->id[1]);
-                       input_event(input, EV_MSC, MSC_SERIAL, 0xf0);
                        retval = 1;
                }
                break;
@@ -299,7 +297,6 @@ static int wacom_graphire_irq(struct wacom_wac *wacom)
                        if (!prox)
                                wacom->id[1] = 0;
                        input_report_abs(input, ABS_MISC, wacom->id[1]);
-                       input_event(input, EV_MSC, MSC_SERIAL, 0xf0);
                        retval = 1;
                }
                break;
@@ -1152,8 +1149,6 @@ void wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                /* fall through */
 
        case WACOM_G4:
-               input_set_capability(input_dev, EV_MSC, MSC_SERIAL);
-
                __set_bit(BTN_BACK, input_dev->keybit);
                __set_bit(BTN_FORWARD, input_dev->keybit);
                /* fall through */
-- 
1.7.7.3


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to