From: sashiko-bot@kernel.org
To: "Huang Wei" <huangwei@kylinos.cn>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH v2] USB: serial: simple: narrow OWON match to avoid breaking VDS1022
Date: Thu, 15 Oct 2026 02:59:58 +0000 [thread overview]
Message-ID: <sashiko-outbox-172188@kernel.org> (raw)
In-Reply-To: <20261015025456.3927808-1-huangwei@kylinos.cn>
> A USB_DEVICE() match on VID:PID 0x5345:0x1234 was added to the
> owon_device entry in drivers/usb/serial/usb-serial-simple.c by
> commit 4cc01410e1c1 ("USB: serial: simple: add OWON HDS200 series
> oscilloscope support"). OWON uses this VID:PID across multiple device
> families (HDS, VDS, SDS, PDS), so the broad match makes the
> owon_device driver also claim devices such as the VDS1022.
>
> While the owon_device entry is equivalent to the generic usbserial
> driver for kernel-space users, the VDS1022 is a headless scope that
> is driven from userspace over libusb (e.g. the florentbr/Owon-VDS1022
> tool), which can no longer claim the interface once a kernel driver
> binds to it. Prior to that commit, no in-kernel driver claimed these
> interfaces.
>
> The two families can be told apart by their interface descriptors
> despite sharing interface class 5 (Physical): the HDS200 series
> reports subclass 0 and protocol 0, as documented by the HDS272S dump
> (firmware V5.7.1) in that commit's message, while the VDS1022 reports
> subclass 6 and protocol 0x50. Match the full HDS200 interface
> tuple so that the VDS1022 remains unclaimed and stays accessible to
> userspace tools.
>
> Reported-by: leStoppe <lestoppe@gmail.com>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220193
> Tested-by: leStoppe <lestoppe@gmail.com>
> Signed-off-by: Huang Wei <huangwei@kylinos.cn>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261015025456.3927808-1-huangwei@kylinos.cn?part=1
prev parent reply other threads:[~2026-10-15 2:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 9:13 [PATCH] USB: serial: simple: narrow OWON match to avoid breaking VDS1022 Huang Wei
2026-08-10 11:43 ` Greg Kroah-Hartman
2026-08-10 19:40 ` leStoppe
2026-08-11 13:17 ` Huang Wei
2026-08-11 15:18 ` Amit
2026-08-11 7:39 ` Michal Pecio
2026-08-11 13:05 ` Huang Wei
2026-08-17 8:47 ` Johan Hovold
2026-08-17 9:35 ` Huang Wei
2026-10-13 21:42 ` Amit
2026-10-15 2:54 ` Huang Wei
2026-10-15 2:54 ` [PATCH v2] " Huang Wei
2026-10-15 2:59 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-172188@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=huangwei@kylinos.cn \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.