Re: [PATCH] Add Unusual Dev for Sony GPS-CS1

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

 



On Mon, 11 May 2009, Phil Endecott wrote:

> From: Phil Endecott <sonygpsbug@xxxxxxxxxxxx>
> 
> Add an UNUSUAL_DEV for the Sony GPS-CS1 (054c:0298), which seems to suffer from 
> the READ CAPACITY off-by-one and LOCKING bugs.
> 
> Signed-off-by: Phil Endecott <sonygpsbug@xxxxxxxxxxxx>
> ---
> This device used to work for me without any fixes.  It now doesn't work even with 
> older kernels.  I don't know why; my best guess is that perhaps it didn't need 
> to look at the last sector until recently, maybe due to filesystem layout or 
> something.  Because of my uncertainly I've made this a "guess capacity", not 
> "fix capacity".

It would be nice to see some usbmon traces showing how the device fails
when you leave out individual flags from the patch.  We might be able
to tell exactly which flags are needed.

> What is the normal policy for bcdDevice matching?  I have written this to
> match only the version that I have.  I know nothing about any other versions.

That's the normal policy.

> The names I have used are the ones printed on the device; those reported in
> the descriptors are less enlightening.  Is that right?

Yes.

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