Re: [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 1, 2015 at 8:36 AM, Lars Melin <larsm17@xxxxxxxxx> 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.

-- 
Matthew Dharm
Maintainer, USB Mass Storage driver for Linux
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]