This patch is not yet in the mainline, so Peter's patch might be
temporary needed. Jiri, can you confirm that is in the Q for next
kernel?

commit a72c5ddb675f2f0a2fa857f75286d50b7a0c0ba5
Author: Przemo Firszt <prz...@firszt.eu>
Date:   Fri Feb 17 17:47:10 2012 +0000

    HID: wacom: Force new name for Wacom Intuos4 WL PTK-540WL
    
    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.
    
    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.
    
    Signed-off-by: Przemo Firszt <prz...@firszt.eu>
    Reviewed-by: Chris Bagwell <ch...@cnpbagwell.com>
    Signed-off-by: Jiri Kosina <jkos...@suse.cz>

diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
index f218348..2d4812e 100644
--- a/drivers/hid/hid-wacom.c
+++ b/drivers/hid/hid-wacom.c
@@ -510,6 +510,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;
 
-- 
Przemo Firszt <prz...@firszt.eu>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to