From patchwork Tue Jun 13 09:33:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Neukum X-Patchwork-Id: 107217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp420358vqr; Tue, 13 Jun 2023 02:51:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43nSvT27p7FmFfIWl+LQpOBeepg27/EsxhEI10TfIOFEvTTDnjmL85MBBi3PwmHU1QoScV X-Received: by 2002:a17:90a:195c:b0:253:45ce:fad7 with SMTP id 28-20020a17090a195c00b0025345cefad7mr9501278pjh.31.1686649865454; Tue, 13 Jun 2023 02:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686649865; cv=none; d=google.com; s=arc-20160816; b=HQjMQrYUcT0QJjo36BeJOFcCVZ/psrMB+aW/uM++ZHA5HuL9C/1gF7q0G/vqFzvK5R 2UPYajvUmXw2uwmS/E9LclUFRtIR3tKEDX/acozOsHd0Jxr8HK5BU2LQKDxm3MFhWkXK upR3jhUt4gF6e3plsx2lzKkASsREdmktQLDB94/Ez62larRkfRNK46K+R1olQLRECNtR UM4wlAzUHSMgg9ytJNoSSVR2oQGTxVu7pGNc6IxMfnE99L38SiKWQY1jopp6ineSp8lN nRmTzV4pm56ZxCOjq7Q01mkwInQWKtOvKZixIVsFbTWDxg+wOtFJaaSyegFLGPcNy5Dx /YWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GlzmACPyawv8OfZT530jlUOfpp9OFVAgjTCdvZxd+ug=; b=06aGIzOyTxRPmQY/DxxW8MeqNJqQzEb1xpnJp91hx7GGCJzOs1niqelWRoy36XLj2w oKj9qKzAmjT0qq496vEMf50EcT0xB3LlAW6tIQKb+rsAbaSzKqVQCwAs8H3sSpzkCeH/ ZBYszM4R1JlXbLeZrWjldxmyj//YV4Ee2fqbxiCsp4xiIKleDV3Z0FdF5jw5iYaLGpbG DfZW8kqboJ1lFjKQH0q2xCqI/ObdttfeejgVKcdT4/6prU4G6UsgFd9a+1HSMF23RGAK /E7GK4qQE7N0VNc4GNvjr99TYloFkt9JrmMqbBwLocqlywwBUcxPeufMrwXv9V2Y2qmc iJRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=SYEdpOwN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a17090a3d0d00b00259a3c7fb52si8228504pjc.27.2023.06.13.02.50.52; Tue, 13 Jun 2023 02:51:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=SYEdpOwN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241045AbjFMJeE (ORCPT + 99 others); Tue, 13 Jun 2023 05:34:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240587AbjFMJd5 (ORCPT ); Tue, 13 Jun 2023 05:33:57 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B55E52; Tue, 13 Jun 2023 02:33:55 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 90E612264B; Tue, 13 Jun 2023 09:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1686648834; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GlzmACPyawv8OfZT530jlUOfpp9OFVAgjTCdvZxd+ug=; b=SYEdpOwNTCvN0WaXD9vrLSYBwQgdbY3nFnARYGHjNflpu2/8EaA66fXdSo5h3NBxvvAaN+ /LBbbrVPbdcFzlwy8q4IbNLGpaFN5iyokRywFFLCPpG/qVydiOBv3x/Rl25PbXBbMg7Pv5 +nCUCb/dev6RmWDFytVZnqdjTbo5ClE= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4C27413345; Tue, 13 Jun 2023 09:33:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7ZPHDwI4iGSjVgAAMHmgww (envelope-from ); Tue, 13 Jun 2023 09:33:54 +0000 From: Oliver Neukum To: johan@kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Oliver Neukum , Kaufmann Automotive GmbH Subject: [PATCH] USB: serial-simple: adding Kaufmann RKS+CAN VCP Date: Tue, 13 Jun 2023 11:33:51 +0200 Message-Id: <20230613093351.3383-1-oneukum@suse.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768580569573572999?= X-GMAIL-MSGID: =?utf-8?q?1768580569573572999?= Adding the device and product ID Reported-by: Kaufmann Automotive GmbH Tested-by: Kaufmann Automotive GmbH Signed-off-by: Oliver Neukum --- drivers/usb/serial/usb-serial-simple.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c index 4c6747889a19..3612031030bb 100644 --- a/drivers/usb/serial/usb-serial-simple.c +++ b/drivers/usb/serial/usb-serial-simple.c @@ -117,6 +117,11 @@ DEVICE(suunto, SUUNTO_IDS); { USB_DEVICE(0x908, 0x0004) } DEVICE(siemens_mpi, SIEMENS_IDS); +/* KAUFMANN RKS+CAN VCP */ +#define KAUFMANN_IDS() \ + { USB_DEVICE(0x16d0, 0x0870) } +DEVICE(kaufmann, KAUFMANN_IDS); + /* All of the above structures mushed into two lists */ static struct usb_serial_driver * const serial_drivers[] = { &carelink_device, @@ -133,6 +138,7 @@ static struct usb_serial_driver * const serial_drivers[] = { &hp4x_device, &suunto_device, &siemens_mpi_device, + &kaufmann_device, NULL }; @@ -151,6 +157,7 @@ static const struct usb_device_id id_table[] = { HP4X_IDS(), SUUNTO_IDS(), SIEMENS_IDS(), + KAUFMANN_IDS(), { }, }; MODULE_DEVICE_TABLE(usb, id_table);