From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f178.google.com ([209.85.192.178]:34737 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754486AbbGAPgI (ORCPT ); Wed, 1 Jul 2015 11:36:08 -0400 Subject: Re: [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225 To: Oliver Neukum , mdharm-usb@one-eyed-alien.net, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org References: <1435753476-3456-1-git-send-email-oneukum@suse.com> Cc: stable@vger.kernel.org From: Lars Melin Message-ID: <559408E4.1090705@gmail.com> Date: Wed, 1 Jul 2015 22:36:04 +0700 MIME-Version: 1.0 In-Reply-To: <1435753476-3456-1-git-send-email-oneukum@suse.com> 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 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..