lkml.org 
[lkml]   [2012]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH linux-3.3.0-rc4 1/1] option: add vid/pid for Novatel Ovation MC551
This patch adds support for the Novatel MC551 USB cell modem.  The
option driver exposes a usb serial port and some novatel specific AT
commands must be issued in order to initiate a connection.

For documentation purposes, here are the commands:

To connect: At$nwqmiconnect=,,
To disconnect: At$nwqmidisconnect
To get status: At$nwqmistatus
To get signal strength: At$nwrssi


After connecting, a new ethernet interface is available (cdc_ether)
and you can configure the interface with DHCP.

-M
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 39ed1f4..c79bcb7 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -204,6 +204,8 @@ static void option_instat_callback(struct urb *urb);
/* OVATION PRODUCTS */
#define NOVATELWIRELESS_PRODUCT_MC727 0x4100
#define NOVATELWIRELESS_PRODUCT_MC950D 0x4400
+#define NOVATELWIRELESS_PRODUCT_MC551 0xB001
+
/*
* Note from Novatel Wireless:
* All PID in the 5xxx range are currently reserved for
@@ -715,6 +717,7 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_G1) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_G1_M) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_G2) },
+ { USB_DEVICE_AND_INTERFACE_INFO(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC551, 0xff, 0xff, 0xff) },

{ USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H01) },
{ USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H01A) },
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
\
 
 \ /
  Last update: 2012-03-02 17:35    [W:0.041 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site