Javier-Elias Vasquez-Vivas wrote:
So, how did it go?  Could you confirm anything with the other hp8200 device?

Yes, it gives the same strange behaviour. Although its a potential way of determining which type of device is attached, it's not very nice. Before I settle on this, I'm wondering if the device just needs a bit more time first. Please apply this patch on top of the last 2 and send me the new debug output.

Thanks,
Daniel
--- linux-2.6.13-rc3-git9/drivers/usb/storage/shuttle_usbat.c.orig	2005-07-28 13:52:51.000000000 +0100
+++ linux-2.6.13-rc3-git9/drivers/usb/storage/shuttle_usbat.c	2005-07-28 13:53:48.000000000 +0100
@@ -843,6 +843,10 @@ static int usbat_identify_device(struct 
 	 * will return successfully.
 	 */
 	usbat_get_status(us, &status);
+	US_DEBUGP("usbat_identify_device: Sleeping 5s");
+	msleep(5000);
+	usbat_get_status(us, &status);
+
 	rc = usbat_write(us, USBAT_ATA, USBAT_ATA_CMD, 0xA1);
 	if (rc != USB_STOR_XFER_GOOD)
 		return USB_STOR_TRANSPORT_ERROR;

Reply via email to