From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:40251 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064AbbGBJ2j (ORCPT ); Thu, 2 Jul 2015 05:28:39 -0400 Message-ID: <1435829257.2424.8.camel@suse.com> Subject: Re: [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225 From: Oliver Neukum To: Lars Melin Cc: Matthew Dharm , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , stable Date: Thu, 02 Jul 2015 11:27:37 +0200 In-Reply-To: <55940C30.9060609@gmail.com> References: <1435753476-3456-1-git-send-email-oneukum@suse.com> <559408E4.1090705@gmail.com> <55940C30.9060609@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On Wed, 2015-07-01 at 22:50 +0700, Lars Melin wrote: Hi, > 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. My dongle indeed has only one interface. But one must not jump to conclusions from that. Remember that multiple SCSI devices can be connected to a single storage interface. > There are almost no 3G dongles having the SD-card interface active in > default (non-switched) mode. Here is a log made with an unfixed kernel: Jul 02 11:11:02 linux-dtbq.site kernel: usb 3-10: new high-speed USB device number 6 using xhci_hcd Jul 02 11:11:02 linux-dtbq.site kernel: usb 3-10: New USB device found, idVendor=19d2, idProduct=1225 Jul 02 11:11:02 linux-dtbq.site kernel: usb 3-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jul 02 11:11:02 linux-dtbq.site kernel: usb 3-10: Product: ZTE WCDMA Technologies MSM Jul 02 11:11:02 linux-dtbq.site kernel: usb 3-10: Manufacturer: ZTE,Incorporated Jul 02 11:11:02 linux-dtbq.site kernel: usb 3-10: SerialNumber: MF8230ZTED010000CP261718U46EM0SHF3BW707_8C65&&&&&&&&&&&&&&&&&&&0 Jul 02 11:11:02 linux-dtbq.site kernel: usb-storage 3-10:1.0: USB Mass Storage device detected Jul 02 11:11:02 linux-dtbq.site kernel: scsi6 : usb-storage 3-10:1.0 Jul 02 11:11:02 linux-dtbq.site kernel: usbcore: registered new interface driver usb-storage Jul 02 11:11:02 linux-dtbq.site kernel: usbcore: registered new interface driver uas Jul 02 11:11:02 linux-dtbq.site mtp-probe[2234]: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-10" Jul 02 11:11:02 linux-dtbq.site mtp-probe[2234]: bus: 3, device: 6 was not an MTP device Jul 02 11:11:03 linux-dtbq.site kernel: scsi 6:0:0:0: CD-ROM CWID USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2 Jul 02 11:11:03 linux-dtbq.site kernel: sr2: scsi-1 drive Jul 02 11:11:03 linux-dtbq.site kernel: sr 6:0:0:0: Attached scsi CD-ROM sr2 Jul 02 11:11:03 linux-dtbq.site kernel: sr 6:0:0:0: Attached scsi generic sg5 type 5 Jul 02 11:11:03 linux-dtbq.site kernel: scsi 6:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2 Jul 02 11:11:03 linux-dtbq.site kernel: sd 6:0:0:1: Attached scsi generic sg6 type 0 Jul 02 11:11:03 linux-dtbq.site kernel: sd 6:0:0:1: [sdd] Attached SCSI removable disk As you can see, it has a CD and a card reader on different LUNs. Regards Oliver