Messages in this thread Patch in this message | | | Date | Tue, 14 Mar 2006 23:38:52 +0000 | From | Daniel Drake <> | Subject | Re: HP CDRW CD4E hasn't worked since 2.6.11 |
| |
Peter Chubb wrote: > Patch appended.
Thats very intrusive. Please try a more simplistic approach, and send new logs if it is still detected as a disk :)
Daniel --- 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 | |