Re: HP CDRW CD4E hasn't worked since 2.6.11

From: Daniel Drake
Date: Tue Mar 14 2006 - 18:34:46 EST


Daniel Drake wrote:
--- linux/drivers/usb/storage/shuttle_usbat.c.orig 2006-03-14 23:36:57.000000000 +0000
+++ linux/drivers/usb/storage/shuttle_usbat.c 2006-03-14 23:37:18.000000000 +0000
@@ -855,6 +855,9 @@ static int usbat_identify_device(struct return rc;
msleep(500);
+ info->devicetype = USBAT_DEV_FLASH;
+ return USB_STOR_TRANSPORT_GOOD;
+
/*
* In attempt to distinguish between HP CDRW's and Flash readers, we now
* execute the IDENTIFY PACKET DEVICE command. On ATA devices (i.e. flash


Oops. that was supposed to be USBAT_DEV_HP8200

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