Re: [PATCH 18/20] USB: Add Vendor/Product ID for new CDMA U727 to option driver

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

 



Hi Greg,
Curious to know, Will this patch affect normal operation of U727
modem's already working with Linux.

This is because, Novatel Wireless U727(and many other modem's) support
ZeroCD install feature.
and it enumerates with VID=0x1410 and PID=0x5010 combination.
So, to switch to modem mode, you needs to do "sudo eject /media/cdrom"
(It could be /dev/sr0, or /dev/sr1 ...etc. )
and U727 will re-enumerate as a modem with VID=0x1410 and PID=0x4100,
showing /dev/ttyUSB0. which is already
supported with option.c
You may not needs to "eject /dev/sr0" always, and can be automated
with udev and with some distributions
it may detect as a modem in first try.

I could be right/wrong, but your comment will clear my doubts.

Ref. 1. http://www.sprint.com/assets/downloads/linux/pdfs/Sprint_Mobile_broadband_Setup_Guide_for_Linux.pdf
       2. http://www.evdoforums.com/thread8546.html

Thanks and Regards,
Shivdas Gujare


On Wed, Mar 18, 2009 at 2:36 AM, Greg Kroah-Hartman <gregkh@xxxxxxx> wrote:
> From: Dirk Hohndel <hohndel@xxxxxxxxxxxxx>
>
> * newer versions of the Novatel Wireless U727 CDMA 3G USB stick
>   have a different Product ID (0x5010); adding this ID makes them
>   work just fine with the option driver
>
> Signed-off-by: Dirk Hohndel <hohndel@xxxxxxxxxxxxx>
> Cc: stable <stable@xxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> ---
>  drivers/usb/serial/option.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
> index 3cf765b..d31fc2b 100644
> --- a/drivers/usb/serial/option.c
> +++ b/drivers/usb/serial/option.c
> @@ -197,6 +197,7 @@ static int  option_send_setup(struct tty_struct *tty, struct usb_serial_port *po
>  /* OVATION PRODUCTS */
>  #define NOVATELWIRELESS_PRODUCT_MC727          0x4100
>  #define NOVATELWIRELESS_PRODUCT_MC950D         0x4400
> +#define NOVATELWIRELESS_PRODUCT_U727           0x5010
>
>  /* FUTURE NOVATEL PRODUCTS */
>  #define NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED 0X6000
> @@ -411,6 +412,7 @@ static struct usb_device_id option_ids[] = {
>        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EU870D) }, /* Novatel EU850D/EU860D/EU870D */
>        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC950D) }, /* Novatel MC930D/MC950D */
>        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC727) }, /* Novatel MC727/U727/USB727 */
> +       { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_U727) }, /* Novatel MC727/U727/USB727 */
>        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED) }, /* Novatel EVDO product */
>        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_FULLSPEED) }, /* Novatel HSPA product */
>        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_FULLSPEED) }, /* Novatel EVDO Embedded product */
> --
> 1.6.0.2
>
> --
> 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
>
--
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