lkml.org 
[lkml]   [2015]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.12 069/123] usb: Add device quirk for Logitech PTZ cameras
    Date
    From: Vincent Palatin <vpalatin@chromium.org>

    3.12-stable review patch. If anyone has any objections, please let me know.

    ===============

    commit 72194739f54607bbf8cfded159627a2015381557 upstream.

    Add a device quirk for the Logitech PTZ Pro Camera and its sibling the
    ConferenceCam CC3000e Camera.
    This fixes the failed camera enumeration on some boot, particularly on
    machines with fast CPU.

    Tested by connecting a Logitech PTZ Pro Camera to a machine with a
    Haswell Core i7-4600U CPU @ 2.10GHz, and doing thousands of reboot cycles
    while recording the kernel logs and taking camera picture after each boot.
    Before the patch, more than 7% of the boots show some enumeration transfer
    failures and in a few of them, the kernel is giving up before actually
    enumerating the webcam. After the patch, the enumeration has been correct
    on every reboot.

    Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
    Signed-off-by: Jiri Slaby <jslaby@suse.cz>
    ---
    drivers/usb/core/quirks.c | 7 +++++++
    1 file changed, 7 insertions(+)

    diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
    index 5014a4282352..ecaca8e65356 100644
    --- a/drivers/usb/core/quirks.c
    +++ b/drivers/usb/core/quirks.c
    @@ -53,6 +53,13 @@ static const struct usb_device_id usb_quirk_list[] = {
    { USB_DEVICE(0x046d, 0x082d), .driver_info = USB_QUIRK_DELAY_INIT },
    { USB_DEVICE(0x046d, 0x0843), .driver_info = USB_QUIRK_DELAY_INIT },

    + /* Logitech ConferenceCam CC3000e */
    + { USB_DEVICE(0x046d, 0x0847), .driver_info = USB_QUIRK_DELAY_INIT },
    + { USB_DEVICE(0x046d, 0x0848), .driver_info = USB_QUIRK_DELAY_INIT },
    +
    + /* Logitech PTZ Pro Camera */
    + { USB_DEVICE(0x046d, 0x0853), .driver_info = USB_QUIRK_DELAY_INIT },
    +
    /* Logitech Quickcam Fusion */
    { USB_DEVICE(0x046d, 0x08c1), .driver_info = USB_QUIRK_RESET_RESUME },

    --
    2.6.2


    \
     
     \ /
      Last update: 2015-10-28 15:41    [W:4.093 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site