Re: Support from mainline Linux Kernel for new 3G USB device

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

 



Dear Mr. Greg Kroah-Hartman,

Based on your guide, I created a patch for USB driver GSM Modem drivers/usb/serial/option.c.
Patch using diff -up:
Description: Adding VendorID/Product ID (0x2262/0x0002) for USB 3G dongle Model VT1000 of Viettel. It makes option.ko module to bind with VT1000 device.

--- linux-2.6.32/drivers/usb/serial/option.c.orig	2011-11-02 09:22:55.000000000 +0700
+++ linux-2.6.32/drivers/usb/serial/option.c	2011-11-02 09:28:43.000000000 +0700
@@ -71,6 +71,9 @@ static int  option_resume(struct usb_ser
 #endif
 
 /* Vendor and product IDs */
+#define VIETTEL_VENDOR_ID			0x2262
+#define VIETTEL_PRODUCT_VT1000			0x0002
+
 #define OPTION_VENDOR_ID			0x0AF0
 #define OPTION_PRODUCT_COLT			0x5000
 #define OPTION_PRODUCT_RICOLA			0x6000
@@ -604,6 +607,7 @@ static struct usb_device_id option_ids[]
 	{ USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) },
 	{ USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) },
 	{ USB_DEVICE(FOUR_G_SYSTEMS_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14) },
+	{ USB_DEVICE_AND_INTERFACE_INFO(VIETTEL_VENDOR_ID, VIETTEL_PRODUCT_VT1000, 0xff, 0xff, 0xff) }, /* VIETTEL VT1000 product */
 	{ } /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, option_ids);

If you don't mind, please inform me the result of committing patch

Thanks & Best Regards,

VU Tuan Duc

Attachment: patch
Description: Binary data


On Nov 1, 2011, at 8:02 PM, Greg KH wrote:

> On Tue, Nov 01, 2011 at 11:53:52AM +0700, VU Tuan Duc wrote:
>> Dear Mr. Greg Kroah-Hartman,
>> 
>> I'm VU Tuan Duc from Viettel R&D Institute, Viettel Group (please refer to viettelrd.vn ).
>> We produce the USB 3G dongle device. We've already registered VendorID number 0x2262 with USB-IF (www.usb.org). It's compatible with Windows, Linux and Mac OS X.
>> For working properly on Linux OS, we have to modify USB Driver for GSM Modem written by Mathias Urlichs <smurf@xxxxxxxxxxxxxx> (/source/drivers/usb/serial/option.ko)
>> For more convenient, we need an official support from mainline Linux kernel.
>> Could you guide me the way how to get the support from kernel.org for our product?
> 
> Just send a patch in the format described in the file,
> Documentation/SubmittingPatches, to me and copy the linux-usb mailing
> list <linux-usb@xxxxxxxxxxxxxxx> and I will be glad to apply it and add
> it to the main kernel.org tree.
> 
> If you have any furture questions, please let me know.
> 
> thanks,
> 
> greg k-h


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

  Powered by Linux