Bug#1114557: [regression] 1a8953f4f774 ("HID: Add IGNORE quirk for SMARTLINKTECHNOLOGY") causes issue with ID 4c4a:4155 Jieli Technology USB Composite Device
- To: Staffan Melin <staffan.melin@oscillator.se>
- Cc: Terry Junge <linuxhid@cosmicgizmosystems.com>, Salvatore Bonaccorso <carnil@debian.org>, Jiri Kosina <jkosina@suse.com>, Benjamin Tissoires <bentiss@kernel.org>, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, stable@vger.kernel.org, 1114557@bugs.debian.org
- Subject: Bug#1114557: [regression] 1a8953f4f774 ("HID: Add IGNORE quirk for SMARTLINKTECHNOLOGY") causes issue with ID 4c4a:4155 Jieli Technology USB Composite Device
- From: zhangheng <zhangheng@kylinos.cn>
- Date: Mon, 22 Sep 2025 17:21:54 +0800
- Message-id: <[🔎] 01ce8d55-6054-4efa-bed5-ce4c6c6bc0e6@kylinos.cn>
- Reply-to: zhangheng <zhangheng@kylinos.cn>, 1114557@bugs.debian.org
- In-reply-to: <[🔎] 3c299b65351c489fea95ec8b93518b6b@oscillator.se>
- References: <[🔎] aL2gYJaXoB6p_oyM@eldamar.lan> <[🔎] c8f3d402-e0ec-4767-b925-d7764aec3d93@kylinos.cn> <[🔎] e81e8d68cb33c7de7b0e353791e21e53@oscillator.se> <[🔎] aMUxHZF-7p7--1qS@eldamar.lan> <[🔎] aMUxg6FLqDetwiGu@eldamar.lan> <[🔎] f08669ec112d6ab2f62e35c0c96d1f06@oscillator.se> <[🔎] 94520aac-2a68-40d2-b188-80f9e361d6de@kylinos.cn> <[🔎] 735c20da-c052-4528-ad91-185a835ca40c@cosmicgizmosystems.com> <[🔎] 54b4b55c-ef29-40ae-a576-0c0b35ea9625@kylinos.cn> <[🔎] 3c299b65351c489fea95ec8b93518b6b@oscillator.se> <[🔎] 175716941557.2355.4359402692624340645.reportbug@debianduo>
Please help test this patch, I will push it to the kernel community.
Currently, the microphone device is functioning normallyFrom 532b87dbad4bd634ca4d5ff41001075f768e0bc1 Mon Sep 17 00:00:00 2001
From: Zhang Heng <zhangheng@kylinos.cn>
Date: Fri, 12 Sep 2025 20:38:18 +0800
Subject: [PATCH] HID: quirks: Add device descriptor for 4c4a:4155
Multiple USB devices have the same ID;
add device descriptors to distinguish them.
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
drivers/hid/hid-quirks.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index ffd034566e2e..d28b180abd72 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -913,7 +913,6 @@ static const struct hid_device_id hid_ignore_list[] = {
#endif
{ HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) },
{ HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_HP_5MP_CAMERA_5473) },
- { HID_USB_DEVICE(USB_VENDOR_ID_SMARTLINKTECHNOLOGY, USB_DEVICE_ID_SMARTLINKTECHNOLOGY_4155) },
{ }
};
@@ -1062,6 +1061,17 @@ bool hid_ignore(struct hid_device *hdev)
strlen(elan_acpi_id[i].id)))
return true;
break;
+ case USB_VENDOR_ID_SMARTLINKTECHNOLOGY:
+ /* Multiple USB devices with identical IDs (mic & touchscreen).
+ * The touch screen requires hid core processing, but the
+ * microphone does not. They can be distinguished by manufacturer
+ * and serial number.
+ */
+ if (hdev->product == USB_DEVICE_ID_SMARTLINKTECHNOLOGY_4155 &&
+ strncmp(hdev->name, "SmartlinkTechnology", 19) == 0 &&
+ strncmp(hdev->uniq, "20201111000001", 14) == 0)
+ return true;
+ break;
}
if (hdev->type == HID_TYPE_USBMOUSE &&
--
2.47.1
Reply to: