Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Lars Melin <larsm17@gmail.com>
To: Oliver Neukum <oneukum@suse.com>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>,
	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: Thu, 2 Jul 2015 20:33:24 +0700	[thread overview]
Message-ID: <55953DA4.5070304@gmail.com> (raw)
In-Reply-To: <1435842084.1606.4.camel@suse.com>

On 2015-07-02 20:01, Oliver Neukum wrote:
> On Thu, 2015-07-02 at 14:43 +0200, Oliver Neukum wrote:
>> On Wed, 2015-07-01 at 22:50 +0700, Lars Melin wrote:
>>
>>> 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.
>>
>> Though I see your point. Is the switching desirable at all for this
>> device or do I need to block the device on the SCSI level?
>>
>> 	Regards
>> 		Oliver
>
> However, when I reinstall usb_modeswitch I see that the storage
> functionality is unnecessary to switch this device.
>
> Jul 02 14:56:10 linux-dtbq.site kernel: usb 3-10: new high-speed USB device number 8 using xhci_hcd
> Jul 02 14:56:10 linux-dtbq.site kernel: usb 3-10: New USB device found, idVendor=19d2, idProduct=1225
> Jul 02 14:56:10 linux-dtbq.site kernel: usb 3-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Jul 02 14:56:10 linux-dtbq.site kernel: usb 3-10: Product: ZTE WCDMA Technologies MSM
> Jul 02 14:56:10 linux-dtbq.site kernel: usb 3-10: Manufacturer: ZTE,Incorporated
> Jul 02 14:56:10 linux-dtbq.site kernel: usb 3-10: SerialNumber: MF8230ZTED010000CP261718U46EM0SHF3BW707_8C65&&&&&&&&&&&&&&&&&&&0
> Jul 02 14:56:10 linux-dtbq.site kernel: usb-storage 3-10:1.0: USB Mass Storage device detected
> Jul 02 14:56:10 linux-dtbq.site kernel: Vendor: 0x19d2, Product: 0x1225, Revision: 0xf0f1
> Jul 02 14:56:10 linux-dtbq.site kernel: Interface Subclass: 0x06, Protocol: 0x50
> Jul 02 14:56:10 linux-dtbq.site kernel: usb-storage 3-10:1.0: device ignored
> Jul 02 14:56:10 linux-dtbq.site kernel: storage_probe() failed
> Jul 02 14:56:10 linux-dtbq.site kernel: -- sending exit command to thread
> Jul 02 14:56:10 linux-dtbq.site mtp-probe[2730]: checking bus 3, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-10"
> Jul 02 14:56:10 linux-dtbq.site mtp-probe[2730]: bus: 3, device: 8 was not an MTP device
> Jul 02 14:56:10 linux-dtbq.site usb_modeswitch[2740]: switch device 19d2:1225 on 003/008
> Jul 02 14:56:15 linux-dtbq.site kernel: usb 3-10: USB disconnect, device number 8
> Jul 02 14:56:16 linux-dtbq.site kernel: usb 3-10: new high-speed USB device number 9 using xhci_hcd
>
> 	Regards
> 		Oliver
>

Yes but there are other 19d2:1225 devices which don't have dual-mode 
(19d2:1403 RNDIS or 19d2:1405 ECM) they do only have one of the modes 
and they don't auto-flip so they need usb_modeswitch.

This is the first 3G dongle I have seen with multiple LUN on the same 
USB interface, there has always been one interface for each storage 
function in the past. So yes I jumped to conclusion..

Anyway, it would be good if you could block the MMC interface on LUN 
level while still having the virtual cd-rom working.

cheers
/Lars


  reply	other threads:[~2015-07-02 13:33 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
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 [this message]
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=55953DA4.5070304@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