public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Bjørn Mork" <bjorn@mork.no>
To: manoj.iyer@canonical.com
Cc: linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andy Whitcroft <apw@canonical.com>,
	Timo Aaltonen <tjaalton@ubuntu.com>,
	linux-usb@vger.kernel.org
Subject: Re: [PATCH 1/1] USB: Added quirk to recognize GE0301 3G modem as an interface.
Date: Wed, 13 Mar 2013 19:51:16 +0100	[thread overview]
Message-ID: <87d2v36sm3.fsf@nemi.mork.no> (raw)
In-Reply-To: <1363199152-7113-1-git-send-email-manoj.iyer@canonical.com> (manoj iyer's message of "Wed, 13 Mar 2013 13:25:52 -0500")

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

      reply	other threads:[~2013-03-13 18:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2v36sm3.fsf@nemi.mork.no \
    --to=bjorn@mork.no \
    --cc=apw@canonical.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=manoj.iyer@canonical.com \
    --cc=tjaalton@ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox