Re: [PATCH] Add support for the IMST USB-Stick for Smart Meter device to the cp210x driver.

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

 



On Fri, Jan 05, 2024 at 11:59:16AM +0100, leonard.dallmayr@xxxxxxxxxxx wrote:
> From: Leonard Dallmayr <leonard.dallmayr@xxxxxxxxxxx>
> 
> The device IMST USB-Stick for Smart Meter is a rebranded iM871A-USB Wireless M-Bus USB-adapter. It is used to measure smart meters for electricity, 
> heating, water, etc.

Please wrap you commit message at 72 chars or so and also use a more
succinct commit summary (Subject) including the common prefix ("USB:
serial: cp210x: ").
 
> Signed-off-by: Leonard Dallmayr <leonard.dallmayr@xxxxxxxxxxx>
> ---
>  drivers/usb/serial/cp210x.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
> index 1e61fe043171..099cde4974a3 100644
> --- a/drivers/usb/serial/cp210x.c
> +++ b/drivers/usb/serial/cp210x.c
> @@ -146,6 +146,7 @@ static const struct usb_device_id id_table[] = {
>  	{ USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */
>  	{ 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 */

Use uppercase hex as the other entries in this file do.

>  	{ USB_DEVICE(0x10C4, 0x8856) },	/* CEL EM357 ZigBee USB Stick - LR */
>  	{ USB_DEVICE(0x10C4, 0x8857) },	/* CEL EM357 ZigBee USB Stick */
>  	{ USB_DEVICE(0x10C4, 0x88A4) }, /* MMB Networks ZigBee USB Device */

Johan




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

  Powered by Linux