Messages in this thread |  | | | Date | Tue, 3 Jul 2007 17:01:55 -0400 (EDT) | | From | Alan Stern <> | | Subject | 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
- 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/
|  |