Matthew Dharm a écrit : > On Fri, Jul 27, 2007 at 03:07:39PM -0400, Alan Stern wrote: >> On Fri, 27 Jul 2007, Jean-Claude Repetto wrote: >> >>> Alan Stern wrote : >>>> The device claims not to have any media present. I don't have any idea >>>> why it does this when plugged in after booting but not when plugged in >>>> before booting. >>>> >>>> Anyway, you need to force the device to be revalidated. I'm not sure >>>> when this happens automatically, but you can try forcing it to happen: >>>> >>>> echo >/sys/block/sdb/device/rescan >>>> >>>> Post a usb-storage debugging showing what happens when you do that. >>>> >>> Here it is : >>> Jul 27 19:24:54 corborant usb-storage: -- Result from auto-sense is 0 >>> Jul 27 19:24:54 corborant usb-storage: -- code: 0x70, key: 0x2, ASC: >>> 0x3a, ASCQ: 0x0 >> This is the same as before. It means "Not ready, medium not present". >> >> I have no idea why the GPS unit is sending this error. Do you think it >> needs to be reset somehow? >> >> It certainly looks like the problem lies in the device and not in the >> computer. Maybe you can find a way to work around it, but I'm out of >> ideas. > > I wonder if a START_UNIT would help.... I've heard through the grapevine > that a common OS reponse to "Not ready" is START_UNIT. > > Matt >
How can I test that ? Could you send me a patch against the kernel 2.6.22 driver ? Thanks, Jean-Claude ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users