aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrzemo Firszt <przemo@firszt.eu>2012-02-17 12:47:10 -0500
committerJiri Kosina <jkosina@suse.cz>2012-02-21 06:01:34 -0500
commita72c5ddb675f2f0a2fa857f75286d50b7a0c0ba5 (patch)
tree6a46b69dedae2a96ba553cdcd37c71fd271c5c79
parent724ed328a18139a7b6fb15536f5afbf9e27b49b2 (diff)
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 <przemo@firszt.eu> Reviewed-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-wacom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
index f2183486a9b6..2d4812e3dbea 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,
510 wacom_poke(hdev, 1); 510 wacom_poke(hdev, 1);
511 break; 511 break;
512 case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH: 512 case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH:
513 sprintf(hdev->name, "%s", "Wacom Intuos4 WL");
513 wdata->features = 0; 514 wdata->features = 0;
514 wacom_set_features(hdev); 515 wacom_set_features(hdev);
515 break; 516 break;