From patchwork Thu Feb 25 19:33:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: x@btn.sh X-Patchwork-Id: 12104871 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 869EDC433DB for ; Thu, 25 Feb 2021 19:42:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4CBF364F2C for ; Thu, 25 Feb 2021 19:42:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234087AbhBYTmL (ORCPT ); Thu, 25 Feb 2021 14:42:11 -0500 Received: from xaiki.net ([108.166.209.89]:40930 "EHLO mail.xaiki.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234764AbhBYTkB (ORCPT ); Thu, 25 Feb 2021 14:40:01 -0500 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by mail.xaiki.net (Postfix) with ESMTPA id E658CECAD for ; Thu, 25 Feb 2021 19:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btn.sh; s=dkim; t=1614281594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qjpyDPu6ORPnPCz2neTrf4btUhLM7u9x18+/pNHqXtE=; b=WALKE2s4HphCl547MqTHoJ4txtb681iRIyC++fJHgtutWBATFMrJ7ClBY9VCfuDFuepR70 5joNo15ZG27D3fyM+L9+ndrrDmidv00sl+L6esT+clADp05BfPVdVB1jZqBGcSjVBTFbNt 6mrtqW2tUK8npWZeP5LwhuLeYyWLi9jaK6xMW8X1lCM5RWEYrgrizLEN9ST6Dr1lm4JNf7 UHZRET3UZKINeqlQ++s4civTcWHgNjOi30NHbb4tME/JMdHD9K7KxeMOlQKLTjqYDXvWyZ PniuH6LA5Y9PAg4pyUKM56TSZ4RoRzWNOIzkhw+k3szhu5E9dpNehVRsqTpCfw== MIME-Version: 1.0 Date: Thu, 25 Feb 2021 19:33:14 +0000 From: x@btn.sh Message-ID: <0562cd59f06031d676dd314dbada7371@btn.sh> Subject: [PATCH] USB: serial: ch341: add new Product ID To: linux-usb@vger.kernel.org Authentication-Results: mail.xaiki.net; auth=pass smtp.auth=x@btn.sh smtp.mailfrom=x@btn.sh X-Spamd-Bar: / Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 --- 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);