From: x@btn.sh
To: linux-usb@vger.kernel.org
Subject: [PATCH] USB: serial: ch341: add new Product ID
Date: Thu, 25 Feb 2021 19:33:14 +0000 [thread overview]
Message-ID: <0562cd59f06031d676dd314dbada7371@btn.sh> (raw)
Add PID for CH340 that's found on cheap programers. They are sometimes refered to as ANU232MI like
in this one:
https://www.nordfield.com/downloads/anu232mi/ANU232MI-datasheet.pdf
The driver works flawlessly as soon as the new PID (0x9986) is added to it.
Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
---
drivers/usb/serial/ch341.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index 28deaaec581f..f26861246f65 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -86,6 +86,7 @@ static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x1a86, 0x7522) },
{ USB_DEVICE(0x1a86, 0x7523) },
{ USB_DEVICE(0x4348, 0x5523) },
+ { USB_DEVICE(0x9986, 0x7523) },
{ },
};
MODULE_DEVICE_TABLE(usb, id_table);
--
2.30.1
next reply other threads:[~2021-02-25 19:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-25 19:33 x [this message]
2021-02-26 7:12 ` [PATCH] USB: serial: ch341: add new Product ID Greg KH
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=0562cd59f06031d676dd314dbada7371@btn.sh \
--to=x@btn.sh \
--cc=linux-usb@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox