1. 26 Apr, 2024 5 commits
  2. 24 Apr, 2024 6 commits
  3. 22 Apr, 2024 27 commits
  4. 19 Apr, 2024 2 commits
    • Ricardo Ribalda's avatar
      media: uvcvideo: Disable autosuspend for Insta360 Link · 3de6df64
      Ricardo Ribalda authored
      When the device suspends, it keeps power-cycling.
      
      The user notices it because the LED constanct oscillate between
      blue (ready) and no LED (off).
      
      <6>[95202.128542] usb 3-3-port4: attempt power cycle
      <6>[95206.070120] usb 3-3.4: new high-speed USB device number 49 using xhci_hcd
      <6>[95206.212027] usb 3-3.4: New USB device found, idVendor=2e1a, idProduct=4c01, bcdDevice= 2.00
      <6>[95206.212044] usb 3-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=<Serial: 1>
      <6>[95206.212050] usb 3-3.4: Product: Insta360 Link
      <6>[95206.212075] usb 3-3.4: Manufacturer: Amba
      <7>[95206.214862] usb 3-3.4: GPIO lookup for consumer privacy
      <7>[95206.214866] usb 3-3.4: using lookup tables for GPIO lookup
      <7>[95206.214869] usb 3-3.4: No GPIO consumer privacy found
      <6>[95206.214871] usb 3-3.4: Found UVC 1.10 device Insta360 Link (2e1a:4c01)
      <3>[95206.217113] usb 3-3.4: Failed to query (GET_INFO) UVC control 14 on unit 1: -32 (exp. 1).
      <3>[95206.217733] usb 3-3.4: Failed to query (GET_INFO) UVC control 16 on unit 1: -32 (exp. 1).
      <4>[95206.223544] usb 3-3.4: Warning! Unlikely big volume range (=32767), cval->res is probably wrong.
      <4>[95206.223554] usb 3-3.4: [9] FU [Mic Capture Volume] ch = 1, val = -32768/-1/1
      <6>[95210.698990] usb 3-3.4: USB disconnect, device number 49
      <6>[95211.963090] usb 3-3.4: new high-speed USB device number 50 using xhci_hcd
      <6>[95212.657061] usb 3-3.4: new full-speed USB device number 51 using xhci_hcd
      <3>[95212.783119] usb 3-3.4: device descriptor read/64, error -32
      <3>[95213.015076] usb 3-3.4: device descriptor read/64, error -32
      <6>[95213.120358] usb 3-3-port4: attempt power cycle
      
      Bus 001 Device 009: ID 2e1a:4c01 Amba Insta360 Link
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               2.00
        bDeviceClass          239 Miscellaneous Device
        bDeviceSubClass         2
        bDeviceProtocol         1 Interface Association
        bMaxPacketSize0        64
        idVendor           0x2e1a
        idProduct          0x4c01
        bcdDevice            2.00
        iManufacturer           1 Amba
        iProduct                2 Insta360 Link
        iSerial                 0
        bNumConfigurations      1
      Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://lore.kernel.org/r/20221101-instal-v1-0-d13d1331c4b5@chromium.orgSigned-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      3de6df64
    • Ricardo Ribalda's avatar
      media: uvcvideo: Fix power line control for Shine-Optics Camera · d1f86cf9
      Ricardo Ribalda authored
      The device does not implement the power line frequency control
      correctly. It is a UVC 1.5 device, but implements the control as a UVC
      1.1 device.
      
      Add the corresponding control mapping override.
      
      Bus 003 Device 002: ID 3277:009e Shine-Optics Integrated Camera
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               2.01
        bDeviceClass          239 Miscellaneous Device
        bDeviceSubClass         2
        bDeviceProtocol         1 Interface Association
        bMaxPacketSize0        64
        idVendor           0x3277
        idProduct          0x009e
        bcdDevice            0.01
        iManufacturer           3 Shine-Optics
        iProduct                1 Integrated Camera
        iSerial                 2 0001
      Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
      Reviewed-by: default avatarSergey Senozhatsky <senozhatsky@chromium.org>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://lore.kernel.org/r/20240108-shine-v2-1-ddff959dab89@chromium.orgSigned-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      d1f86cf9