Greg & Pete:

Thanks to Tom Hughes for jogging my memory about this patch, which has 
been sitting here waiting for Greg's return.  It adds an unusual_devs.h 
entry for the Panasonic DMC-LCx line of cameras, which incorrectly report 
the total number of blocks in response to READ CAPACITY rather than the 
highest available block number.

The patch should be applied to both 2.4 and 2.6 kernels.

Alan Stern



Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

===== drivers/usb/storage/unusual_devs.h 1.144 vs edited =====
--- 1.144/drivers/usb/storage/unusual_devs.h    Fri Aug  6 03:59:29 2004
+++ edited/drivers/usb/storage/unusual_devs.h   Mon Aug 23 10:25:19 2004
@@ -180,6 +180,16 @@
                "CD-R/RW Drive",
                US_SC_8070, US_PR_CB, NULL, 0),
 
+/* Reported by Adriaan Penning <[EMAIL PROTECTED]>
+ * Note that these cameras report "Medium not present" after
+ * ALLOW_MEDIUM_REMOVAL, so they also need to be marked
+ * NOT_LOCKABLE in the SCSI blacklist (and the vendor is MATSHITA). */
+UNUSUAL_DEV(  0x04da, 0x2372, 0x0000, 0x9999,
+               "Panasonic",
+               "DMC-LCx Camera",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_FIX_CAPACITY ),
+
 /* Most of the following entries were developed with the help of
  * Shuttle/SCM directly.
  */



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to