On Mon, 28 Jun 2004, Riccardo Persichetti wrote: > Hi Alan, > > first of all thanks for the quick response.. i've added usb-storage > debugging as you told me and guess what, i could mount the camera > with no problems at all.. quite funny, isn't it? > btw, CONFIG_USB_STORAGE_DEBUG=y is the only thing i've changed in the > kernel config and i've just issued a "make modules" which recompiled > only the usb-storage.ko module. > > anyway, i'm attaching the lines dmesg spitted out since adding the > debug feature to the usb-storage module, i've mounted the device, > copied some files, umounted it. hope you'll find something interesting > in it.. > thanks again for your help, please keep me informed on this issue.
Well, the log only confirms what you said, that it worked with no problems at all. I'm afraid that's not a big step toward finding out what went wrong earlier. About the only significant difference when running with debugging turned on is that the driver is a little slower. Maybe the camera can't isn't capable of keeping up with the driver. You could try turning off debugging (just to make sure that the problems does reoccur), and then add a delay statement to the driver. Something like the patch below. You can try changing the 300 to something bigger, to increase the length of the delay. Alan Stern ===== drivers/usb/storage/usb.c 1.119 vs edited ===== --- 1.119/drivers/usb/storage/usb.c Sun Jun 13 16:09:07 2004 +++ edited/drivers/usb/storage/usb.c Mon Jun 21 10:51:41 2004 @@ -359,6 +359,7 @@ /* we've got a command, let's do it! */ else { US_DEBUG(usb_stor_show_command(us->srb)); + udelay(300); us->proto_handler(us->srb, us); } ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel