On 2015-07-01 22:41, Matthew Dharm wrote:
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.
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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html