lkml.org 
[lkml]   [2007]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-03 23:05    [W:0.035 / U:4.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site