On Wed, Feb 22, 2012 at 3:21 PM, Przemo Firszt <prz...@firszt.eu> wrote:
> ABS_MISC has to be set for Intuos4 WL otherwise xorg driver won't use proper
> protocol and the information about tool id and serial is lost.
>
> Signed-off-by: Przemo Firszt <prz...@firszt.eu>
> ---
>  drivers/hid/hid-wacom.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
> index 696b907..a793753 100644
> --- a/drivers/hid/hid-wacom.c
> +++ b/drivers/hid/hid-wacom.c
> @@ -471,6 +471,7 @@ static int wacom_input_mapped(struct hid_device *hdev, 
> struct hid_input *hi,
>                input_set_abs_params(input, ABS_DISTANCE, 0, 32, 0, 0);
>                break;
>        case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH:
> +               __set_bit(ABS_MISC, input->absbit);

So in your copy, it is already setting MSC_SERIAL bit, you've added
code to send it, and xf86-input-wacom is still forcing it to a value
of 1?

Hmm, I don't see in xf86-input-wacom code why thats happening.  Oh well.

I'm sure you want ABS_MISC to send device ID so it integrates with new
gnome-settings-daemon stuff anyways so I guess its not worth looking
into.

For both patches:

Reviewed-by: Chris Bagwell <ch...@cnpbagwell.com>

>                input_set_abs_params(input, ABS_X, 0, 40640, 4, 0);
>                input_set_abs_params(input, ABS_Y, 0, 25400, 4, 0);
>                input_set_abs_params(input, ABS_PRESSURE, 0, 2047, 0, 0);
> --
> 1.7.6.4
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Linuxwacom-devel mailing list
> Linuxwacom-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to