Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4b24f91c24e27ec7746549d1180b9cbd18f06000
Commit:     4b24f91c24e27ec7746549d1180b9cbd18f06000
Parent:     ab91d346c82e794e9dce29cf4fda067b4961ca64
Author:     Grant Grundler <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 23 21:31:03 2008 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:34:46 2008 -0800

    USB: storage: Add unusual_dev for HP r707
    
    Add "FIX_CAPACITY" entry for HP Photosmart r707 Camera in "Disk" mode.
    Camera will wedge when /lib/udev/vol_id attempts to access the last sector,
    EIO gets reported to dmesg, and block device is marked "offline" (it is).
    Reproduced vol_id behavior with:
        "dd if=/dev/sda of=/dev/null skip=60800 count=1"
    
    Cc: stable <[EMAIL PROTECTED]>
    Signed-off-by: Grant Grundler <[EMAIL PROTECTED]>
    Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/storage/unusual_devs.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/storage/unusual_devs.h 
b/drivers/usb/storage/unusual_devs.h
index 6d6108b..fe12737 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -86,6 +86,14 @@ UNUSUAL_DEV(  0x03f0, 0x0307, 0x0001, 0x0001,
                US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),
 #endif
 
+/* Reported by Grant Grundler <[EMAIL PROTECTED]>
+ * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
+ */
+UNUSUAL_DEV(  0x03f0, 0x4002, 0x0001, 0x0001,
+               "HP",
+               "PhotoSmart R707",
+               US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
+
 /* Reported by Sebastian Kapfer <[EMAIL PROTECTED]>
  * and Olaf Hering <[EMAIL PROTECTED]> (different bcd's, same vendor/product)
  * for USB floppies that need the SINGLE_LUN enforcement.
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to