]> git.baikalelectronics.ru Git - kernel.git/commit
usb quirks: Add Canon EOS 5D (PC Connection mode) to the autosuspend blacklist
authorPaul Walmsley <paul@pwsan.com>
Thu, 16 Aug 2007 23:21:35 +0000 (16:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:28:01 +0000 (14:28 -0700)
commita9ecdb7062fa7bb11bcf8b28a5c59d2c2676c785
treee6fa8d951c915b864e904d61832c910be39ca592
parentcf46bc3dd1c35aeca17bdacd00fae9b67dfce1de
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