Re: HP CDRW CD4E hasn't worked since 2.6.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux