USB: storage: Add unusual_dev for HP r707
authorGrant Grundler <grundler@parisc-linux.org>
Thu, 24 Jan 2008 05:31:03 +0000 (21:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:46 +0000 (14:34 -0800)
commit4b24f91c24e27ec7746549d1180b9cbd18f06000
tree90aaabc4e5b5a15acce8e28563d6194dfe0580b2
parentab91d346c82e794e9dce29cf4fda067b4961ca64
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>
drivers/usb/storage/unusual_devs.h