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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGzDe_ZAni9Jtu4RrwmuRSOPFGxFz93JWw_VhzwieT2JJ-K8Hw@mail.gmail.com>
Date:	Fri, 17 Feb 2012 12:51:02 -0600
From:	Chris Bagwell <chris@...bagwell.com>
To:	Przemo Firszt <przemo@...szt.eu>
Cc:	jkosina@...e.cz, pinglinux@...il.com, peter.hutterer@...-t.net,
	linuxwacom-devel@...ts.sourceforge.net,
	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: wacom: Force new name for Wacom Intuos4 WL PTK-540WL

On Fri, Feb 17, 2012 at 11:47 AM, Przemo Firszt <przemo@...szt.eu> wrote:
> The name reported by Inutos4 WL connected by bluetooth is "PTK-540WL" and
> to make it consistent with other Wacom devices it has to be converted to
> "Wacom Intuos4 WL". It also makes userland applications aware that it's
> a Wacom device.
>
> Signed-off-by: Przemo Firszt <przemo@...szt.eu>
> ---

Its worth noting this aligns naming of device to same used when this
device is plugged into USB port and controlled by USB wacom driver;
and thus helps align userland logic to route to apps like
xf86-input-wacom.

Reviewed-by: Chris Bagwell <chris@...bagwell.com>

>  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 acab74c..0621047 100644
> --- a/drivers/hid/hid-wacom.c
> +++ b/drivers/hid/hid-wacom.c
> @@ -518,6 +518,7 @@ static int wacom_probe(struct hid_device *hdev,
>                wacom_poke(hdev, 1);
>                break;
>        case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH:
> +               sprintf(hdev->name, "%s", "Wacom Intuos4 WL");
>                wdata->features = 0;
>                wacom_set_features(hdev);
>                break;
> --
> 1.7.6.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
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