Re: [PATCH] Drivers: Added entry for Hiro (Conexant) modem in cdc-acm.c.

From: Oliver Neukum
Date: Tue Nov 20 2018 - 03:56:59 EST


On Mo, 2018-11-19 at 23:18 +0000, Maarten Jacobs wrote:
> The cdc-acm kernel module currently does not support the Hiro (Conexant)
> H05228 USB modem. The patch below adds the device specific information:
> idVendor 0x0572
> idProduct 0x1349
>
> I am running with this patch on my local system and am therefore
> sumbitting the patch for formal inclusion in the kernel.
>
> Signed-off-by: Maarten Jacobs <maarten256@xxxxxxxxxxx>
Acked-by: Oliver Neukum <oneukum@xxxxxxxx>
> ---
> drivers/usb/class/cdc-acm.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
> index 47d75c20c211..cce5bc59c943 100644
> --- a/drivers/usb/class/cdc-acm.c
> +++ b/drivers/usb/class/cdc-acm.c
> @@ -1693,6 +1693,9 @@ static const struct usb_device_id acm_ids[] = {
> { USB_DEVICE(0x0572, 0x1324), /* Conexant USB MODEM RD02-D400 */
> .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> },
> + { USB_DEVICE(0x0572, 0x1349), /* Hiro (Conexant) USB MODEM H50228 */
> + .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> + },
> { USB_DEVICE(0x0572, 0x1328), /* Shiro / Aztech USB MODEM UM-3100 */
> .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> },