From patchwork Mon Jun 18 08:24:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 10469773 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3548B6020C for ; Mon, 18 Jun 2018 08:24:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 234002885F for ; Mon, 18 Jun 2018 08:24:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17B0928865; Mon, 18 Jun 2018 08:24:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DE562885F for ; Mon, 18 Jun 2018 08:24:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936164AbeFRIYg (ORCPT ); Mon, 18 Jun 2018 04:24:36 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:41323 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936091AbeFRIYc (ORCPT ); Mon, 18 Jun 2018 04:24:32 -0400 Received: by mail-lf0-f43.google.com with SMTP id d24-v6so23274764lfa.8 for ; Mon, 18 Jun 2018 01:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=u1rnQSYcdpEz82hYYuN6+NRaKXLUxt2n1PjF6xhO0q4=; b=OoeVMeGat8hGIp549NyQHzu2L2aYA9TQvpRwluRhQvBH1FiHqb1s5Lx5sUOW+U4pBs qouyDmseL902va900RTjq6zvEj7A08+eZ21sdP6vJ/YZaS+p7dddBkDe+qcxvdyGbNCp +DS8SHlKzncxm+iutopVsRPimZwJJKstcehL/LWZxhXOuld4rM5oUurOUenZaW6lhrBk UzfSzF8Li7VW45M+Br/mlyMNdQlavVOQUsGLZ6e7YMo8fBNreiMdxgk6eI21yXARythg BoTW9YjpLrfqOq0uvsjqFhhdO4zFFvOPrcaYtqs2R0eYbW+gOH5wVqgewo3HL2Enw0PO FdZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=u1rnQSYcdpEz82hYYuN6+NRaKXLUxt2n1PjF6xhO0q4=; b=I1i5rsVfVYoDq+s7Z4Oy2qT0uliLyOfpPeIBdpv4b1HrG3eJoex+dIcBOCtM951MOM 5TLSI/pOQNoWlwTcmI/qvm+IsMlzDsGXppw1p7qSr4bG2WVITsUdl0/cotl27JgO25gN gIyZMIsnP5NYl8/dfPjpNcENCb+A4LmWf7DbLGBlgUAmOj5IKd50RyqIdOxNxHu3yIyB +yW0UqrTaQAm14hQ7lFf1j8foxDhCvCB4qSW7FVBcxYRj0c5BVpyd8LDXYemb+bV/Zv5 sRo83NYA3rPo9VcR+Jm7NohUo9Io+/InNkwTRryb31PAVKnwNiD1IIQqNb28K185TiRT zVHw== X-Gm-Message-State: APt69E2IZfIvPVXs6tEw3cb6LG/jLcyZ5rxKoVZNSOo0e7UpqD9Mq9pI uiOlSqNK9zAN+oRjwihOITQ= X-Google-Smtp-Source: ADUXVKLrTe0AqnBad7i2tFVX7ogkBCyYbboAdcPp4EzcpAmtDJaKrzmnmwFjzUaPbILLcMHyLV4IQA== X-Received: by 2002:a19:8d15:: with SMTP id p21-v6mr6021031lfd.99.1529310270871; Mon, 18 Jun 2018 01:24:30 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id n84-v6sm2678932lfi.19.2018.06.18.01.24.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jun 2018 01:24:30 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fUpSF-0003IH-70; Mon, 18 Jun 2018 10:24:03 +0200 Date: Mon, 18 Jun 2018 10:24:03 +0200 From: Johan Hovold To: Carlos Barcala Lara Cc: johan@kernel.org, linux-usb@vger.kernel.org Subject: Re: Inquiry for adding PID to Cp2102 driver Message-ID: <20180618082403.GJ32411@localhost> References: <246900dc-679d-28fd-0875-b49fda19b956@cesinel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <246900dc-679d-28fd-0875-b49fda19b956@cesinel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Fri, Jun 15, 2018 at 05:05:38PM +0200, Carlos Barcala Lara wrote: > Dear Johan (and rest of the team) > > This is Carlos Barcala, from CESINEL SL, in Spain. We are a little manufacturer > of Power Quality Analyzers and Energy Meters. We include in all our products > the Silabs CP2102 chip for USB communications and we would like to include > support for our instruments in Linux. > > Somebody gave me your contact regarding this matter, so I beg you to include > the following items in the Silabs CP2102 Linux kernelĀ“s driver: > > USB\VID_10C4&PID_817C --> "CESINEL MEDCAL N Power Quality Monitor" > USB\VID_10C4&PID_817D --> "CESINEL MEDCAL NT Power Quality Monitor" > USB\VID_10C4&PID_817E --> "CESINEL MEDCAL S Power Quality Monitor" > USB\VID_10C4&PID_82EF --> "CESINEL FALCO 6105 AC Power Supply" > USB\VID_10C4&PID_82F1 --> "CESINEL MEDCAL EFD Earth Fault Detector" > USB\VID_10C4&PID_82F2 --> "CESINEL MEDCAL ST Network Analyzer" > USB\VID_10C4&PID_851E --> "CESINEL MEDCAL PT Network Analyzer" > USB\VID_10C4&PID_85B8 --> "CESINEL ReCon T Energy Logger" > USB\VID_10C4&PID_88FB --> "CESINEL MEDCAL STII Network Analyzer" > USB\VID_10C4&PID_8938 --> "CESINEL MEDCAL S II Network Analyzer" > USB\VID_10C4&PID_89A4 --> "CESINEL FTBC Flexible Thyristor Bridge Controller" Would you mind taking a look at the below patch and double check that I got all the entries right? If you ever need to add more ids you you could use that patch as a basis. Thanks, Johan From c4e9e567fadd76cfe9f70fc9377598a6b7187c38 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Mon, 18 Jun 2018 10:09:44 +0200 Subject: [PATCH] USB: serial: cp210x: add CESINEL device ids Add device ids for CESINEL products. Reported-by: Carlos Barcala Lara Cc: stable Signed-off-by: Johan Hovold --- drivers/usb/serial/cp210x.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 14cf657247b6..ee0cc1d90b51 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -95,6 +95,9 @@ static const struct usb_device_id id_table[] = { { USB_DEVICE(0x10C4, 0x8156) }, /* B&G H3000 link cable */ { USB_DEVICE(0x10C4, 0x815E) }, /* Helicomm IP-Link 1220-DVM */ { USB_DEVICE(0x10C4, 0x815F) }, /* Timewave HamLinkUSB */ + { USB_DEVICE(0x10C4, 0x817C) }, /* CESINEL MEDCAL N Power Quality Monitor */ + { USB_DEVICE(0x10C4, 0x817D) }, /* CESINEL MEDCAL NT Power Quality Monitor */ + { USB_DEVICE(0x10C4, 0x817E) }, /* CESINEL MEDCAL S Power Quality Monitor */ { USB_DEVICE(0x10C4, 0x818B) }, /* AVIT Research USB to TTL */ { USB_DEVICE(0x10C4, 0x819F) }, /* MJS USB Toslink Switcher */ { USB_DEVICE(0x10C4, 0x81A6) }, /* ThinkOptics WavIt */ @@ -112,6 +115,9 @@ static const struct usb_device_id id_table[] = { { USB_DEVICE(0x10C4, 0x826B) }, /* Cygnal Integrated Products, Inc., Fasttrax GPS demonstration module */ { USB_DEVICE(0x10C4, 0x8281) }, /* Nanotec Plug & Drive */ { USB_DEVICE(0x10C4, 0x8293) }, /* Telegesis ETRX2USB */ + { USB_DEVICE(0x10C4, 0x82EF) }, /* CESINEL FALCO 6105 AC Power Supply */ + { USB_DEVICE(0x10C4, 0x82F1) }, /* CESINEL MEDCAL EFD Earth Fault Detector */ + { USB_DEVICE(0x10C4, 0x82F2) }, /* CESINEL MEDCAL ST Network Analyzer */ { USB_DEVICE(0x10C4, 0x82F4) }, /* Starizona MicroTouch */ { USB_DEVICE(0x10C4, 0x82F9) }, /* Procyon AVS */ { USB_DEVICE(0x10C4, 0x8341) }, /* Siemens MC35PU GPRS Modem */ @@ -124,7 +130,9 @@ static const struct usb_device_id id_table[] = { { USB_DEVICE(0x10C4, 0x8470) }, /* Juniper Networks BX Series System Console */ { USB_DEVICE(0x10C4, 0x8477) }, /* Balluff RFID */ { USB_DEVICE(0x10C4, 0x84B6) }, /* Starizona Hyperion */ + { USB_DEVICE(0x10C4, 0x851E) }, /* CESINEL MEDCAL PT Network Analyzer */ { USB_DEVICE(0x10C4, 0x85A7) }, /* LifeScan OneTouch Verio IQ */ + { USB_DEVICE(0x10C4, 0x85B8) }, /* CESINEL ReCon T Energy Logger */ { USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */ { USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */ { USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */ @@ -134,10 +142,13 @@ static const struct usb_device_id id_table[] = { { USB_DEVICE(0x10C4, 0x8857) }, /* CEL EM357 ZigBee USB Stick */ { USB_DEVICE(0x10C4, 0x88A4) }, /* MMB Networks ZigBee USB Device */ { USB_DEVICE(0x10C4, 0x88A5) }, /* Planet Innovation Ingeni ZigBee USB Device */ + { USB_DEVICE(0x10C4, 0x88FB) }, /* CESINEL MEDCAL STII Network Analyzer */ + { USB_DEVICE(0x10C4, 0x8938) }, /* CESINEL MEDCAL S II Network Analyzer */ { USB_DEVICE(0x10C4, 0x8946) }, /* Ketra N1 Wireless Interface */ { USB_DEVICE(0x10C4, 0x8962) }, /* Brim Brothers charging dock */ { USB_DEVICE(0x10C4, 0x8977) }, /* CEL MeshWorks DevKit Device */ { USB_DEVICE(0x10C4, 0x8998) }, /* KCF Technologies PRN */ + { USB_DEVICE(0x10C4, 0x89A4) }, /* CESINEL FTBC Flexible Thyristor Bridge Controller */ { USB_DEVICE(0x10C4, 0x8A2A) }, /* HubZ dual ZigBee and Z-Wave dongle */ { USB_DEVICE(0x10C4, 0x8A5E) }, /* CEL EM3588 ZigBee USB Stick Long Range */ { USB_DEVICE(0x10C4, 0x8B34) }, /* Qivicon ZigBee USB Radio Stick */