Re: USB mass storage partition table detection

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

 



On Mon, 8 Aug 2011, Torquil Macdonald Sørensen wrote:

> On 08/08/11 16:15, Alan Stern wrote:
> > On Sun, 7 Aug 2011, [ISO-8859-1] Torquil Macdonald S�rensen wrote:
> >
> >> Hi!
> >>
> >> My Linux 3.0.1 system seems to not automatically detect the partition table on
> >> my Sony Ericsson T707 mobile phone USB mass storage devices. After connecting it
> >> to the USB port on my computer, I get the following additional lines in the
> >> kernel log:
> >>
> >> usb 1-1: new high speed USB device number 5 using ehci_hcd
> >> usb 1-1: New USB device found, idVendor=0fce, idProduct=e11d
> >> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> >> usb 1-1: Product: Memory Card (MSC)
> >> usb 1-1: Manufacturer: Sony Ericsson
> >> usb 1-1: SerialNumber: 3545170352001900
> >> Initializing USB Mass Storage driver...
> >> scsi6 : usb-storage 1-1:1.0
> >> usbcore: registered new interface driver usb-storage
> >> USB Mass Storage support registered.
> >> scsi 6:0:0:0: Direct-Access     Sony Eri Memory Card      0000 PQ: 0 ANSI: 0
> >> scsi 6:0:0:1: Direct-Access     Sony Eri Memory Card      0000 PQ: 0 ANSI: 0
> >> sd 6:0:0:0: Attached scsi generic sg2 type 0
> >> sd 6:0:0:1: Attached scsi generic sg3 type 0
> >> sd 6:0:0:0: [sdb] Attached SCSI removable disk
> >> sd 6:0:0:1: [sdc] Attached SCSI removable disk
> >>
> >> There is /dev/sdb and /dev/sdc since the phone has two USB mass storage units.
> >> One for the internal memory and one for the memory card.
> >>
> >> However, only /dev/sdb and /dev/sdc are created, not /dev/sdb1 and /dev/sdc1.

...

> Thanks Alan!
> 
> I performed the usbmon procedure for insertion of the Sony Ericsson mobile phone 
> as well as for insertion of my Sandisk USB memory stick. As mentioned above, 
> only in the latter case are the partitions detected. First thing I noticed is 
> that the usbmon log is much shorter for the Sony Ericsson phone around 260 
> lines, while for the USB memory stick it was around 1300 lines.
> 
> In each case, I stopped the usbmon logging before removing the usb devide, so 
> the log should show only events related to the insertion. I used the "all buses" 
> capturing, but made sure beforehand that my USB mouse and USB keyboard was 
> unplugged, so as not to cause unwanted noise in the logs.
> 
> Since I cannot make much sense of the log files, I'm attaching both usbmon log 
> files here in the hope that someone will understand the problem...
> 
> I'll be very happy to do extract more debugging info if that will help the 
> debugging procedure.

The usbmon trace for the Sony Ericsson phone shows the phone telling
the computer that no medium was present for either the internal memory
unit or the card.  Maybe it just needs some extra "warm-up" time.  You
could try increasing usb-storage's "delay_use" module parameter and see
if that makes any difference.

Alan Stern

--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux