Re: [usb-storage] Infinite resets with Sony Ericsson V800-Vodafone 802SE

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

 



On Fri, 9 Apr 2010, Matthew Dharm wrote:

> On Fri, Apr 09, 2010 at 07:56:30PM +0200, Ondrej Zary wrote:
> > On Friday 09 April 2010 18:47:56 Matthew Dharm wrote:
> > > You would have to implement a flag to reduce capacity by half in sd.c, then
> > > set that flag in slave_configure in response to a new flag.
> > 
> > Thanks. This patch seems to fix it.
> 
> > --- linux-source-2.6.32-orig/drivers/usb/storage/unusual_devs.h	2010-01-10 06:18:08.000000000 +0100
> > +++ linux-source-2.6.32/drivers/usb/storage/unusual_devs.h	2010-04-09 20:02:54.000000000 +0200
> > @@ -1310,12 +1310,15 @@ UNUSUAL_DEV(  0x0fca, 0x0006, 0x0001, 0x
> >  		US_FL_IGNORE_DEVICE ),
> >  #endif
> >  
> > -/* Reported by Michael Stattmann <michael@xxxxxxxxxxxxx> */
> > +/* Reported by Michael Stattmann <michael@xxxxxxxxxxxxx> 
> > + * and Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx> 
> > + * Device reports double of the real capacity and breaks when the
> > + * non-existing second half is accessed. */
> >  UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
> >  		"Sony Ericsson",
> >  		"V800-Vodafone 802",
> >  		US_SC_DEVICE, US_PR_DEVICE, NULL,
> > -		US_FL_NO_WP_DETECT ),
> > +		US_FL_NO_WP_DETECT | US_FL_DOUBLED_CAPACITY ),
> 
> We need to make sure this patch won't suddenly make half of people's
> devices inaccessable.  I recommend you contact Michael Stattmann and have
> him verify that his device suffers from the same problem.

I agree.  In addition, it would be good to check whether the phone has 
this problem with _all_ memory cards or only those above a certain 
size.

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