usb quirks: Add Canon EOS 5D (PC Connection mode) to the autosuspend blacklist
commita78d702beed61956b26c1b6288da868946642317
authorPaul Walmsley <paul@pwsan.com>
Thu, 16 Aug 2007 23:21:35 +0000 (16 16:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:28:01 +0000 (22 14:28 -0700)
treee6fa8d951c915b864e904d61832c910be39ca592
parentc907d3b09f7a50023b61ba6ec4e01ccaa543a7ae
usb quirks: Add Canon EOS 5D (PC Connection mode) to the autosuspend blacklist

Recent versions of the Linux kernel auto-suspend attached USB devices.
After this happens to the Canon EOS 5D camera, the camera's interrupt endpoints
don't seem to wake back up correctly, causing further use with libgphoto2
to fail with a -114 "OS error in camera communication" error.

A similar fix is probably necessary for this camera in PTP mode, which
identifies as USB product id 0x3102, but we haven't tested this.

As part of our testing process, we tried the USB_QUIRK_RESET_RESUME
quirk also, it's not helpful in this case.

Signed-off-by: Raj Kumar <rkumar@archive.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/quirks.c