lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTin9zgZnoNzpvzMrEfTkSRoom1DhwUhUjxWbNNF4@mail.gmail.com>
Date:	Fri, 8 Oct 2010 11:20:18 -0700
From:	Ping Cheng <pinglinux@...il.com>
To:	Aristeu Rozanski <aris@...hat.com>
Cc:	linux-kernel@...r.kernel.org,
	Dmitry Torokhov <dmitry.torokhov@...il.com>
Subject: Re: [PATCH] wacom: fix pressure in Cintiq 21UX2

On Fri, Oct 8, 2010 at 7:16 AM, Aristeu Rozanski <aris@...hat.com> wrote:
> Currently the pressure range in Cintiq 21UX2 is limited to half of the
> supported. This patch fixes the problem.
>
> Signed-off-by: Aristeu Rozanski <aris@...hat.com>

Acked-by: Ping Cheng <pingc@...om.com>

Thank you Aristeu.

Dmitry, this patch should be backported since it is a bug fix.

Ping

> ---
>  drivers/input/tablet/wacom_wac.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- linus-2.6.orig/drivers/input/tablet/wacom_wac.c     2010-09-22 14:52:22.000000000 -0400
> +++ linus-2.6/drivers/input/tablet/wacom_wac.c  2010-10-07 17:20:30.000000000 -0400
> @@ -442,7 +442,8 @@ static void wacom_intuos_general(struct
>        /* general pen packet */
>        if ((data[1] & 0xb8) == 0xa0) {
>                t = (data[6] << 2) | ((data[7] >> 6) & 3);
> -               if (features->type >= INTUOS4S && features->type <= INTUOS4L)
> +               if (features->type >= INTUOS4S && features->type <= INTUOS4L ||
> +                   features->type == WACOM_21UX2)
>                        t = (t << 1) | (data[1] & 1);
>                input_report_abs(input, ABS_PRESSURE, t);
>                input_report_abs(input, ABS_TILT_X,
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ