ChangeSet 1.1832.55.42, 2004/09/09 10:04:25-07:00, [EMAIL PROTECTED]

[PATCH] USB: Unusual_devs entry for Panasonic cameras

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.


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


 drivers/usb/storage/unusual_devs.h |   10 ++++++++++
 1 files changed, 10 insertions(+)


diff -Nru a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
--- a/drivers/usb/storage/unusual_devs.h        2004-10-19 08:16:50 -07:00
+++ b/drivers/usb/storage/unusual_devs.h        2004-10-19 08:16:50 -07:00
@@ -173,6 +173,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: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to