Skip to contentSkip to conversation

Hid: Wacom: Add PCI Wacom device support

PATCH In review Even Xu 2 participants 3 messages Dec 26, 2024 – Jan 10, 2025 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Even Xu

author
#0 lore raw

PATCH 1/1 Hid: Wacom: Add PCI Wacom device support

Add PCI device ID of wacom device into driver support list.

---
 drivers/hid/wacom_wac.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/hid/wacom_wac.c +5 -0
index 5501a560fb07..b60bfafc6a8f 100644
@@ -4946,6 +4946,10 @@ static const struct wacom_features wacom_features_0x94 =
 	HID_DEVICE(BUS_I2C, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
 	.driver_data = (kernel_ulong_t)&wacom_features_##prod
 
+#define PCI_DEVICE_WACOM(prod)						\
+	HID_DEVICE(BUS_PCI, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
+	.driver_data = (kernel_ulong_t)&wacom_features_##prod
+
 #define USB_DEVICE_LENOVO(prod)					\
 	HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, prod),			\
 	.driver_data = (kernel_ulong_t)&wacom_features_##prod
@@ -5115,6 +5119,7 @@ const struct hid_device_id wacom_ids[] = {
 
 	{ USB_DEVICE_WACOM(HID_ANY_ID) },
 	{ I2C_DEVICE_WACOM(HID_ANY_ID) },
+	{ PCI_DEVICE_WACOM(HID_ANY_ID) },
 	{ BT_DEVICE_WACOM(HID_ANY_ID) },
 	{ }
 };
Signature · 1 line
2.40.1

A message that is not in the archive (sent off-list or not yet received): CAF8JNhK1GXxZpjQa4hK7rrgsyZQ64X2OYBkOQR9cpx4tfvgg2Q@mail.gmail.com

maintainer
#2 lore raw
Quoted 8 lines · Ping Cheng

Hi Jiri, hi Benjamin,

This patch enables wacom driver to pickup Wacom input devices under Intel Framework. The patch has been tested by [email protected] with patchset [*PATCH v3 00/22] Add Intel Touch Host Controller drivers* (
https://lore.kernel.org/linux-input/[email protected]/T/#t)
applied.

Quoted 5 lines

<[email protected]>>

Thank you for your support,

Thanks. I've created hid.git#for-6.14/wacom-pci which is based on hid.git#for-6.14/intel-thc and applied this one on top.

Signature · 2 lines
Jiri Kosina
SUSE Labs
author
#3 lore raw

Thank you ^_^!

Best Regards,
Even Xu

Quoted 35 lines

-----Original Message-----
From: Jiri Kosina <[email protected]>
Sent: Thursday, January 9, 2025 5:17 PM
To: Ping Cheng <[email protected]>
Cc: Xu, Even <[email protected]>; Benjamin Tissoires <[email protected]>; Cheng, Ping <[email protected]>; Jason Gerecke <[email protected]>; Benjamin Tissoires <[email protected]>; linux-input <[email protected]>; LKML <linux- [email protected]>
Subject: Re: [PATCH] Hid: Wacom: Add PCI Wacom device support

Quoted 10 lines · Ping Cheng

Hi Jiri, hi Benjamin,

This patch enables wacom driver to pickup Wacom input devices under Intel Framework. The patch has been tested by [email protected] with patchset [*PATCH v3 00/22] Add Intel Touch Host Controller drivers* (
https://lore.kernel.org/linux-input/20241216014127.3722172-1-even.xu@i
ntel.com/T/#t)
applied.

Quoted 5 lines

<[email protected]>>

Thank you for your support,

Thanks. I've created hid.git#for-6.14/wacom-pci which is based on hid.git#for- 6.14/intel-thc and applied this one on top.

--
Jiri Kosina
SUSE Labs