[PATCH v2] USB: Identify Novatel MC760

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

 



From: Richard Laager <rlaager@xxxxxxxxxx>

Identify the Novatel MC760/U760/USB760 in the option USB serial driver.

Signed-off-by: Richard Laager <rlaager@xxxxxxxxxx>
---

I've updated this email to hopefully better conform to the patch
submission guidelines.

I've also updated the patch to call this the MC760 instead of the U760,
as MC760 is what's actually printed on my device (as the last portion of
the FCC ID and IC lines). It also has USB760 printed on the barcode.
Google searches yield the U760 form of the name as well. Therefore, I
left the comment listing all three of them.

On Sat, 2009-04-25 at 21:31 -0700, Greg KH wrote: 
> On Sat, Apr 25, 2009 at 10:05:08PM -0500, Richard Laager wrote:
> > In researching how to deal with this device, I came across the
> > usb-modeswitch program, which uses libusb to deal with these "flip flop"
> > devices in userspace. Someone in #ubuntu-devel told me the desired trend
> > was to deal with these in the kernel.
> 
> They were wrong :)
> 
> The desired way is to do what you are doing, running a userspace program
> when you are "finished" with using the usb storage device, so the modem
> can appear instead.

To be clear, this device appears as *two* USB storage devices. One is
potentially useful to a Linux user, as it corresponds to a microSD slot.
The other, which needs to be ejected to make the modem appear, contains
the Windows drivers and is read-only. This one is never useful to a
Linux user, which is why I want to simply suppress it automatically.

Is this why you put finished in quotes? I simply want to be sure what
the right solution is before I proceed.

Thanks,
Richard

 option.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- drivers/usb/serial/option.c	2009-04-22 12:36:31.000000000 -0500
+++ drivers/usb/serial/option.c	2009-04-22 13:54:07.000000000 -0500
@@ -199,9 +199,9 @@
 #define NOVATELWIRELESS_PRODUCT_MC727		0x4100
 #define NOVATELWIRELESS_PRODUCT_MC950D		0x4400
 #define NOVATELWIRELESS_PRODUCT_U727		0x5010
+#define NOVATELWIRELESS_PRODUCT_MC760		0x6000
 
 /* FUTURE NOVATEL PRODUCTS */
-#define NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED	0X6000
 #define NOVATELWIRELESS_PRODUCT_EVDO_HIGHSPEED	0X6001
 #define NOVATELWIRELESS_PRODUCT_HSPA_FULLSPEED	0X7000
 #define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED	0X7001
@@ -413,7 +415,7 @@
 	{ 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_MC760) }, /* Novatel MC760/U760/USB760 */
 	{ 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 */
 	{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_EMBEDDED_FULLSPEED) }, /* Novatel HSPA Embedded product */


--
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