Skip to content

Commit 2394d67

Browse files
Oliver Neukumgregkh
authored andcommitted
USB: add RESET_RESUME for webcams shown to be quirky
The new runtime PM code has shown that many webcams suffer from a race condition that may crash them upon resume. Runtime PM is especially prone to show the problem because it retains power to the cameras at all times. However system suspension may also crash the devices and retain power to the devices. The only way to solve this problem without races is in usbcore with the RESET_RESUME quirk. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 25aa554 commit 2394d67

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎drivers/usb/core/quirks.c‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,24 @@ static const struct usb_device_id usb_quirk_list[] = {
3838
/* Creative SB Audigy 2 NX */
3939
{ USB_DEVICE(0x041e, 0x3020), .driver_info = USB_QUIRK_RESET_RESUME },
4040

41+
/* Logitech Webcam C200 */
42+
{ USB_DEVICE(0x046d, 0x0802), .driver_info = USB_QUIRK_RESET_RESUME },
43+
44+
/* Logitech Webcam C250 */
45+
{ USB_DEVICE(0x046d, 0x0804), .driver_info = USB_QUIRK_RESET_RESUME },
46+
47+
/* Logitech Webcam B/C500 */
48+
{ USB_DEVICE(0x046d, 0x0807), .driver_info = USB_QUIRK_RESET_RESUME },
49+
50+
/* Logitech Webcam Pro 9000 */
51+
{ USB_DEVICE(0x046d, 0x0809), .driver_info = USB_QUIRK_RESET_RESUME },
52+
53+
/* Logitech Webcam C310 */
54+
{ USB_DEVICE(0x046d, 0x081b), .driver_info = USB_QUIRK_RESET_RESUME },
55+
56+
/* Logitech Webcam C270 */
57+
{ USB_DEVICE(0x046d, 0x0825), .driver_info = USB_QUIRK_RESET_RESUME },
58+
4159
/* Logitech Harmony 700-series */
4260
{ USB_DEVICE(0x046d, 0xc122), .driver_info = USB_QUIRK_DELAY_INIT },
4361

@@ -69,6 +87,9 @@ static const struct usb_device_id usb_quirk_list[] = {
6987
{ USB_DEVICE(0x06a3, 0x0006), .driver_info =
7088
USB_QUIRK_CONFIG_INTF_STRINGS },
7189

90+
/* Guillemot Webcam Hercules Dualpix Exchange*/
91+
{ USB_DEVICE(0x06f8, 0x0804), .driver_info = USB_QUIRK_RESET_RESUME },
92+
7293
/* M-Systems Flash Disk Pioneers */
7394
{ USB_DEVICE(0x08ec, 0x1000), .driver_info = USB_QUIRK_RESET_RESUME },
7495

0 commit comments

Comments
 (0)