Web lists-archives.com

Re: [linux-usb-devel] NIKON D50 problem




On Tue, 3 Jul 2007, Oliver Neukum wrote:

> Am Dienstag, 3. Juli 2007 schrieb Andrew Morton:
> > > Some time ago(I really can't remember version of the kernel)
> > > everything was Ok. I'll try to find out the workable version of the
> > > kernel ... but I've already tried 2.6.20 - the same =(.
> > > I'm not sure, but It's possible that I've had ATA subsystem but not
> > > libata ... I haven't tested this case yet.
> > > 
> > > PS. I can see photos on my camera ... flash card is Ok. I have this
> > > problem even if I changed the flash card in this camera.
> > 
> > It's more likely a usb-storage or scsi layer problem.
> > 
> > The device reports as having 1984001 sectors and the kernel is reporting IO
> > errors around the very end of the device.  Presumably an IO is straddling
> > end-of-device and we're not handling that correctly.
> 
> Now I remember. We recently had a report about a buggy device, that close
> to the end of the medium could handle only requests for single sectors.
> I'll look into the archive.

Most likely this device just needs an unusual_devs entry with
US_FL_FIX_CAPACITY.  I could prepare a patch to add this if you send
the output from "lsusb -v" for the camera or its entry in
/proc/bus/usb/devices.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel