From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f180.google.com ([209.85.192.180]:34092 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753063AbbGAPuL (ORCPT ); Wed, 1 Jul 2015 11:50:11 -0400 Subject: Re: [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225 To: Matthew Dharm References: <1435753476-3456-1-git-send-email-oneukum@suse.com> <559408E4.1090705@gmail.com> Cc: Oliver Neukum , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , stable From: Lars Melin Message-ID: <55940C30.9060609@gmail.com> Date: Wed, 1 Jul 2015 22:50:08 +0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 2015-07-01 22:41, Matthew Dharm wrote: > On Wed, Jul 1, 2015 at 8:36 AM, Lars Melin 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