Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Lars Melin <larsm17@gmail.com>
To: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Cc: Oliver Neukum <oneukum@suse.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	stable <stable@vger.kernel.org>
Subject: Re: [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225
Date: Wed, 1 Jul 2015 22:50:08 +0700	[thread overview]
Message-ID: <55940C30.9060609@gmail.com> (raw)
In-Reply-To: <CAA6KcBD5RDOQbHghKMqU1cmKVZOK2Jy+2Hwf+Y6L9nwz_HJ8AQ@mail.gmail.com>

On 2015-07-01 22:41, Matthew Dharm wrote:
> On Wed, Jul 1, 2015 at 8:36 AM, Lars Melin <larsm17@gmail.com> wrote:
>> On 2015-07-01 19:24, Oliver Neukum wrote:
>>>
>>> This device automatically switches itself to another mode (0x1405)
>>> unless the specific access pattern of Windows is followed in its
>>> initial mode. That makes a dirty unmount of the internal storage
>>> devices inevitable if they are mounted. So the devices should
>>> be ignored.
>>>
>> The storage device is a virtual cd-rom drive in the dongles internal
>> flash rom, why do you care if non-writable storage is unmounted dirty?
>>
>> Prohibiting the usb-storage driver to bind makes it impossible for
>> usb_modeswitch to switch the device to one of its other id's..
>
> Lars --
>
> In a separate thread, it was discussed that this device has a SD
> reader in it.  Thus, it's possible to mount the SD card and get it
> dirty and then have it yanked-out from underneath us by this
> unprompted mode switch that the device does.
>

Then I would like to see an lsusb listing for 19d2:1225 with an SD-card 
interface, I have only seen 19d2:1225 with a single storage interface 
which is for the windows install cd-rom.
There are almost no 3G dongles having the SD-card interface active in 
default (non-switched) mode.

/Lars

  reply	other threads:[~2015-07-01 15:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 12:24 [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225 Oliver Neukum
2015-07-01 15:36 ` Lars Melin
2015-07-01 15:41   ` Matthew Dharm
2015-07-01 15:50     ` Lars Melin [this message]
2015-07-02  9:27       ` Oliver Neukum
2015-07-02 12:43       ` Oliver Neukum
2015-07-02 13:01         ` Oliver Neukum
2015-07-02 13:33           ` Lars Melin
2015-07-02 13:43             ` Oliver Neukum
2015-07-02 15:27               ` Dan Williams
2015-07-06 11:17             ` Oliver Neukum

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=55940C30.9060609@gmail.com \
    --to=larsm17@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mdharm-usb@one-eyed-alien.net \
    --cc=oneukum@suse.com \
    --cc=stable@vger.kernel.org \
    /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