Re: USB driver assignment request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Oliver,

thank you very much providing the patch (attached).

I finally had time to test it and everything works fine!

[ 8061.025594] usbserial: USB Serial support registered for kaufmann
[ 8061.025611] usb_serial_simple 2-1.3:1.0: kaufmann converter detected
[ 8061.031722] usb 2-1.3: kaufmann converter now attached to ttyUSB0

I would be happy if my vendor/device ids could be added for future in usb-serial-simple.

Best regards, Rainer


Kaufmann Automotive GmbH
Dipl.Ing.(FH) Rainer Kaufmann
Süsswinkelstrasse 9
CH-9453 Eichberg

Web: https://www.kaufmann-automotive.ch

********************************************************************************
Diese E-Mail, einschließlich sämtlicher mit ihr übertragener Dateien,
ist vertraulich. Eine Weitergabe an andere als die adressierten Personen
oder Unternehmen darf nur im Einverständnis der Adressaten erfolgen.
********************************************************************************

Am 03.05.23 um 13:37 schrieb Oliver Neukum:


On 02.05.23 23:43, Kaufmann Automotive GmbH wrote:
Dear sirs and madams,


please assign idVendor=16d0, idProduct=0870 to be used as virtual serial port.

Hi,

please test the attached patch.

     Regards
         Oliver
From 1bb86959b669768e2dc691ee84ab1e442f56f829 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@xxxxxxxx>
Date: Wed, 3 May 2023 13:34:47 +0200
Subject: [PATCH] USB: serial-simple: adding Kaufmann RKS+CAN VCP

Adding the device and product ID

Reported-by: Kaufmann Automotive GmbH <info@xxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Oliver Neukum <oneukum@xxxxxxxx>
---
 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);
-- 
2.40.1


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux