Re: [PATCH] option: add Quectel UC15, UC20, EC21, and EC25 modems

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

 



So i can expect these to be added soon?

Thanks,
Bali


> On Mar 9, 2017, at 12:32 PM, Dan Williams <dcbw@xxxxxxxxxx> wrote:
> 
> Add Quectel UC15, UC20, EC21, and EC25.  The EC20 is handled by
> qcserial due to a USB VID/PID conflict with an existing Acer
> device.
> 
> Signed-off-by: Dan Williams <dcbw@xxxxxxxxxx>
> ---
> NOTE: The UC20, EC21, and EC25 should also get a corresponding qmi_wwan
> patch but I don't have that lying around at this time.
> 
> diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
> index 9894e34..d4f36df 100644
> --- a/drivers/usb/serial/option.c
> +++ b/drivers/usb/serial/option.c
> @@ -233,6 +233,14 @@ static void option_instat_callback(struct urb *urb);
> #define BANDRICH_PRODUCT_1012			0x1012
> 
> #define QUALCOMM_VENDOR_ID			0x05C6
> +/* These Quectel products use Qualcomm's vendor ID */
> +#define QUECTEL_PRODUCT_UC15			0x9090
> +#define QUECTEL_PRODUCT_UC20			0x9003
> +
> +#define QUECTEL_VENDOR_ID			0x2c7c
> +/* These Quectel products use Quectel's vendor ID */
> +#define QUECTEL_PRODUCT_EC21			0x0121
> +#define QUECTEL_PRODUCT_EC25			0x0125
> 
> #define CMOTECH_VENDOR_ID			0x16d8
> #define CMOTECH_PRODUCT_6001			0x6001
> @@ -1159,7 +1167,14 @@ static const struct usb_device_id option_ids[] = {
> 	{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
> 	{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0023)}, /* ONYX 3G device */
> 	{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9000)}, /* SIMCom SIM5218 */
> -	{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9003), /* Quectel UC20 */
> +	/* Quectel products using Qualcomm vendor ID */
> +	{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC15)},
> +	{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC20),
> +	  .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> +	/* Quectel products using Quectel vendor ID */
> +	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21),
> +	  .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> +	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25),
> 	  .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> 	{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },
> 	{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) },

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux