public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Maciej Szmigiero <mhej@o2.pl>
To: Greg Kroah-Hartman <gregkh@suse.de>,
	Alan Stern <stern@rowland.harvard.edu>,
	Oliver Neukum <oneukum@suse.de>,
	Hans de Goede <hdegoede@redhat.com>,
	Paul Mortier <mortier@btinternet.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [USB]Add quirk for Samsung Android phone modem
Date: Sat, 05 Feb 2011 18:46:20 +0100	[thread overview]
Message-ID: <4D4D8CEC.4090500@o2.pl> (raw)

[USB]Add quirk for Samsung Android phone modem

My Galaxy Spica needs this quirk when in modem mode, otherwise
it causes endless USB bus resets and is unusable in this mode.

Unfortunately Samsung decided to reuse ID of its old CDMA phone SGH-I500
for the modem part.
That's why in addition to this patch the visior driver must be prevented
from binding to SPH-I500 ID, so ACM driver can do that.

Signed-off-by: Maciej Szmigiero <mhej@o2.pl>

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 44c5954..363355b 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -88,6 +88,10 @@ static const struct usb_device_id usb_quirk_list[] = {
     /* INTEL VALUE SSD */
     { USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
 
+    /* Samsung Android phone modem - ID conflict with SPH-I500 */
+    { USB_DEVICE(0x04e8, 0x6601), .driver_info =
+            USB_QUIRK_CONFIG_INTF_STRINGS },
+
     { }  /* terminating entry must be last */
 };
 


             reply	other threads:[~2011-02-05 17:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 17:46 Maciej Szmigiero [this message]
2011-02-05 20:15 ` [USB]Add quirk for Samsung Android phone modem Alan Stern
2011-02-05 20:52   ` Maciej Szmigiero

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=4D4D8CEC.4090500@o2.pl \
    --to=mhej@o2.pl \
    --cc=gregkh@suse.de \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mortier@btinternet.com \
    --cc=oneukum@suse.de \
    --cc=stern@rowland.harvard.edu \
    /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