[PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Ding <ericding@xxxxxxxxxxxx>

working if I turn it on (e.g., guvcview), then shut it off, wait a few seconds,
and then turn it on again.  From the second time onward, all I get is screen
noise rather than the expected video images.

I did a kernel bisection, which revealed the commit that caused the regression:

commit e1620d591a75a10b15cf61dbf8243a0b7e6731a2
Author: Rafael J. Wysocki <rjw@xxxxxxx>
Date: Fri Mar 18 19:55:36 2011 +0100

    USB: Move runtime PM callbacks to usb_device_pm_ops


This patch turns on USB_QUIRK_RESET_RESUME for Logitech Quickcam Fusion
This indirectly disables autosuspend for this webcam, incidentally
matches the way that several other Logitech webcams are handled, and avoids
adding a specific UVC_QUIRK for this problem.

What's more, the camera now works even after a suspend/resume cycle.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44191
Signed-off-by: Eric Ding <ericding@xxxxxxxxxxxx>
Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
---

 drivers/usb/core/quirks.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 32d3adc..126f04c 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -77,6 +77,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* Logitech Webcam C270 */
 	{ USB_DEVICE(0x046d, 0x0825), .driver_info = USB_QUIRK_RESET_RESUME },
 
+	/* Logitech Quickcam Fusion */
+	{ USB_DEVICE(0x046d, 0x08c1), .driver_info = USB_QUIRK_RESET_RESUME },
+
 	/* Logitech Quickcam Pro 9000 */
 	{ USB_DEVICE(0x046d, 0x0990), .driver_info = USB_QUIRK_RESET_RESUME },
 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux