All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: cdc-acm: Restore CAP_BRK functionality to CH9102
@ 2026-12-01 23:18 ` Petr Kracík
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Kracík via B4 Relay @ 2026-12-01 23:18 UTC (permalink / raw)
  To: Oliver Neukum, Greg Kroah-Hartman
  Cc: Marc Zyngier, linux-usb, stable, Petr Kracík

From: Petr Kracík <petrkr@petrkr.net>

Like the CH343, the CH9102 (1a86:55d4) does not advertise
CAP_BRK. Apply the existing MISSING_CAP_BRK quirk to restore
communication with DS2480B 1-Wire adapters.

Tested successfully with DigiTemp and OWServer on Linux 6.12.117.

Fixes: 66aad7d8d3ec5 ("usb: cdc-acm: return correct error code on unsupported break")
Cc: stable@kernel.org

Signed-off-by: Petr Kracík <petrkr@petrkr.net>
---
 drivers/usb/class/cdc-acm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 4a0c7806fc0b..bae3b737dd59 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -2072,8 +2072,9 @@ static const struct usb_device_id acm_ids[] = {
 	.driver_info = IGNORE_DEVICE,
 	},
 
-	/* CH343 supports CAP_BRK, but doesn't advertise it */
+	/* CH343 and CH9102 support CAP_BRK, but don't advertise it */
 	{ USB_DEVICE(0x1a86, 0x55d3), .driver_info = MISSING_CAP_BRK, },
+	{ USB_DEVICE(0x1a86, 0x55d4), .driver_info = MISSING_CAP_BRK, },
 
 	/*
 	 * Lenovo Yoga Book 9 14IAH10 (83KJ) — INGENIC 17EF:6161 touchscreen

---
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
change-id: 20261202-fix-ch9102-break-7bc4b6584056

Best regards,
--  
Petr Kracík <petrkr@petrkr.net>



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] usb: cdc-acm: Restore CAP_BRK functionality to CH9102
@ 2026-12-01 23:18 ` Petr Kracík
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Kracík @ 2026-12-01 23:18 UTC (permalink / raw)
  To: Oliver Neukum, Greg Kroah-Hartman
  Cc: Marc Zyngier, linux-usb, stable, Petr Kracík

Like the CH343, the CH9102 (1a86:55d4) does not advertise
CAP_BRK. Apply the existing MISSING_CAP_BRK quirk to restore
communication with DS2480B 1-Wire adapters.

Tested successfully with DigiTemp and OWServer on Linux 6.12.117.

Fixes: 66aad7d8d3ec5 ("usb: cdc-acm: return correct error code on unsupported break")
Cc: stable@kernel.org

Signed-off-by: Petr Kracík <petrkr@petrkr.net>
---
 drivers/usb/class/cdc-acm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 4a0c7806fc0b..bae3b737dd59 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -2072,8 +2072,9 @@ static const struct usb_device_id acm_ids[] = {
 	.driver_info = IGNORE_DEVICE,
 	},
 
-	/* CH343 supports CAP_BRK, but doesn't advertise it */
+	/* CH343 and CH9102 support CAP_BRK, but don't advertise it */
 	{ USB_DEVICE(0x1a86, 0x55d3), .driver_info = MISSING_CAP_BRK, },
+	{ USB_DEVICE(0x1a86, 0x55d4), .driver_info = MISSING_CAP_BRK, },
 
 	/*
 	 * Lenovo Yoga Book 9 14IAH10 (83KJ) — INGENIC 17EF:6161 touchscreen

---
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
change-id: 20261202-fix-ch9102-break-7bc4b6584056

Best regards,
--  
Petr Kracík <petrkr@petrkr.net>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: cdc-acm: Restore CAP_BRK functionality to CH9102
  2026-12-01 23:18 ` Petr Kracík
  (?)
@ 2026-12-01 23:23 ` sashiko-bot
  -1 siblings, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-12-01 23:23 UTC (permalink / raw)
  To: Petr Kracík; +Cc: linux-usb

> From: Petr Kracík <petrkr@petrkr.net>
> 
> Like the CH343, the CH9102 (1a86:55d4) does not advertise
> CAP_BRK. Apply the existing MISSING_CAP_BRK quirk to restore
> communication with DS2480B 1-Wire adapters.
> 
> Tested successfully with DigiTemp and OWServer on Linux 6.12.117.
> 
> Fixes: 66aad7d8d3ec5 ("usb: cdc-acm: return correct error code on unsupported break")
> Cc: stable@kernel.org
> 
> Signed-off-by: Petr Kracík <petrkr@petrkr.net>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-fix-ch9102-break-v1-1-ff254915e57d@petrkr.net?part=1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-01 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 23:18 [PATCH] usb: cdc-acm: Restore CAP_BRK functionality to CH9102 Petr Kracík via B4 Relay
2026-12-01 23:18 ` Petr Kracík
2026-12-01 23:23 ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.