Message ID | 18444448-6e04-4d28-b93d-5852958e35c1@orexplore.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-65076-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1123738dyb; Wed, 14 Feb 2024 02:47:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXa/zPce4e8PFnLetuScm0BscyuGpSLn6xI63jDgFdfC9j6f7Ol+kRd5+YmDdnRwgdNV9ZenHPWqrRMPQ+bERWMma758g== X-Google-Smtp-Source: AGHT+IGwodFoB36Y1SASpC5RZ7m/8oJTAkcjY8nGdvkrN9xce2R5nsehaak4OHLHJhfd2QaEZju/ X-Received: by 2002:a0c:f10f:0:b0:68c:89cc:1a20 with SMTP id i15-20020a0cf10f000000b0068c89cc1a20mr2358462qvl.8.1707907673469; Wed, 14 Feb 2024 02:47:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707907673; cv=pass; d=google.com; s=arc-20160816; b=teKsTsEts66OElUc7sXYEZ1hMzVU4YiRG7Bwj/thGoXyjvYYv1fBvYb8ybdMHYQJj2 /0VqVVY2AnKLiwrgtjHWkWV1nfJ96IrTGqVLtdQ7+vXhJArP+OimxH/HF3S7rNHaR0p6 X5KjQ/17Nithc4MAjdVtN29g9nucnAx/LeF53Es8uRE8lIRf1bEfJ1flhUUZj7+WSFc5 dPM7bXaaleLpPu8lPR1szASm/DQcrXUiS+8mnrlmzd9CORkKet6uIS6NvyUkzGxB/AsE METctM2zPjHgakI+ar3ZZoxvwu/k2Bu/cjV+t+Zo9HHDSQpzqgQLvPIWwfoiH+udFgNd 8rnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:from:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=DWaA8J8k9q8zsSb+XvN8old+8VI1DLxksteg4CKxM84=; fh=CpKTgqJTJ4HUzL+ukV5K4UbhP39YEBjcNr9Bm5ytXVE=; b=c3bomysRZbzhTTmAPZDwpsxkED19RMmsk/qIkMT/l1PGUg0kau7rBd2wioNs+r+92K mYiVlT7F+iK8m/f+q4hcwVduvDZIls9Z14Z/8ZX5iMd/OjRSZE6HHe/FpvqFxsBBJH+z MuHnL9lrJ4nFmqiyjTct5KEov6EuGf46ikjVrw22JwUa40o787pnUY2cDwqIKNulwZv6 NSh67x8i2AWS2GajJYnNzyWEqFgAvgyidJmHHEkkge92g3HZjiwdmSSBmGIOg8NTrpY9 yD6+0SIWnFuRHqZiG/2D/B3ZUxfIaWyFEpEMmFGhgvMAaaVlxJpepZToLaYsq3Zn/9u8 NCBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@orexplore-com.20230601.gappssmtp.com header.s=20230601 header.b=1SrNxuIx; arc=pass (i=1 spf=pass spfdomain=orexplore.com dkim=pass dkdomain=orexplore-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-65076-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65076-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUruZsUudhYHHdWlxd+HvTaXW2Q9h+xGaU+iJWskCOUPtITZY8EJDhRFtf7WqMa6Q2Fnpkmun5vASTjahNrpNYwo1peeQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ey2-20020a0562140b6200b0068c8519a28esi2995796qvb.398.2024.02.14.02.47.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:47:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65076-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@orexplore-com.20230601.gappssmtp.com header.s=20230601 header.b=1SrNxuIx; arc=pass (i=1 spf=pass spfdomain=orexplore.com dkim=pass dkdomain=orexplore-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-65076-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65076-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4677F1C226E2 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 10:47:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FE1418E29; Wed, 14 Feb 2024 10:47:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=orexplore-com.20230601.gappssmtp.com header.i=@orexplore-com.20230601.gappssmtp.com header.b="1SrNxuIx" Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F39EC18E10 for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2024 10:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707907654; cv=none; b=SsKHBDPUUrbroY3bbkqfBrd/Z9IBF5WFFfR1e1/elzgWZX1jWkE2L9XNYaOsLkHVg5jHFj6VZlo5eLyvnE7milycKHubZ+tSxmQVmygnCRKxNvZ8k1Y7OqeZp9m1zHZwAgqK1I/NkM5NpgzjBLGHImeqoJyg+/Q8gUIQfuImP60= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707907654; c=relaxed/simple; bh=MO3JxlrQ/cVmUX7PKXni7ujhJaqoXyJJtpFjOcyfB7A=; h=Message-ID:Date:MIME-Version:From:Subject:To:Content-Type; b=tjoFVcycUYk/yTzpbKgCpB+/oL8owNaDx+wvlrt+Ao5+/qJ+V+gtVlpSR4mD7HTfWRS4dd9BPDquiSlLvMmPNVMXf8EeilPczeTlKYYlLKGHhNxRE3TvldmKhmf4rYX7rtUuzpo8dOl4LIAOPd0oax7cLXYquw7QWZZcxZ9n3o4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orexplore.com; spf=pass smtp.mailfrom=orexplore.com; dkim=pass (2048-bit key) header.d=orexplore-com.20230601.gappssmtp.com header.i=@orexplore-com.20230601.gappssmtp.com header.b=1SrNxuIx; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orexplore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=orexplore.com Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-511a4a1c497so659330e87.3 for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2024 02:47:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orexplore-com.20230601.gappssmtp.com; s=20230601; t=1707907651; x=1708512451; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:from:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=DWaA8J8k9q8zsSb+XvN8old+8VI1DLxksteg4CKxM84=; b=1SrNxuIx0xAx3BsBX96wuaN0PtUVU6jucckCq3afaY7ttGbtZw0Re6y0uH0A9ddxe3 H9ODij7cIiXv6OY74uTPZ7MpaS04rKl22kdDO2g0zQxlqe/p/uOpd9ZzJlwMEu8FCoce Ax8mYEW74KAjgBNDDeaNjKtFaZODU3m+Ck4/lXSJCYG4NcxGa7k0ujjElAKlEmGzgHc4 G6wDs2ZHVyraNWwUsbsmk+9akMBHCP1KWftzzaWzzw+NSzsUZ6ruoPmxX+bZ6tM4vSbh YPMlESHxK0ZEOuxBUOHe1+MvS2Y/wzlD9WHFx1UKKQLt76uxTodml8Q1gYma8wE/CRUl dOcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707907651; x=1708512451; h=content-transfer-encoding:to:subject:from:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=DWaA8J8k9q8zsSb+XvN8old+8VI1DLxksteg4CKxM84=; b=XTZwOnNM045ykhx4KUutOYS1U5NoRljfTarGPY3NYLqJcyOfv0OJ/S2v2d83Y9Obz4 F/UQAWrjhKgF27jRMoVZpmk7B7XRI0rSLylrmp7AxO+Th+xrqUaRBpuGi7ujt6zk93q1 mh0Kkx0Mt995ch08LxylgcBU8YI2syKPIRWSJzAh0sAep0dQzhDZqqIVdRWqzNU6WFY9 odd/L8ld4qGCz8j54l09cPn1uwWz0aY5sb164qBY82wpB4KgTzMIFoaaUtOydqDtLb7+ wxagO8Gd5e59Zrh+d+gBHJQr170muVHVIOlD72KXTrF9sMTudS/zViftPLuPI1bB5+QV WBcA== X-Forwarded-Encrypted: i=1; AJvYcCX0rJGFCrMVekhJeDK8Ne7rw6LPTSMci4RF4fa9vfnD8Rf/jmx65E6SFq8XvWGBLiLs2aqCcs21SwlpBA6eqsPzfXjQnVG9Drd0sqtY X-Gm-Message-State: AOJu0YwYX5Kwon6ta56xGGP4h9jy3EnLGM/jt/BAK6x7tgZiB8tQbJd7 AhvTak0bddp71nn8iN+dxBnGEROcF3MYc9SbkB6aEAkpihazOadxSphHX28qUA0= X-Received: by 2002:a05:6512:110a:b0:511:84fe:8dcd with SMTP id l10-20020a056512110a00b0051184fe8dcdmr2026615lfg.1.1707907650786; Wed, 14 Feb 2024 02:47:30 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXIQj84KE0a/LO0SIoych96XLVdiec+QebWdZK2byN13Pi0Km9YXd1QQTh9la7lpO4Pf+5KUzrgad6mw3uUTsK61/X/2vmCv/XAG7ppScVKRNuckGuvKW+zMHr3oYokqwcDOfPCyw/wVAwR22KtSjK+T2TR/1rUWeWgsiMMOUOrZLddLw== Received: from [192.168.0.212] (h-109-228-184-226.A137.corp.bahnhof.se. [109.228.184.226]) by smtp.gmail.com with ESMTPSA id fb13-20020a056512124d00b005118d5b3adbsm1185349lfb.98.2024.02.14.02.47.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 02:47:30 -0800 (PST) Message-ID: <18444448-6e04-4d28-b93d-5852958e35c1@orexplore.com> Date: Wed, 14 Feb 2024 11:47:29 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: =?utf-8?b?Q2hyaXN0aWFuIEjDpGdnc3Ryw7Zt?= <christian.haggstrom@orexplore.com> Subject: [PATCH] USB: serial: cp210x: add ID for MGP Instruments PDS100 To: Johan Hovold <johan@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790870996528519469 X-GMAIL-MSGID: 1790870996528519469 |
Series |
USB: serial: cp210x: add ID for MGP Instruments PDS100
|
|
Commit Message
Christian Häggström
Feb. 14, 2024, 10:47 a.m. UTC
The radiation meter has the text MGP Instruments PDS-100G or PDS-100GN
produced by Mirion Technologies. Tested by forcing the driver
association with
echo 10c4 863c > /sys/bus/usb-serial/drivers/cp210x/new_id
and then setting the serial port in 115200 8N1 mode. The device
announces ID_USB_VENDOR_ENC=Silicon\x20Labs and ID_USB_MODEL_ENC=PDS100
Signed-off-by: Christian Häggström <christian.haggstrom@orexplore.com>
---
drivers/usb/serial/cp210x.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Wed, Feb 14, 2024 at 11:47:29AM +0100, Christian Häggström wrote: > The radiation meter has the text MGP Instruments PDS-100G or PDS-100GN > produced by Mirion Technologies. Tested by forcing the driver > association with > > echo 10c4 863c > /sys/bus/usb-serial/drivers/cp210x/new_id > > and then setting the serial port in 115200 8N1 mode. The device > announces ID_USB_VENDOR_ENC=Silicon\x20Labs and ID_USB_MODEL_ENC=PDS100 > > Signed-off-by: Christian Häggström <christian.haggstrom@orexplore.com> Now applied, thanks. Johan
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 923e0ed85444..ab725c2c5594 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -144,6 +144,7 @@ static const struct usb_device_id id_table[] = { { USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */ { USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */ { USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */ + { USB_DEVICE(0x10C4, 0x863C) }, /* MGP Instruments PDS100 */ { USB_DEVICE(0x10C4, 0x8664) }, /* AC-Services CAN-IF */ { USB_DEVICE(0x10C4, 0x8665) }, /* AC-Services OBD-IF */ { USB_DEVICE(0x10C4, 0x87ED) }, /* IMST USB-Stick for Smart Meter */