lkml.org 
[lkml]   [2006]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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
\
 
 \ /
  Last update: 2006-03-15 00:32    [W:0.038 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site