public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.34 PATCH] USB: option.c: OLIVETTI OLICARD100 support
@ 2010-05-17 12:14 Nils Radtke
  2010-05-17 15:35 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Nils Radtke @ 2010-05-17 12:14 UTC (permalink / raw)
  To: Matthias Urlichs; +Cc: linux-kernel, linux-usb, Greg Kroah-Hartman, stable

From: Nils Radtke <lkml@Think-Future.de>

This patch adds support for an olivetti olicard100 HЅDPA usb-stick.

This device is a zeroCD one with ID 0b3c:c700 that needs switching via 
eject or usb-modeswitch with 
MessageContent="5553424312345678000000000000061b000000030000000000000000000000".
After switching it has ID 0b3c:c000 and provides 5 serial ports ttyUSB[0-4].
Port 0 (modem) and 4 are interrupt ports.

Signed-off-by: Nils Radtke <lkml@Think-Future.de>

---

I guess the previous patch for .33.4 came to late for inclusion. Am I missing
something else to get the IDs merged into .35 or maybe .34.1?

  Thank you,

                    Nils


drivers/usb/serial/option.c |    6 ++++++
1 file changed, 6 insertions(+)


Index: linux/drivers/usb/serial/option.c
===================================================================
--- linux.orig/drivers/usb/serial/option.c	2010-05-17 14:04:57.000000000 +0200
+++ linux/drivers/usb/serial/option.c	2010-05-17 14:05:00.000000000 +0200
@@ -380,6 +380,10 @@
 
 #define CINTERION_VENDOR_ID			0x0681
 
+/* Olivetti products */
+#define OLIVETTI_VENDOR_ID       0x0b3c
+#define OLIVETTI_PRODUCT_OLICARD100      0xc000
+
 /* some devices interfaces need special handling due to a number of reasons */
 enum option_blacklist_reason {
 		OPTION_BLACKLIST_NONE = 0,
@@ -726,6 +730,8 @@
 	{ USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1012)},
 
 	{ USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) },
+
+  { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100) },
 	{ } /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, option_ids);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6.34 PATCH] USB: option.c: OLIVETTI OLICARD100 support
  2010-05-17 12:14 [2.6.34 PATCH] USB: option.c: OLIVETTI OLICARD100 support Nils Radtke
@ 2010-05-17 15:35 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-05-17 15:35 UTC (permalink / raw)
  To: Nils Radtke
  Cc: Matthias Urlichs, linux-kernel, linux-usb, Greg Kroah-Hartman,
	stable

On Mon, May 17, 2010 at 02:14:11PM +0200, Nils Radtke wrote:
> From: Nils Radtke <lkml@Think-Future.de>
> 
> This patch adds support for an olivetti olicard100 HЅDPA usb-stick.
> 
> This device is a zeroCD one with ID 0b3c:c700 that needs switching via 
> eject or usb-modeswitch with 
> MessageContent="5553424312345678000000000000061b000000030000000000000000000000".
> After switching it has ID 0b3c:c000 and provides 5 serial ports ttyUSB[0-4].
> Port 0 (modem) and 4 are interrupt ports.
> 
> Signed-off-by: Nils Radtke <lkml@Think-Future.de>
> 
> ---
> 
> I guess the previous patch for .33.4 came to late for inclusion. Am I missing
> something else to get the IDs merged into .35 or maybe .34.1?

No, just that you need to be a bit more patient, you only send your
first patch on Saturday, give me a chance to get to it...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-17 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-17 12:14 [2.6.34 PATCH] USB: option.c: OLIVETTI OLICARD100 support Nils Radtke
2010-05-17 15:35 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox