public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] USB: Added quirk to recognize GE0301 3G modem as an interface.
@ 2013-03-13 18:24 manoj.iyer
  2013-03-13 18:25 ` [PATCH 1/1] " manoj.iyer
  0 siblings, 1 reply; 3+ messages in thread
From: manoj.iyer @ 2013-03-13 18:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: Greg Kroah-Hartman, Andy Whitcroft, Timo Aaltonen, linux-usb,
	manoj.iyer

From: Manoj Iyer <manoj.iyer@canonical.com>

This patch enables GE0301 3G modem as an interface, the patch has been 
part of the Ubuntu kernel for a while but I forgot to upstream. 
Test details can be found in the bug http://bugs.launchpad.net/bugs/348861

Please consider this patch for upstream. 

Manoj Iyer (1):
  USB: Added quirk to recognize GE0301 3G modem as an interface.

 drivers/usb/storage/unusual_devs.h |    7 +++++++
 1 file changed, 7 insertions(+)

-- 
1.7.9.5


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

* [PATCH 1/1] USB: Added quirk to recognize GE0301 3G modem as an interface.
  2013-03-13 18:24 [PATCH 0/1] USB: Added quirk to recognize GE0301 3G modem as an interface manoj.iyer
@ 2013-03-13 18:25 ` manoj.iyer
  2013-03-13 18:51   ` Bjørn Mork
  0 siblings, 1 reply; 3+ messages in thread
From: manoj.iyer @ 2013-03-13 18:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Greg Kroah-Hartman, Andy Whitcroft, Timo Aaltonen, linux-usb,
	manoj.iyer

From: Manoj Iyer <manoj.iyer@canonical.com>

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Reported-by: Timo Aaltonen <tjaalton@ubuntu.com>
Original-author: Timo Aaltonen <tjaalton@ubuntu.com>

BugLink: http://bugs.launchpad.net/bugs/348861
---
 drivers/usb/storage/unusual_devs.h |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 72923b5..f31a6f9 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -1169,6 +1169,13 @@ UNUSUAL_DEV(  0x0af0, 0x6971, 0x0000, 0x9999,
 		USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
 		0),
 
+/* Reported by Timo Aaltonen <tjaalton@ubuntu.com> */
+UNUSUAL_DEV( 0x0af0, 0x7011, 0x0000, 0x9999,
+		"Option",
+		"Mass Storage",
+		USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
+		0 ),
+
 /* Reported by F. Aben <f.aben@option.com>
  * This device (wrongly) has a vendor-specific device descriptor.
  * The entry is needed so usb-storage can bind to it's mass-storage
-- 
1.7.9.5


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

* Re: [PATCH 1/1] USB: Added quirk to recognize GE0301 3G modem as an interface.
  2013-03-13 18:25 ` [PATCH 1/1] " manoj.iyer
@ 2013-03-13 18:51   ` Bjørn Mork
  0 siblings, 0 replies; 3+ messages in thread
From: Bjørn Mork @ 2013-03-13 18:51 UTC (permalink / raw)
  To: manoj.iyer
  Cc: linux-kernel, Greg Kroah-Hartman, Andy Whitcroft, Timo Aaltonen,
	linux-usb

manoj.iyer@canonical.com writes:

> +/* Reported by Timo Aaltonen <tjaalton@ubuntu.com> */
> +UNUSUAL_DEV( 0x0af0, 0x7011, 0x0000, 0x9999,
> +		"Option",
> +		"Mass Storage",
> +		USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
> +		0 ),
> +
>  /* Reported by F. Aben <f.aben@option.com>
>   * This device (wrongly) has a vendor-specific device descriptor.
>   * The entry is needed so usb-storage can bind to it's mass-storage


This device is already supported by the default usb_modeswitch
configuration: 

               bjorn@nemi:~$ tar zxOvf /usr/share/usb_modeswitch/configPack.tar.gz 0af0:7011
               0af0:7011
               # Option HSO device

               TargetClass=0xff

               MessageContent="55534243785634120100000080000601000000000000000000000000000000"

               NoDriverLoading=1


Install the usb-modeswitch package and you're done.  No need to patch
the kernel for this.


Bjørn

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

end of thread, other threads:[~2013-03-13 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 18:24 [PATCH 0/1] USB: Added quirk to recognize GE0301 3G modem as an interface manoj.iyer
2013-03-13 18:25 ` [PATCH 1/1] " manoj.iyer
2013-03-13 18:51   ` Bjørn Mork

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