aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGrant Grundler <grundler@parisc-linux.org>2008-01-24 00:31:03 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:34:46 -0500
commit4b24f91c24e27ec7746549d1180b9cbd18f06000 (patch)
tree90aaabc4e5b5a15acce8e28563d6194dfe0580b2 /drivers
parentab91d346c82e794e9dce29cf4fda067b4961ca64 (diff)
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 <stable@kernel.org> Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Phil Dibowitz <phil@ipom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/storage/unusual_devs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 6d6108b3993b..fe12737e0e2b 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,
86 US_SC_8070, US_PR_USBAT, init_usbat_cd, 0), 86 US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),
87#endif 87#endif
88 88
89/* Reported by Grant Grundler <grundler@parisc-linux.org>
90 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
91 */
92UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
93 "HP",
94 "PhotoSmart R707",
95 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
96
89/* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net> 97/* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
90 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product) 98 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
91 * for USB floppies that need the SINGLE_LUN enforcement. 99 * for USB floppies that need the SINGLE_LUN enforcement.