linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Philips Monitor with webcam
@ 2020-11-04 13:24 Gregor Hlawacek
  2020-11-04 16:02 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 13+ messages in thread
From: Gregor Hlawacek @ 2020-11-04 13:24 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 34795 bytes --]

Hi all

I own a Philips Brilliance 241B which has a webcam attached. The device
is listed as 0412:612b Chicony Electronics Co., Ltd, bubt doesn't work
with the latest UVC stock kernel driver. Is there any hope to get this
supported?

uname -a:
Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59 +0000
x86_64 GNU/Linux

running Arch Linux on a Lenovo Thinkpad  T490s

dmesg:

[76850.137838] usb 3-1.1.1.2: New USB device found, idVendor=04f2,
idProduct=b612, bcdDevice= 2.10
[76850.137841] usb 3-1.1.1.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
[76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
[76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
[76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam
(04f2:b612)
[76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as
/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0
/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input66
[76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam
(04f2:b612)
[76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number 5
using xhci_hcd
[76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as
/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0
/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input67


lsusb -v -d 0412:612b:

Bus 003 Device 007: ID 04f2:b612 Chicony Electronics Co., Ltd 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.01
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x04f2 Chicony Electronics Co., Ltd
  idProduct          0xb612 
  bcdDevice            2.10
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x03e9
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               4 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      1 
      iInterface              4 
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.50
        wTotalLength       0x006f
        dwClockFrequency       48.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0030000a
          Auto-Exposure Mode
          Exposure Time (Absolute)
          Window
          Region of Interest
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            3
        bmControls     0x0000157f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0 
        bmVideoStandards     0x00
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 3
        guidExtensionCode         {0fb885c3-68c2-4547-90f7-
8f47579d95fc}
        bNumControl             5
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            4
        bmControls( 0)       0x1f
        bmControls( 1)       0x00
        bmControls( 2)       0x00
        bmControls( 3)       0x00
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {63610682-5070-49ab-b8cc-
b3855e8d221d}
        bNumControl            20
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            4
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        bmControls( 2)       0x71
        bmControls( 3)       0x00
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            15
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         2
        wTotalLength                   0x01a9
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       5
        bStillCaptureMethod                 1
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     4
        bmaControls( 1)                     0
      VideoStreaming Interface Descriptor:
        bLength                            11
        bDescriptorType                    36
        bDescriptorSubtype                  6 (FORMAT_MJPEG)
        bFormatIndex                        1
        bNumFrameDescriptors                7
        bFlags                              1
          Fixed-size samples: Yes
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                147456000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         2
        bmCapabilities                   0x01
          Still image supported
        wWidth                           1920
        wHeight                          1080
        dwMinBitRate                995328000
        dwMaxBitRate                995328000
        dwMaxVideoFrameBufferSize     4147200
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         3
        bmCapabilities                   0x01
          Still image supported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                442368000
        dwMaxBitRate                442368000
        dwMaxVideoFrameBufferSize     1843200
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         4
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                110592000
        dwMaxBitRate                110592000
        dwMaxVideoFrameBufferSize      460800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         5
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 48660480
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         6
        bmCapabilities                   0x01
          Still image supported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 36864000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         7
        bmCapabilities                   0x01
          Still image supported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 12165120
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        2
        bNumFrameDescriptors                5
        guidFormat                            {32595559-0000-0010-8000-
00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                147456000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                110592000
        dwMaxBitRate                110592000
        dwMaxVideoFrameBufferSize      460800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 48660480
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x01
          Still image supported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 36864000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x01
          Still image supported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 12165120
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0180  1x 384 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0280  1x 640 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x03b0  1x 944 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0a80  2x 640 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       8
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       9
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0be0  2x 992 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting      10
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x13c0  3x 960 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting      11
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x13fc  3x 1020 bytes
        bInterval               1
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction              11 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      1 
      iInterface             11 
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.50
        wTotalLength       0x006f
        dwClockFrequency       48.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       3
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00300000
          Window
          Region of Interest
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            3
        bmControls     0x00000000
        iProcessing             0 
        bmVideoStandards     0x00
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 7
        guidExtensionCode         {0f3f95dc-2632-4c4e-92c9-
a04782f43bc8}
        bNumControl             4
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            4
        bmControls( 0)       0xe0
        bmControls( 1)       0x01
        bmControls( 2)       0x00
        bmControls( 3)       0x00
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {63610682-5070-49ab-b8cc-
b3855e8d221d}
        bNumControl            27
        bNrPins                 1
        baSourceID( 0)          7
        bControlSize            4
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        bmControls( 2)       0x77
        bmControls( 3)       0x1f
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                   0x004d
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       5
        bStillCaptureMethod                 1
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     0
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                1
        guidFormat                            {00000032-0002-0010-8000-
00aa00389b71}
        bBitsPerPixel                       8
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           352
        dwMinBitRate                 29736960
        dwMaxBitRate                 29736960
        dwMaxVideoFrameBufferSize      247808
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0a80  2x 640 bytes
        bInterval               1

-- 
Dipl.-Ing. Dr. Gregor Hlawacek
Group leader---Ion induced nanostructures
Ion Beam Microscopy

Helmholtz-Zentrum  Dresden-Rossendorf (HZDR)
Institute of Ion Beam Physics and Materials Research
Ion Beam Center
Office: 710/209

Bautzner Landstr. 400 | 01328 Dresden | Germany
phone: +49 (0)351 260 3409/3352
http://www.hzdr.de/


Board of Directors: Prof. Dr. Sebastian M. Schmidt, Dr. Heike Wolke
Company Registration Number VR 1693, Amtsgericht Dresden


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6775 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-04 13:24 Philips Monitor with webcam Gregor Hlawacek
@ 2020-11-04 16:02 ` Mauro Carvalho Chehab
  2020-11-04 16:25   ` Gregor Hlawacek
  0 siblings, 1 reply; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2020-11-04 16:02 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: linux-media

Em Wed, 04 Nov 2020 14:24:34 +0100
Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:

> Hi all
> 
> I own a Philips Brilliance 241B which has a webcam attached. The device
> is listed as 0412:612b Chicony Electronics Co., Ltd, bubt doesn't work
> with the latest UVC stock kernel driver. Is there any hope to get this
> supported?
> 
> uname -a:
> Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59 +0000
> x86_64 GNU/Linux
> 
> running Arch Linux on a Lenovo Thinkpad  T490s
> 
> dmesg:
> 
> [76850.137838] usb 3-1.1.1.2: New USB device found, idVendor=04f2,
> idProduct=b612, bcdDevice= 2.10
> [76850.137841] usb 3-1.1.1.2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam
> (04f2:b612)
> [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as
> /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0
> /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input66
> [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam
> (04f2:b612)
> [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number 5
> using xhci_hcd
> [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as
> /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0
> /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input67

Hmm... it sounds that the camera was properly detected here. 

Could you please enclose the contents of the following command?

	$ v4l2-ctl --all

Thanks,
Mauro

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-04 16:02 ` Mauro Carvalho Chehab
@ 2020-11-04 16:25   ` Gregor Hlawacek
  2020-11-04 16:45     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 13+ messages in thread
From: Gregor Hlawacek @ 2020-11-04 16:25 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

[-- Attachment #1: Type: text/plain, Size: 5373 bytes --]

On Wed, 2020-11-04 at 17:02 +0100, Mauro Carvalho Chehab wrote:
> Em Wed, 04 Nov 2020 14:24:34 +0100
> Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> 
> > Hi all
> > 
> > I own a Philips Brilliance 241B which has a webcam attached. The
> > device
> > is listed as 0412:612b Chicony Electronics Co., Ltd, bubt doesn't
> > work
> > with the latest UVC stock kernel driver. Is there any hope to get
> > this
> > supported?
> > 
> > uname -a:
> > Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59
> > +0000
> > x86_64 GNU/Linux
> > 
> > running Arch Linux on a Lenovo Thinkpad  T490s
> > 
> > dmesg:
> > 
> > [76850.137838] usb 3-1.1.1.2: New USB device found, idVendor=04f2,
> > idProduct=b612, bcdDevice= 2.10
> > [76850.137841] usb 3-1.1.1.2: New USB device strings: Mfr=1,
> > Product=2,
> > SerialNumber=3
> > [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> > [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> > [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> > [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > WebCam
> > (04f2:b612)
> > [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as
> > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > 00.0
> > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input66
> > [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > WebCam
> > (04f2:b612)
> > [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number
> > 5
> > using xhci_hcd
> > [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as
> > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > 00.0
> > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input67
> 
> Hmm... it sounds that the camera was properly detected here. 
> 
> Could you please enclose the contents of the following command?
> 
>         $ v4l2-ctl --all
> 
> Thanks,
> Mauro

Hi Mauro 

thanks for the quick answer. Here is the output but I am pretty sure
that this come from the integrated laptop camera and not the one in the
external monitor

Driver Info:
	Driver name      : uvcvideo
	Card type        : Integrated Camera: Integrated C
	Bus info         : usb-0000:00:14.0-8
	Driver version   : 5.9.3
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Integrated Camera: Integrated C
	Serial           : 0001
	Bus info         : usb-0000:00:14.0-8
	Media version    : 5.9.3
	Hardware revision: 0x00000027 (39)
	Driver version   : 5.9.3
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Integrated Camera: Integrated C
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000013: from remote pad 0x100000a of entity
'Realtek Extended Controls Unit': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 1280/720
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 1843200
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 1280, Height 720
	Default     : Left 0, Top 0, Width 1280, Height 720
	Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 1280,
Height 720, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1280, Height
720, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 30.000 (30/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=0 max=255
step=1 default=128 value=128
                       contrast 0x00980901 (int)    : min=0 max=255
step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=100
step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-180 max=180
step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=90 max=150
step=1 default=120 value=120
           power_line_frequency 0x00980918 (menu)   : min=0 max=2
default=1 value=1
				0: Disabled
				1: 50 Hz
				2: 60 Hz
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500
step=10 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=7
step=1 default=0 value=0
         backlight_compensation 0x0098091c (int)    : min=0 max=2
step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3
default=3 value=3
				1: Manual Mode
				3: Aperture Priority Mode
              exposure_absolute 0x009a0902 (int)    : min=2 max=1250
step=1 default=156 value=156 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6775 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-04 16:25   ` Gregor Hlawacek
@ 2020-11-04 16:45     ` Mauro Carvalho Chehab
       [not found]       ` <b8fcc03ed79873f9e55ab394b4b95140ab8b215b.camel@hzdr.de>
  0 siblings, 1 reply; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2020-11-04 16:45 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: linux-media

Em Wed, 04 Nov 2020 17:25:48 +0100
Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:

> On Wed, 2020-11-04 at 17:02 +0100, Mauro Carvalho Chehab wrote:
> > Em Wed, 04 Nov 2020 14:24:34 +0100
> > Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> >   
> > > Hi all
> > > 
> > > I own a Philips Brilliance 241B which has a webcam attached. The
> > > device
> > > is listed as 0412:612b Chicony Electronics Co., Ltd, bubt doesn't
> > > work
> > > with the latest UVC stock kernel driver. Is there any hope to get
> > > this
> > > supported?
> > > 
> > > uname -a:
> > > Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59
> > > +0000
> > > x86_64 GNU/Linux
> > > 
> > > running Arch Linux on a Lenovo Thinkpad  T490s
> > > 
> > > dmesg:
> > > 
> > > [76850.137838] usb 3-1.1.1.2: New USB device found, idVendor=04f2,
> > > idProduct=b612, bcdDevice= 2.10
> > > [76850.137841] usb 3-1.1.1.2: New USB device strings: Mfr=1,
> > > Product=2,
> > > SerialNumber=3
> > > [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> > > [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> > > [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> > > [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > > WebCam
> > > (04f2:b612)
> > > [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as
> > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > > 00.0
> > > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input66
> > > [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > > WebCam
> > > (04f2:b612)
> > > [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number
> > > 5
> > > using xhci_hcd
> > > [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as
> > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > > 00.0
> > > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input67  
> > 
> > Hmm... it sounds that the camera was properly detected here. 
> > 
> > Could you please enclose the contents of the following command?
> > 
> >         $ v4l2-ctl --all
> > 
> > Thanks,
> > Mauro  
> 
> Hi Mauro 
> 
> thanks for the quick answer. Here is the output but I am pretty sure
> that this come from the integrated laptop camera and not the one in the
> external monitor

Well, you can use "-d" parameter to identify the device, like:

	$ v4l2-ctl -d /dev/v4l/by-path/pci-0000\:00\:14.0-usb-0\:3.2\:1.0-video-index0 --all

The real path depends on your camera - you can take a look at:

	$ tree /dev/v4l/
	/dev/v4l/
	├── by-id
	│   ├── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index0 -> ../../video0
	│   └── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index1 -> ../../video1
	└── by-path
	    ├── pci-0000:00:14.0-usb-0:3.2:1.0-video-index0 -> ../../video0
	    └── pci-0000:00:14.0-usb-0:3.2:1.0-video-index1 -> ../../video1

	
In order to check the ones that were detected.

Regards,
Mauro

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
       [not found]       ` <b8fcc03ed79873f9e55ab394b4b95140ab8b215b.camel@hzdr.de>
@ 2020-11-04 20:01         ` Mauro Carvalho Chehab
       [not found]           ` <40a643d5fd9b6dd387d9cbde3e5ba1796b282f6a.camel@hzdr.de>
  0 siblings, 1 reply; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2020-11-04 20:01 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: linux-media, Laurent Pinchart

Em Wed, 04 Nov 2020 20:43:27 +0100
Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:

I'm c/c Laurent, as he is the author of the UVC driver.

> On Wed, 2020-11-04 at 17:45 +0100, Mauro Carvalho Chehab wrote:
> > Em Wed, 04 Nov 2020 17:25:48 +0100
> > Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> >   
> > > On Wed, 2020-11-04 at 17:02 +0100, Mauro Carvalho Chehab wrote:  
> > > > Em Wed, 04 Nov 2020 14:24:34 +0100
> > > > Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> > > >     
> > > > > Hi all
> > > > > 
> > > > > I own a Philips Brilliance 241B which has a webcam attached.
> > > > > The
> > > > > device
> > > > > is listed as 0412:612b Chicony Electronics Co., Ltd, bubt
> > > > > doesn't
> > > > > work
> > > > > with the latest UVC stock kernel driver. Is there any hope to
> > > > > get
> > > > > this
> > > > > supported?
> > > > > 
> > > > > uname -a:
> > > > > Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020
> > > > > 12:58:59
> > > > > +0000
> > > > > x86_64 GNU/Linux
> > > > > 
> > > > > running Arch Linux on a Lenovo Thinkpad  T490s
> > > > > 
> > > > > dmesg:
> > > > > 
> > > > > [76850.137838] usb 3-1.1.1.2: New USB device found,
> > > > > idVendor=04f2,
> > > > > idProduct=b612, bcdDevice= 2.10
> > > > > [76850.137841] usb 3-1.1.1.2: New USB device strings: Mfr=1,
> > > > > Product=2,
> > > > > SerialNumber=3
> > > > > [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> > > > > [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> > > > > [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> > > > > [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > > > > WebCam
> > > > > (04f2:b612)
> > > > > [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as
> > > > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000
> > > > > :3c:
> > > > > 00.0
> > > > > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input66
> > > > > [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > > > > WebCam
> > > > > (04f2:b612)
> > > > > [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device
> > > > > number
> > > > > 5
> > > > > using xhci_hcd
> > > > > [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as
> > > > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000
> > > > > :3c:
> > > > > 00.0
> > > > > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input67    
> > > > 
> > > > Hmm... it sounds that the camera was properly detected here. 
> > > > 
> > > > Could you please enclose the contents of the following command?
> > > > 
> > > >         $ v4l2-ctl --all
> > > > 
> > > > Thanks,
> > > > Mauro    
> > > 
> > > Hi Mauro 
> > > 
> > > thanks for the quick answer. Here is the output but I am pretty
> > > sure
> > > that this come from the integrated laptop camera and not the one in
> > > the
> > > external monitor  
> > 
> > Well, you can use "-d" parameter to identify the device, like:
> > 
> >         $ v4l2-ctl -d /dev/v4l/by-path/pci-0000\:00\:14.0-usb-
> > 0\:3.2\:1.0-video-index0 --all
> > 
> > The real path depends on your camera - you can take a look at:
> > 
> >         $ tree /dev/v4l/
> >         /dev/v4l/
> >         ├── by-id
> >         │   ├── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index0 ->
> > ../../video0
> >         │   └── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index1 ->
> > ../../video1
> >         └── by-path
> >             ├── pci-0000:00:14.0-usb-0:3.2:1.0-video-index0 ->
> > ../../video0
> >             └── pci-0000:00:14.0-usb-0:3.2:1.0-video-index1 ->
> > ../../video1
> > 
> >         
> > In order to check the ones that were detected.
> > 
> > Regards,
> > Mauro  
> ├── by-id
> │   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-
> index0 -> ../../video0
> │   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-
> index1 -> ../../video1

Ok. So, /dev/video0 is the video streaming device (and /dev/video1
carries on metadata).


> │   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0 -
> > ../../video4  
> │   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index1 -
> > ../../video5  
> └── by-path
>     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
>     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
>     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 -> ../../video2
>     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 -> ../../video3
>     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 -> ../../video4
>     └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 -> ../../video5
> 
> It seems non of them responds. They are either busy, can not be opened
> or fail to produce any response.
> 
> sudo v4l2-ctl -d /dev/v4l/by-id/usb-
> sunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0
> Failed to open /dev/v4l/by-id/usb-
> SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0: Device or
> resource busy

Weird. It is not usual to receive -EBUSY if there's no other program
using the device at the same time.

Yet, from what I understood, on this device, the camera is hidden inside
the monitor until an application tries to use it.

While uvc driver has support for Linux PM, perhaps this specific
device requires some extra command to turn the camera on and to 
open it from the monitor case.

After you called v4l2-ctl, does any message appears at dmesg?

Thanks,
Mauro

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
       [not found]           ` <40a643d5fd9b6dd387d9cbde3e5ba1796b282f6a.camel@hzdr.de>
@ 2020-11-04 21:11             ` Mauro Carvalho Chehab
  2020-11-04 21:24               ` Laurent Pinchart
  0 siblings, 1 reply; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2020-11-04 21:11 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: linux-media, Laurent Pinchart

Em Wed, 04 Nov 2020 21:22:55 +0100
Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:

> On Wed, 2020-11-04 at 21:01 +0100, Mauro Carvalho Chehab wrote:
> > Em Wed, 04 Nov 2020 20:43:27 +0100
> > Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> > 
> > I'm c/c Laurent, as he is the author of the UVC driver.
> >   
> > > On Wed, 2020-11-04 at 17:45 +0100, Mauro Carvalho Chehab wrote:  
> > > > Em Wed, 04 Nov 2020 17:25:48 +0100
> > > > Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> > > >     
> > > > > On Wed, 2020-11-04 at 17:02 +0100, Mauro Carvalho Chehab
> > > > > wrote:    
> > > > > > Em Wed, 04 Nov 2020 14:24:34 +0100
> > > > > > Gregor Hlawacek <g.hlawacek@hzdr.de> escreveu:
> > > > > >       
> > > > > > > Hi all
> > > > > > > 
> > > > > > > I own a Philips Brilliance 241B which has a webcam
> > > > > > > attached.
> > > > > > > The
> > > > > > > device
> > > > > > > is listed as 0412:612b Chicony Electronics Co., Ltd, bubt
> > > > > > > doesn't
> > > > > > > work
> > > > > > > with the latest UVC stock kernel driver. Is there any hope
> > > > > > > to
> > > > > > > get
> > > > > > > this
> > > > > > > supported?
> > > > > > > 
> > > > > > > uname -a:
> > > > > > > Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020
> > > > > > > 12:58:59
> > > > > > > +0000
> > > > > > > x86_64 GNU/Linux
> > > > > > > 
> > > > > > > running Arch Linux on a Lenovo Thinkpad  T490s
> > > > > > > 
> > > > > > > dmesg:
> > > > > > > 
> > > > > > > [76850.137838] usb 3-1.1.1.2: New USB device found,
> > > > > > > idVendor=04f2,
> > > > > > > idProduct=b612, bcdDevice= 2.10
> > > > > > > [76850.137841] usb 3-1.1.1.2: New USB device strings:
> > > > > > > Mfr=1,
> > > > > > > Product=2,
> > > > > > > SerialNumber=3
> > > > > > > [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC
> > > > > > > WebCam
> > > > > > > [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> > > > > > > [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> > > > > > > [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD
> > > > > > > UVC
> > > > > > > WebCam
> > > > > > > (04f2:b612)
> > > > > > > [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as
> > > > > > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/
> > > > > > > 0000
> > > > > > > :3c:
> > > > > > > 00.0
> > > > > > > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-
> > > > > > > 1.1.1.2:1.0/input/input66
> > > > > > > [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD
> > > > > > > UVC
> > > > > > > WebCam
> > > > > > > (04f2:b612)
> > > > > > > [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device
> > > > > > > number
> > > > > > > 5
> > > > > > > using xhci_hcd
> > > > > > > [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as
> > > > > > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/
> > > > > > > 0000
> > > > > > > :3c:
> > > > > > > 00.0
> > > > > > > /usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-
> > > > > > > 1.1.1.2:1.2/input/input67      
> > > > > > 
> > > > > > Hmm... it sounds that the camera was properly detected here. 
> > > > > > 
> > > > > > Could you please enclose the contents of the following
> > > > > > command?
> > > > > > 
> > > > > >         $ v4l2-ctl --all
> > > > > > 
> > > > > > Thanks,
> > > > > > Mauro      
> > > > > 
> > > > > Hi Mauro 
> > > > > 
> > > > > thanks for the quick answer. Here is the output but I am pretty
> > > > > sure
> > > > > that this come from the integrated laptop camera and not the
> > > > > one in
> > > > > the
> > > > > external monitor    
> > > > 
> > > > Well, you can use "-d" parameter to identify the device, like:
> > > > 
> > > >         $ v4l2-ctl -d /dev/v4l/by-path/pci-0000\:00\:14.0-usb-
> > > > 0\:3.2\:1.0-video-index0 --all
> > > > 
> > > > The real path depends on your camera - you can take a look at:
> > > > 
> > > >         $ tree /dev/v4l/
> > > >         /dev/v4l/
> > > >         ├── by-id
> > > >         │   ├── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index0  
> > > > ->  
> > > > ../../video0
> > > >         │   └── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index1  
> > > > ->  
> > > > ../../video1
> > > >         └── by-path
> > > >             ├── pci-0000:00:14.0-usb-0:3.2:1.0-video-index0 ->
> > > > ../../video0
> > > >             └── pci-0000:00:14.0-usb-0:3.2:1.0-video-index1 ->
> > > > ../../video1
> > > > 
> > > >         
> > > > In order to check the ones that were detected.
> > > > 
> > > > Regards,
> > > > Mauro    
> > > ├── by-id
> > > │   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-
> > > video-
> > > index0 -> ../../video0
> > > │   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-
> > > video-
> > > index1 -> ../../video1  
> > 
> > Ok. So, /dev/video0 is the video streaming device (and /dev/video1
> > carries on metadata).
> > 
> >   
> > > │   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-
> > > index0 -  
> > > > ../../video4    
> > > │   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-
> > > index1 -  
> > > > ../../video5    
> > > └── by-path
> > >     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
> > >     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
> > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 ->
> > > ../../video2
> > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 ->
> > > ../../video3
> > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 ->
> > > ../../video4
> > >     └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 ->
> > > ../../video5
> > > 
> > > It seems non of them responds. They are either busy, can not be
> > > opened
> > > or fail to produce any response.
> > > 
> > > sudo v4l2-ctl -d /dev/v4l/by-id/usb-
> > > sunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0
> > > Failed to open /dev/v4l/by-id/usb-
> > > SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0: Device
> > > or
> > > resource busy  
> > 
> > Weird. It is not usual to receive -EBUSY if there's no other program
> > using the device at the same time.
> > 
> > Yet, from what I understood, on this device, the camera is hidden
> > inside
> > the monitor until an application tries to use it.
> > 
> > While uvc driver has support for Linux PM, perhaps this specific
> > device requires some extra command to turn the camera on and to 
> > open it from the monitor case.
> > 
> > After you called v4l2-ctl, does any message appears at dmesg?
> > 
> > Thanks,
> > Mauro  
> 
> Hi Mauro
> 
> no nothing. 
> 
> ls -l /dev/video* 
> crw-rw----+ 1 root video 81, 0 4. Nov 15:19 /dev/video0
> crw-rw----+ 1 root video 81, 1 4. Nov 15:19 /dev/video1
> crw-rw----+ 1 root video 81, 2 4. Nov 15:19 /dev/video2
> crw-rw----+ 1 root video 81, 3 4. Nov 15:19 /dev/video3
> crw-rw----+ 1 root video 81, 4 4. Nov 15:19 /dev/video4
> crw-rw----+ 1 root video 81, 5 4. Nov 15:19 /dev/video5
> 
> video0 and 1 are the laptop cam. video2-5 is related to the not working
> one inside the external monitor.

Well, based on the results of your tree command:

$ tree /dev/v4l/
        /dev/v4l/
	├── by-id
	│   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0 -> ../../video0
	│   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index1 -> ../../video1
	│   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0 -> ../../video4  
	│   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index1 -> ../../video5  
	└── by-path
	    ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
	    ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
	    ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 -> ../../video2
	    ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 -> ../../video3
	    ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 -> ../../video4
	    └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 -> ../../video5

you have:
	- Chicony devices: video0 and video1
	- SunplusIT FHD WebCam: video4 and video5
	- Two other video devnodes (video2 and video3) that didn't return
	  any ID.

From what you mentioned on your first e-mail, the Chicony device is
the webcam mounted inside the Philips monitor. Right?

-

The issue with video2 and video3 can actually put something in
perspective.

When systemd/udev detects a video device, it runs the ruleset at:

	/usr/lib/udev/rules.d/60-persistent-v4l.rules

Which calls a program:

	/usr/lib/udev/v4l_id

via those rules:

	SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id"
	KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"

This small program checks the features on all V4L2 devices (a simplified
version of v4l2-ctl --all) and populate the aliases under /dev/v4l.

As it didn't create any nodes at /dev/v4l/by-id for video2 and video3,
perhaps, due to a bug somewhere, this program is locked, and it is keeping
the device opened. If this is the case, you can indeed receive -EBUSY when
trying to access the device nodes.

Another weird thing is that the same USB device at:
	
	pci-0000:3c:00.0-usb-0:1.1.1.2:1

is creating 4 devnodes instead of two. This command may help to
better understand what's happening:

	$ lsusb -t

But usually USB camera devices have an internal hub, with multiple
ports on it, like my Logitech camera:

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 2: Dev 8, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 8, If 3, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 2: Dev 8, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M

At the above, uvcvideo is used on port 2.

On your case, both port 0 and port 2 seem to be reporting an UVC
camera, which sounds wrong. On a first glance, that sounds to be a
problem at the USB descriptors stored at the device's EEPROM.

Thanks,
Mauro

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-04 21:11             ` Mauro Carvalho Chehab
@ 2020-11-04 21:24               ` Laurent Pinchart
  2020-11-05  7:41                 ` Gregor Hlawacek
  0 siblings, 1 reply; 13+ messages in thread
From: Laurent Pinchart @ 2020-11-04 21:24 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: Mauro Carvalho Chehab, linux-media

Hi Gregor,

On Wed, Nov 04, 2020 at 10:11:48PM +0100, Mauro Carvalho Chehab wrote:
> Em Wed, 04 Nov 2020 21:22:55 +0100 Gregor Hlawacek escreveu:
> > On Wed, 2020-11-04 at 21:01 +0100, Mauro Carvalho Chehab wrote:
> > > Em Wed, 04 Nov 2020 20:43:27 +0100 Gregor Hlawacek escreveu:
> > > 
> > > I'm c/c Laurent, as he is the author of the UVC driver.
> > >   
> > > > On Wed, 2020-11-04 at 17:45 +0100, Mauro Carvalho Chehab wrote:  
> > > > > Em Wed, 04 Nov 2020 17:25:48 +0100 Gregor Hlawacek escreveu:
> > > > > > On Wed, 2020-11-04 at 17:02 +0100, Mauro Carvalho Chehab wrote:    
> > > > > > > Em Wed, 04 Nov 2020 14:24:34 +0100 Gregor Hlawacek escreveu:
> > > > > > >       
> > > > > > > > Hi all
> > > > > > > > 
> > > > > > > > I own a Philips Brilliance 241B which has a webcam attached. The device
> > > > > > > > is listed as 0412:612b Chicony Electronics Co., Ltd, bubt doesn't work
> > > > > > > > with the latest UVC stock kernel driver. Is there any hope to get this
> > > > > > > > supported?
> > > > > > > > 
> > > > > > > > uname -a:
> > > > > > > > Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59+0000 x86_64 GNU/Linux
> > > > > > > > 
> > > > > > > > running Arch Linux on a Lenovo Thinkpad  T490s
> > > > > > > > 
> > > > > > > > dmesg:
> > > > > > > > 
> > > > > > > > [76850.137838] usb 3-1.1.1.2: New USB device found, idVendor=04f2, idProduct=b612, bcdDevice= 2.10
> > > > > > > > [76850.137841] usb 3-1.1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> > > > > > > > [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> > > > > > > > [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> > > > > > > > [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> > > > > > > > [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
> > > > > > > > [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input66
> > > > > > > > [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
> > > > > > > > [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
> > > > > > > > [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input67      
> > > > > > > 
> > > > > > > Hmm... it sounds that the camera was properly detected here. 
> > > > > > > 
> > > > > > > Could you please enclose the contents of the following
> > > > > > > command?
> > > > > > > 
> > > > > > >         $ v4l2-ctl --all
> > > > > > > 
> > > > > > > Thanks,
> > > > > > > Mauro      
> > > > > > 
> > > > > > Hi Mauro 
> > > > > > 
> > > > > > thanks for the quick answer. Here is the output but I am pretty sure
> > > > > > that this come from the integrated laptop camera and not the one in the
> > > > > > external monitor    
> > > > > 
> > > > > Well, you can use "-d" parameter to identify the device, like:
> > > > > 
> > > > >         $ v4l2-ctl -d /dev/v4l/by-path/pci-0000\:00\:14.0-usb-0\:3.2\:1.0-video-index0 --all
> > > > > 
> > > > > The real path depends on your camera - you can take a look at:
> > > > > 
> > > > >         $ tree /dev/v4l/
> > > > >         /dev/v4l/
> > > > >         ├── by-id
> > > > >         │   ├── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index0 -> ../../video0
> > > > >         │   └── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-index1 -> ../../video1
> > > > >         └── by-path
> > > > >             ├── pci-0000:00:14.0-usb-0:3.2:1.0-video-index0 -> ../../video0
> > > > >             └── pci-0000:00:14.0-usb-0:3.2:1.0-video-index1 -> ../../video1
> > > > > 
> > > > >         
> > > > > In order to check the ones that were detected.
> > > >
> > > > ├── by-id
> > > > │   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0 -> ../../video0
> > > > │   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index1 -> ../../video1  
> > > 
> > > Ok. So, /dev/video0 is the video streaming device (and /dev/video1
> > > carries on metadata).
> > > 
> > > > │   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0 -> ../../video4    
> > > > │   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index1 -> ../../video5    
> > > > └── by-path
> > > >     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
> > > >     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
> > > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 -> ../../video2
> > > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 -> ../../video3
> > > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 -> ../../video4
> > > >     └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 -> ../../video5
> > > > 
> > > > It seems non of them responds. They are either busy, can not be opened
> > > > or fail to produce any response.
> > > > 
> > > > sudo v4l2-ctl -d /dev/v4l/by-id/usb-sunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0
> > > > Failed to open /dev/v4l/by-id/usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0: Device or resource busy  
> > > 
> > > Weird. It is not usual to receive -EBUSY if there's no other program
> > > using the device at the same time.
> > > 
> > > Yet, from what I understood, on this device, the camera is hidden inside
> > > the monitor until an application tries to use it.
> > > 
> > > While uvc driver has support for Linux PM, perhaps this specific
> > > device requires some extra command to turn the camera on and to 
> > > open it from the monitor case.
> > > 
> > > After you called v4l2-ctl, does any message appears at dmesg?
> > 
> > Hi Mauro
> > 
> > no nothing. 
> > 
> > ls -l /dev/video* 
> > crw-rw----+ 1 root video 81, 0 4. Nov 15:19 /dev/video0
> > crw-rw----+ 1 root video 81, 1 4. Nov 15:19 /dev/video1
> > crw-rw----+ 1 root video 81, 2 4. Nov 15:19 /dev/video2
> > crw-rw----+ 1 root video 81, 3 4. Nov 15:19 /dev/video3
> > crw-rw----+ 1 root video 81, 4 4. Nov 15:19 /dev/video4
> > crw-rw----+ 1 root video 81, 5 4. Nov 15:19 /dev/video5
> > 
> > video0 and 1 are the laptop cam. video2-5 is related to the not working
> > one inside the external monitor.
> 
> Well, based on the results of your tree command:
> 
> $ tree /dev/v4l/
>         /dev/v4l/
> 	├── by-id
> 	│   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0 -> ../../video0
> 	│   ├── usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index1 -> ../../video1
> 	│   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0 -> ../../video4  
> 	│   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index1 -> ../../video5  
> 	└── by-path
> 	    ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
> 	    ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
> 	    ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 -> ../../video2
> 	    ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 -> ../../video3
> 	    ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 -> ../../video4
> 	    └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 -> ../../video5
> 
> you have:
> 	- Chicony devices: video0 and video1
> 	- SunplusIT FHD WebCam: video4 and video5
> 	- Two other video devnodes (video2 and video3) that didn't return
> 	  any ID.
> 
> From what you mentioned on your first e-mail, the Chicony device is
> the webcam mounted inside the Philips monitor. Right?
> 
> -
> 
> The issue with video2 and video3 can actually put something in
> perspective.
> 
> When systemd/udev detects a video device, it runs the ruleset at:
> 
> 	/usr/lib/udev/rules.d/60-persistent-v4l.rules
> 
> Which calls a program:
> 
> 	/usr/lib/udev/v4l_id
> 
> via those rules:
> 
> 	SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id"
> 	KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"
> 
> This small program checks the features on all V4L2 devices (a simplified
> version of v4l2-ctl --all) and populate the aliases under /dev/v4l.
> 
> As it didn't create any nodes at /dev/v4l/by-id for video2 and video3,
> perhaps, due to a bug somewhere, this program is locked, and it is keeping
> the device opened. If this is the case, you can indeed receive -EBUSY when
> trying to access the device nodes.
> 
> Another weird thing is that the same USB device at:
> 	
> 	pci-0000:3c:00.0-usb-0:1.1.1.2:1
> 
> is creating 4 devnodes instead of two. This command may help to
> better understand what's happening:
> 
> 	$ lsusb -t
> 
> But usually USB camera devices have an internal hub, with multiple
> ports on it, like my Logitech camera:
> 
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
>     |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
>         |__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
>         |__ Port 2: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 480M
>         |__ Port 2: Dev 8, If 0, Class=Video, Driver=uvcvideo, 480M
>         |__ Port 2: Dev 8, If 3, Class=Audio, Driver=snd-usb-audio, 480M
>         |__ Port 2: Dev 8, If 1, Class=Video, Driver=uvcvideo, 480M
>         |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
>         |__ Port 1: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
>         |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
> 
> At the above, uvcvideo is used on port 2.
> 
> On your case, both port 0 and port 2 seem to be reporting an UVC
> camera, which sounds wrong. On a first glance, that sounds to be a
> problem at the USB descriptors stored at the device's EEPROM.

What's the output of 'lsusb -v -d 04f2:b612' (running as root if
possible) ?

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-04 21:24               ` Laurent Pinchart
@ 2020-11-05  7:41                 ` Gregor Hlawacek
  2020-11-05  9:19                   ` Laurent Pinchart
  0 siblings, 1 reply; 13+ messages in thread
From: Gregor Hlawacek @ 2020-11-05  7:41 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Mauro Carvalho Chehab, linux-media

[-- Attachment #1: Type: text/plain, Size: 58516 bytes --]

On Wed, 2020-11-04 at 23:24 +0200, Laurent Pinchart wrote:
> Hi Gregor,
> 
> On Wed, Nov 04, 2020 at 10:11:48PM +0100, Mauro Carvalho Chehab
> wrote:
> > Em Wed, 04 Nov 2020 21:22:55 +0100 Gregor Hlawacek escreveu:
> > > On Wed, 2020-11-04 at 21:01 +0100, Mauro Carvalho Chehab wrote:
> > > > Em Wed, 04 Nov 2020 20:43:27 +0100 Gregor Hlawacek escreveu:
> > > > 
> > > > I'm c/c Laurent, as he is the author of the UVC driver.
> > > >   
> > > > > On Wed, 2020-11-04 at 17:45 +0100, Mauro Carvalho Chehab
> > > > > wrote:  
> > > > > > Em Wed, 04 Nov 2020 17:25:48 +0100 Gregor Hlawacek
> > > > > > escreveu:
> > > > > > > On Wed, 2020-11-04 at 17:02 +0100, Mauro Carvalho Chehab
> > > > > > > wrote:    
> > > > > > > > Em Wed, 04 Nov 2020 14:24:34 +0100 Gregor Hlawacek
> > > > > > > > escreveu:
> > > > > > > >       
> > > > > > > > > Hi all
> > > > > > > > > 
> > > > > > > > > I own a Philips Brilliance 241B which has a webcam
> > > > > > > > > attached. The device
> > > > > > > > > is listed as 0412:612b Chicony Electronics Co., Ltd,
> > > > > > > > > bubt doesn't work
> > > > > > > > > with the latest UVC stock kernel driver. Is there any
> > > > > > > > > hope to get this
> > > > > > > > > supported?
> > > > > > > > > 
> > > > > > > > > uname -a:
> > > > > > > > > Linux it72 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov
> > > > > > > > > 2020 12:58:59+0000 x86_64 GNU/Linux
> > > > > > > > > 
> > > > > > > > > running Arch Linux on a Lenovo Thinkpad  T490s
> > > > > > > > > 
> > > > > > > > > dmesg:
> > > > > > > > > 
> > > > > > > > > [76850.137838] usb 3-1.1.1.2: New USB device found,
> > > > > > > > > idVendor=04f2, idProduct=b612, bcdDevice= 2.10
> > > > > > > > > [76850.137841] usb 3-1.1.1.2: New USB device strings:
> > > > > > > > > Mfr=1, Product=2, SerialNumber=3
> > > > > > > > > [76850.137843] usb 3-1.1.1.2: Product: USB2.0 FHD UVC
> > > > > > > > > WebCam
> > > > > > > > > [76850.137845] usb 3-1.1.1.2: Manufacturer: SunplusIT
> > > > > > > > > Inc
> > > > > > > > > [76850.137846] usb 3-1.1.1.2: SerialNumber: 01.00.00
> > > > > > > > > [76850.152761] uvcvideo: Found UVC 1.50 device USB2.0
> > > > > > > > > FHD UVC WebCam (04f2:b612)
> > > > > > > > > [76850.215683] input: USB2.0 FHD UVC WebCam: USB2.0 F
> > > > > > > > > as
> > > > > > > > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05
> > > > > > > > > :02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-
> > > > > > > > > 1.1.1.2/3-1.1.1.2:1.0/input/input66
> > > > > > > > > [76850.223642] uvcvideo: Found UVC 1.50 device USB2.0
> > > > > > > > > FHD UVC WebCam (04f2:b612)
> > > > > > > > > [76850.232499] usb 4-1.1.2: new SuperSpeed Gen 1 USB
> > > > > > > > > device number 5 using xhci_hcd
> > > > > > > > > [76850.241004] input: USB2.0 FHD UVC WebCam: IR Camer
> > > > > > > > > as
> > > > > > > > > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05
> > > > > > > > > :02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-
> > > > > > > > > 1.1.1.2/3-1.1.1.2:1.2/input/input67      
> > > > > > > > 
> > > > > > > > Hmm... it sounds that the camera was properly detected
> > > > > > > > here. 
> > > > > > > > 
> > > > > > > > Could you please enclose the contents of the following
> > > > > > > > command?
> > > > > > > > 
> > > > > > > >         $ v4l2-ctl --all
> > > > > > > > 
> > > > > > > > Thanks,
> > > > > > > > Mauro      
> > > > > > > 
> > > > > > > Hi Mauro 
> > > > > > > 
> > > > > > > thanks for the quick answer. Here is the output but I am
> > > > > > > pretty sure
> > > > > > > that this come from the integrated laptop camera and not
> > > > > > > the one in the
> > > > > > > external monitor    
> > > > > > 
> > > > > > Well, you can use "-d" parameter to identify the device,
> > > > > > like:
> > > > > > 
> > > > > >         $ v4l2-ctl -d /dev/v4l/by-path/pci-0000\:00\:14.0-
> > > > > > usb-0\:3.2\:1.0-video-index0 --all
> > > > > > 
> > > > > > The real path depends on your camera - you can take a look
> > > > > > at:
> > > > > > 
> > > > > >         $ tree /dev/v4l/
> > > > > >         /dev/v4l/
> > > > > >         ├── by-id
> > > > > >         │   ├── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-
> > > > > > index0 -> ../../video0
> > > > > >         │   └── usb-046d_HD_Pro_Webcam_C920_55DA1CCF-video-
> > > > > > index1 -> ../../video1
> > > > > >         └── by-path
> > > > > >             ├── pci-0000:00:14.0-usb-0:3.2:1.0-video-index0
> > > > > > -> ../../video0
> > > > > >             └── pci-0000:00:14.0-usb-0:3.2:1.0-video-index1
> > > > > > -> ../../video1
> > > > > > 
> > > > > >         
> > > > > > In order to check the ones that were detected.
> > > > > 
> > > > > ├── by-id
> > > > > │   ├── usb-
> > > > > Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-
> > > > > index0 -> ../../video0
> > > > > │   ├── usb-
> > > > > Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-
> > > > > index1 -> ../../video1  
> > > > 
> > > > Ok. So, /dev/video0 is the video streaming device (and
> > > > /dev/video1
> > > > carries on metadata).
> > > > 
> > > > > │   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-
> > > > > video-index0 -> ../../video4    
> > > > > │   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-
> > > > > video-index1 -> ../../video5    
> > > > > └── by-path
> > > > >     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 ->
> > > > > ../../video0
> > > > >     ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 ->
> > > > > ../../video1
> > > > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 ->
> > > > > ../../video2
> > > > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 ->
> > > > > ../../video3
> > > > >     ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 ->
> > > > > ../../video4
> > > > >     └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 ->
> > > > > ../../video5
> > > > > 
> > > > > It seems non of them responds. They are either busy, can not
> > > > > be opened
> > > > > or fail to produce any response.
> > > > > 
> > > > > sudo v4l2-ctl -d /dev/v4l/by-id/usb-
> > > > > sunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0
> > > > > Failed to open /dev/v4l/by-id/usb-
> > > > > SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-video-index0:
> > > > > Device or resource busy  
> > > > 
> > > > Weird. It is not usual to receive -EBUSY if there's no other
> > > > program
> > > > using the device at the same time.
> > > > 
> > > > Yet, from what I understood, on this device, the camera is
> > > > hidden inside
> > > > the monitor until an application tries to use it.
> > > > 
> > > > While uvc driver has support for Linux PM, perhaps this
> > > > specific
> > > > device requires some extra command to turn the camera on and to
> > > > open it from the monitor case.
> > > > 
> > > > After you called v4l2-ctl, does any message appears at dmesg?
> > > 
> > > Hi Mauro
> > > 
> > > no nothing. 
> > > 
> > > ls -l /dev/video* 
> > > crw-rw----+ 1 root video 81, 0 4. Nov 15:19 /dev/video0
> > > crw-rw----+ 1 root video 81, 1 4. Nov 15:19 /dev/video1
> > > crw-rw----+ 1 root video 81, 2 4. Nov 15:19 /dev/video2
> > > crw-rw----+ 1 root video 81, 3 4. Nov 15:19 /dev/video3
> > > crw-rw----+ 1 root video 81, 4 4. Nov 15:19 /dev/video4
> > > crw-rw----+ 1 root video 81, 5 4. Nov 15:19 /dev/video5
> > > 
> > > video0 and 1 are the laptop cam. video2-5 is related to the not
> > > working
> > > one inside the external monitor.
> > 
> > Well, based on the results of your tree command:
> > 
> > $ tree /dev/v4l/
> >         /dev/v4l/
> >         ├── by-id
> >         │   ├── usb-
> > Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0 ->
> > ../../video0
> >         │   ├── usb-
> > Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index1 ->
> > ../../video1
> >         │   ├── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-
> > video-index0 -> ../../video4  
> >         │   └── usb-SunplusIT_Inc_USB2.0_FHD_UVC_WebCam_01.00.00-
> > video-index1 -> ../../video5  
> >         └── by-path
> >             ├── pci-0000:00:14.0-usb-0:8:1.0-video-index0 ->
> > ../../video0
> >             ├── pci-0000:00:14.0-usb-0:8:1.0-video-index1 ->
> > ../../video1
> >             ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index0 ->
> > ../../video2
> >             ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.0-video-index1 ->
> > ../../video3
> >             ├── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index0 ->
> > ../../video4
> >             └── pci-0000:3c:00.0-usb-0:1.1.1.2:1.2-video-index1 ->
> > ../../video5
> > 
> > you have:
> >         - Chicony devices: video0 and video1
> >         - SunplusIT FHD WebCam: video4 and video5
> >         - Two other video devnodes (video2 and video3) that didn't
> > return
> >           any ID.
> > 
> > From what you mentioned on your first e-mail, the Chicony device is
> > the webcam mounted inside the Philips monitor. Right?
> > 
> > -
> > 
> > The issue with video2 and video3 can actually put something in
> > perspective.
> > 
> > When systemd/udev detects a video device, it runs the ruleset at:
> > 
> >         /usr/lib/udev/rules.d/60-persistent-v4l.rules
> > 
> > Which calls a program:
> > 
> >         /usr/lib/udev/v4l_id
> > 
> > via those rules:
> > 
> >         SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id"
> >         KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-
> > id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"
> > 
> > This small program checks the features on all V4L2 devices (a
> > simplified
> > version of v4l2-ctl --all) and populate the aliases under /dev/v4l.
> > 
> > As it didn't create any nodes at /dev/v4l/by-id for video2 and
> > video3,
> > perhaps, due to a bug somewhere, this program is locked, and it is
> > keeping
> > the device opened. If this is the case, you can indeed receive -
> > EBUSY when
> > trying to access the device nodes.
> > 
> > Another weird thing is that the same USB device at:
> >         
> >         pci-0000:3c:00.0-usb-0:1.1.1.2:1
> > 
> > is creating 4 devnodes instead of two. This command may help to
> > better understand what's happening:
> > 
> >         $ lsusb -t
> > 
> > But usually USB camera devices have an internal hub, with multiple
> > ports on it, like my Logitech camera:
> > 
> > /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
> >     |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
> >         |__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
> >         |__ Port 2: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio,
> > 480M
> >         |__ Port 2: Dev 8, If 0, Class=Video, Driver=uvcvideo, 480M
> >         |__ Port 2: Dev 8, If 3, Class=Audio, Driver=snd-usb-audio,
> > 480M
> >         |__ Port 2: Dev 8, If 1, Class=Video, Driver=uvcvideo, 480M
> >         |__ Port 1: Dev 4, If 1, Class=Human Interface Device,
> > Driver=usbhid, 12M
> >         |__ Port 1: Dev 4, If 2, Class=Human Interface Device,
> > Driver=usbhid, 12M
> >         |__ Port 1: Dev 4, If 0, Class=Human Interface Device,
> > Driver=usbhid, 12M
> > 
> > At the above, uvcvideo is used on port 2.
> > 
> > On your case, both port 0 and port 2 seem to be reporting an UVC
> > camera, which sounds wrong. On a first glance, that sounds to be a
> > problem at the USB descriptors stored at the device's EEPROM.
> 
> What's the output of 'lsusb -v -d 04f2:b612' (running as root if
> possible) ?
> 

Hi Mauro and Laurent

@Mauro:

I think there is a confusion, which might be my fault as I talked about
a chicony cam in the external monitor. The chicony cam that shows up as
video0/1 is my internal laptop camera which is working fine. The
problematic one is the sunplusIT camera which has a chicony usb
identifier (0412). This is connected to video2-5 and also the one for
which I reported the above information.

@Laurent:

lsusb -v -d 0412:612b:

Bus 003 Device 007: ID 04f2:b612 Chicony Electronics Co., Ltd 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.01
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x04f2 Chicony Electronics Co., Ltd
  idProduct          0xb612 
  bcdDevice            2.10
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x03e9
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               4 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      1 
      iInterface              4 
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.50
        wTotalLength       0x006f
        dwClockFrequency       48.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0030000a
          Auto-Exposure Mode
          Exposure Time (Absolute)
          Window
          Region of Interest
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            3
        bmControls     0x0000157f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0 
        bmVideoStandards     0x00
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 3
        guidExtensionCode         {0fb885c3-68c2-4547-90f7-
8f47579d95fc}
        bNumControl             5
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            4
        bmControls( 0)       0x1f
        bmControls( 1)       0x00
        bmControls( 2)       0x00
        bmControls( 3)       0x00
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {63610682-5070-49ab-b8cc-
b3855e8d221d}
        bNumControl            20
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            4
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        bmControls( 2)       0x71
        bmControls( 3)       0x00
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            15
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         2
        wTotalLength                   0x01a9
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       5
        bStillCaptureMethod                 1
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     4
        bmaControls( 1)                     0
      VideoStreaming Interface Descriptor:
        bLength                            11
        bDescriptorType                    36
        bDescriptorSubtype                  6 (FORMAT_MJPEG)
        bFormatIndex                        1
        bNumFrameDescriptors                7
        bFlags                              1
          Fixed-size samples: Yes
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                147456000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         2
        bmCapabilities                   0x01
          Still image supported
        wWidth                           1920
        wHeight                          1080
        dwMinBitRate                995328000
        dwMaxBitRate                995328000
        dwMaxVideoFrameBufferSize     4147200
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         3
        bmCapabilities                   0x01
          Still image supported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                442368000
        dwMaxBitRate                442368000
        dwMaxVideoFrameBufferSize     1843200
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         4
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                110592000
        dwMaxBitRate                110592000
        dwMaxVideoFrameBufferSize      460800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         5
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 48660480
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         6
        bmCapabilities                   0x01
          Still image supported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 36864000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         7
        bmCapabilities                   0x01
          Still image supported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 12165120
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        2
        bNumFrameDescriptors                5
        guidFormat                            {32595559-0000-0010-8000-
00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                147456000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                110592000
        dwMaxBitRate                110592000
        dwMaxVideoFrameBufferSize      460800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 48660480
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x01
          Still image supported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 36864000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x01
          Still image supported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 12165120
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0180  1x 384 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0280  1x 640 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x03b0  1x 944 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0a80  2x 640 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       8
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       9
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0be0  2x 992 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting      10
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x13c0  3x 960 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting      11
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x13fc  3x 1020 bytes
        bInterval               1
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction              11 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      1 
      iInterface             11 
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.50
        wTotalLength       0x006f
        dwClockFrequency       48.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       3
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00300000
          Window
          Region of Interest
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            3
        bmControls     0x00000000
        iProcessing             0 
        bmVideoStandards     0x00
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 7
        guidExtensionCode         {0f3f95dc-2632-4c4e-92c9-
a04782f43bc8}
        bNumControl             4
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            4
        bmControls( 0)       0xe0
        bmControls( 1)       0x01
        bmControls( 2)       0x00
        bmControls( 3)       0x00
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {63610682-5070-49ab-b8cc-
b3855e8d221d}
        bNumControl            27
        bNrPins                 1
        baSourceID( 0)          7
        bControlSize            4
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        bmControls( 2)       0x77
        bmControls( 3)       0x1f
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                   0x004d
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       5
        bStillCaptureMethod                 1
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     0
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                1
        guidFormat                            {00000032-0002-0010-8000-
00aa00389b71}
        bBitsPerPixel                       8
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           352
        dwMinBitRate                 29736960
        dwMaxBitRate                 29736960
        dwMaxVideoFrameBufferSize      247808
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0a80  2x 640 bytes
        bInterval               1


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6775 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-05  7:41                 ` Gregor Hlawacek
@ 2020-11-05  9:19                   ` Laurent Pinchart
  2020-11-07 16:23                     ` Gregor Hlawacek
  0 siblings, 1 reply; 13+ messages in thread
From: Laurent Pinchart @ 2020-11-05  9:19 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: Mauro Carvalho Chehab, linux-media

Hi Gregor,

On Thu, Nov 05, 2020 at 08:41:27AM +0100, Gregor Hlawacek wrote:

[snip]

> Hi Mauro and Laurent
> 
> @Mauro:
> 
> I think there is a confusion, which might be my fault as I talked about
> a chicony cam in the external monitor. The chicony cam that shows up as
> video0/1 is my internal laptop camera which is working fine. The
> problematic one is the sunplusIT camera which has a chicony usb
> identifier (0412). This is connected to video2-5 and also the one for
> which I reported the above information.
> 
> @Laurent:
> 
> lsusb -v -d 0412:612b:

[snip]

Thank for the information. Nothing strikes me as weird. Could you

- Set the uvcvideo trace parameter to 0xffff:

  sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace

- Unplug and replug the monitor
- Open the video devices in turn with v4l2-ctl (use the video device
  nodes /dev/video* directly, not the by-id links)
- Send send the output of 'sudo dmesg'

You can clear the kernel log with 'sudo dmesg -c' before doing so to
avoid including unrelated data (or just strip it from the dmesg output
manually when copying it to an e-mail).

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-05  9:19                   ` Laurent Pinchart
@ 2020-11-07 16:23                     ` Gregor Hlawacek
  2020-11-16  6:43                       ` Gregor Hlawacek
  2020-11-16  8:45                       ` Laurent Pinchart
  0 siblings, 2 replies; 13+ messages in thread
From: Gregor Hlawacek @ 2020-11-07 16:23 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Mauro Carvalho Chehab, linux-media


[-- Attachment #1.1: Type: text/plain, Size: 1484 bytes --]

On Thu, 2020-11-05 at 11:19 +0200, Laurent Pinchart wrote:
> Hi Gregor,
> 
> On Thu, Nov 05, 2020 at 08:41:27AM +0100, Gregor Hlawacek wrote:
> 
> [snip]
> 
> > Hi Mauro and Laurent
> > 
> > @Mauro:
> > 
> > I think there is a confusion, which might be my fault as I talked
> > about
> > a chicony cam in the external monitor. The chicony cam that shows
> > up as
> > video0/1 is my internal laptop camera which is working fine. The
> > problematic one is the sunplusIT camera which has a chicony usb
> > identifier (0412). This is connected to video2-5 and also the one
> > for
> > which I reported the above information.
> > 
> > @Laurent:
> > 
> > lsusb -v -d 0412:612b:
> 
> [snip]
> 
> Thank for the information. Nothing strikes me as weird. Could you
> 
> - Set the uvcvideo trace parameter to 0xffff:
> 
>   sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace
> 
> - Unplug and replug the monitor
> - Open the video devices in turn with v4l2-ctl (use the video device
>   nodes /dev/video* directly, not the by-id links)
> - Send send the output of 'sudo dmesg'
> 
> You can clear the kernel log with 'sudo dmesg -c' before doing so to
> avoid including unrelated data (or just strip it from the dmesg
> output
> manually when copying it to an e-mail).
> 

Hi Laurent

sorry for the delay but I had to many other things going on during the
end of this week. Here is the output attached.

Have a nice weekend

Gregor


[-- Attachment #1.2: dmesg-uvc-log.txt --]
[-- Type: text/plain, Size: 34673 bytes --]

[33660.481848] usb 3-1: USB disconnect, device number 2
[33660.481849] usb 3-1.1: USB disconnect, device number 3
[33660.481851] usb 3-1.1.1: USB disconnect, device number 4
[33660.481851] usb 3-1.1.1.1: USB disconnect, device number 6
[33660.484576] usb 3-1.1.1.2: USB disconnect, device number 7
[33660.549398] xhci_hcd 0000:3c:00.0: xHCI host controller not responding, assume dead
[33660.549413] xhci_hcd 0000:3c:00.0: HC died; cleaning up
[33660.549431] r8152 4-1.1.2:1.0 enp60s0u1u1u2: Stop submitting intr, status -108
[33660.549508] usb 4-1: USB disconnect, device number 2
[33660.549510] usb 4-1.1: USB disconnect, device number 3
[33660.549512] usb 4-1.1.1: USB disconnect, device number 4
[33660.550559] usb 4-1.1.2: USB disconnect, device number 5
[33660.572578] xhci_hcd 0000:3c:00.0: remove, state 1
[33660.572582] usb usb4: USB disconnect, device number 1
[33660.597015] xhci_hcd 0000:3c:00.0: USB bus 4 deregistered
[33660.597022] xhci_hcd 0000:3c:00.0: remove, state 1
[33660.597027] usb usb3: USB disconnect, device number 1
[33660.598130] uvcvideo: uvc_v4l2_open
[33660.603339] usb 3-1.1.3: USB disconnect, device number 5
[33660.709741] uvcvideo: Resuming interface 0
[33660.709743] uvcvideo: Resuming interface 1
[33660.709837] uvcvideo: uvc_v4l2_release
[33660.710050] uvcvideo: uvc_v4l2_open
[33660.710104] uvcvideo: uvc_v4l2_release
[33660.711395] uvcvideo: uvc_v4l2_open
[33660.711449] uvcvideo: uvc_v4l2_release
[33660.746041] xhci_hcd 0000:3c:00.0: Host halt failed, -19
[33660.746047] xhci_hcd 0000:3c:00.0: Host not accessible, reset failed.
[33660.746484] xhci_hcd 0000:3c:00.0: USB bus 3 deregistered
[33660.765730] uvcvideo: uvc_v4l2_open
[33660.765969] uvcvideo: uvc_v4l2_release
[33660.785299] uvcvideo: uvc_v4l2_open
[33660.787265] uvcvideo: uvc_v4l2_release
[33660.976605] pci_bus 0000:05: Allocating resources
[33660.976635] pcieport 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3b] add_size 1000
[33660.976642] pcieport 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 3c] add_size 1000
[33660.976649] pcieport 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3c] add_size 200000 add_align 100000
[33660.976656] pcieport 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 3000
[33660.976666] pcieport 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
[33660.976671] pcieport 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
[33660.976677] pcieport 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
[33660.976682] pcieport 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
[33660.976696] pcieport 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[33660.976700] pcieport 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[33660.976705] pcieport 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[33660.976711] pcieport 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[33660.976716] pcieport 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[33660.976720] pcieport 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[33660.976730] pcieport 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[33660.976734] pcieport 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[33660.976739] pcieport 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[33660.976744] pcieport 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[33660.976748] pcieport 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[33660.976753] pcieport 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[33663.292784] uvcvideo: Suspending interface 1
[33663.292787] uvcvideo: Suspending interface 0
[33665.695288] pcieport 0000:05:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[33665.695971] pci_bus 0000:06: busn_res: [bus 06] is released
[33665.696182] pci_bus 0000:07: busn_res: [bus 07-3b] is released
[33665.696329] pci_bus 0000:3c: busn_res: [bus 3c] is released
[33665.701153] pci_bus 0000:05: busn_res: [bus 05-3c] is released
[33667.950096] wlp61s0: authenticate with f0:b0:14:99:cd:fc
[33667.960464] wlp61s0: send auth to f0:b0:14:99:cd:fc (try 1/3)
[33667.971065] wlp61s0: authenticated
[33667.972706] wlp61s0: associate with f0:b0:14:99:cd:fc (try 1/3)
[33667.975090] wlp61s0: RX AssocResp from f0:b0:14:99:cd:fc (capab=0x1511 status=0 aid=3)
[33667.977717] wlp61s0: associated
[33668.004909] wlp61s0: Limiting TX power to 27 (30 - 3) dBm as advertised by f0:b0:14:99:cd:fc
[33668.004996] IPv6: ADDRCONF(NETDEV_CHANGE): wlp61s0: link becomes ready
[33675.939837] pci 0000:04:00.0: [8086:15c0] type 01 class 0x060400
[33675.939900] pci 0000:04:00.0: enabling Extended Tags
[33675.940013] pci 0000:04:00.0: supports D1 D2
[33675.940015] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[33675.940292] pci 0000:05:00.0: [8086:15c0] type 01 class 0x060400
[33675.940343] pci 0000:05:00.0: enabling Extended Tags
[33675.940426] pci 0000:05:00.0: supports D1 D2
[33675.940426] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[33675.940546] pci 0000:05:01.0: [8086:15c0] type 01 class 0x060400
[33675.940597] pci 0000:05:01.0: enabling Extended Tags
[33675.940678] pci 0000:05:01.0: supports D1 D2
[33675.940679] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[33675.940802] pci 0000:05:02.0: [8086:15c0] type 01 class 0x060400
[33675.940854] pci 0000:05:02.0: enabling Extended Tags
[33675.940938] pci 0000:05:02.0: supports D1 D2
[33675.940939] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[33675.941100] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[33675.941108] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[33675.941114] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[33675.941161] pci 0000:05:00.0: PCI bridge to [bus 06]
[33675.941168] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[33675.941212] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[33675.941220] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[33675.941225] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[33675.941307] pci 0000:3c:00.0: [8086:15c1] type 00 class 0x0c0330
[33675.941329] pci 0000:3c:00.0: reg 0x10: [mem 0xd9f00000-0xd9f0ffff]
[33675.941404] pci 0000:3c:00.0: enabling Extended Tags
[33675.941517] pci 0000:3c:00.0: supports D1 D2
[33675.941518] pci 0000:3c:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[33675.941607] pci 0000:3c:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:02.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[33675.941745] pci 0000:05:02.0: PCI bridge to [bus 3c]
[33675.941754] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[33675.941782] pci_bus 0000:05: Allocating resources
[33675.941797] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3b] add_size 1000
[33675.941799] pci 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 3c] add_size 1000
[33675.941800] pci 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3c] add_size 200000 add_align 100000
[33675.941802] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 3000
[33675.941805] pci 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
[33675.941806] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
[33675.941808] pci 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
[33675.941809] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
[33675.941812] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[33675.941813] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[33675.941814] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[33675.941815] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[33675.941815] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[33675.941816] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[33675.941819] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[33675.941819] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[33675.941820] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[33675.941821] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[33675.941822] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[33675.941822] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[33675.941825] pci 0000:05:00.0: PCI bridge to [bus 06]
[33675.941832] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[33675.941840] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[33675.941844] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[33675.941847] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[33675.941852] pci 0000:05:02.0: PCI bridge to [bus 3c]
[33675.941856] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[33675.941864] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[33675.941868] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[33675.941871] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[33675.943143] xhci_hcd 0000:3c:00.0: xHCI Host Controller
[33675.943149] xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 3
[33675.944287] xhci_hcd 0000:3c:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000000009810
[33675.944513] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[33675.944514] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[33675.944516] usb usb3: Product: xHCI Host Controller
[33675.944517] usb usb3: Manufacturer: Linux 5.9.4-arch1-1 xhci-hcd
[33675.944518] usb usb3: SerialNumber: 0000:3c:00.0
[33675.944681] hub 3-0:1.0: USB hub found
[33675.944691] hub 3-0:1.0: 2 ports detected
[33675.945358] xhci_hcd 0000:3c:00.0: xHCI Host Controller
[33675.945362] xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 4
[33675.945366] xhci_hcd 0000:3c:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[33675.945405] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[33675.945407] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[33675.945408] usb usb4: Product: xHCI Host Controller
[33675.945410] usb usb4: Manufacturer: Linux 5.9.4-arch1-1 xhci-hcd
[33675.945411] usb usb4: SerialNumber: 0000:3c:00.0
[33675.945533] hub 4-0:1.0: USB hub found
[33675.945541] hub 4-0:1.0: 2 ports detected
[33676.272630] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[33676.415928] usb 3-1: New USB device found, idVendor=0bda, idProduct=5420, bcdDevice= 1.30
[33676.415929] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33676.415930] usb 3-1: Product: 4-Port USB 2.0 Hub
[33676.415931] usb 3-1: Manufacturer: Generic
[33676.416882] hub 3-1:1.0: USB hub found
[33676.417126] hub 3-1:1.0: 5 ports detected
[33676.539368] usb 4-1: new SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd
[33676.562679] usb 4-1: New USB device found, idVendor=0bda, idProduct=0420, bcdDevice= 1.30
[33676.562681] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33676.562682] usb 4-1: Product: 4-Port USB 3.0 Hub
[33676.562683] usb 4-1: Manufacturer: Generic
[33676.565072] hub 4-1:1.0: USB hub found
[33676.565367] hub 4-1:1.0: 4 ports detected
[33676.699303] usb 3-1.1: new high-speed USB device number 3 using xhci_hcd
[33676.824290] usb 3-1.1: New USB device found, idVendor=0bda, idProduct=5420, bcdDevice= 1.29
[33676.824292] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33676.824294] usb 3-1.1: Product: 4-Port USB 2.0 Hub
[33676.824294] usb 3-1.1: Manufacturer: Generic
[33676.826109] hub 3-1.1:1.0: USB hub found
[33676.827260] hub 3-1.1:1.0: 4 ports detected
[33676.889920] usb 4-1.1: new SuperSpeedPlus Gen 2 USB device number 3 using xhci_hcd
[33676.921137] usb 4-1.1: New USB device found, idVendor=0bda, idProduct=0420, bcdDevice= 1.29
[33676.921139] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33676.921140] usb 4-1.1: Product: 4-Port USB 3.0 Hub
[33676.921141] usb 4-1.1: Manufacturer: Generic
[33676.929999] hub 4-1.1:1.0: USB hub found
[33676.931410] hub 4-1.1:1.0: 4 ports detected
[33677.109278] usb 3-1.1.1: new high-speed USB device number 4 using xhci_hcd
[33677.234131] usb 3-1.1.1: New USB device found, idVendor=0bda, idProduct=5412, bcdDevice= 1.20
[33677.234133] usb 3-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33677.234134] usb 3-1.1.1: Product: 2-Port USB 2.1 Hub
[33677.234135] usb 3-1.1.1: Manufacturer: Generic
[33677.235575] hub 3-1.1.1:1.0: USB hub found
[33677.237584] hub 3-1.1.1:1.0: 2 ports detected
[33677.299864] usb 4-1.1.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[33677.330281] usb 4-1.1.1: New USB device found, idVendor=0bda, idProduct=0412, bcdDevice= 1.20
[33677.330283] usb 4-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33677.330284] usb 4-1.1.1: Product: 4-Port USB 3.1 Hub
[33677.330286] usb 4-1.1.1: Manufacturer: Generic
[33677.339379] hub 4-1.1.1:1.0: USB hub found
[33677.341114] hub 4-1.1.1:1.0: 2 ports detected
[33677.395926] usb 3-1.1.3: new full-speed USB device number 5 using xhci_hcd
[33677.487520] usb 3-1.1.3: New USB device found, idVendor=046a, idProduct=00b0, bcdDevice= 1.01
[33677.487522] usb 3-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33677.487523] usb 3-1.1.3: Product: Mechanical Keyboard
[33677.487524] usb 3-1.1.3: Manufacturer: CHERRY
[33677.494244] input: CHERRY Mechanical Keyboard as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.3/3-1.1.3:1.0/0003:046A:00B0.000A/input/input43
[33677.549426] hid-generic 0003:046A:00B0.000A: input,hidraw1: USB HID v1.11 Keyboard [CHERRY Mechanical Keyboard] on usb-0000:3c:00.0-1.1.3/input0
[33677.550173] input: CHERRY Mechanical Keyboard as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.3/3-1.1.3:1.1/0003:046A:00B0.000B/input/input44
[33677.559243] usb 3-1.1.1.1: new high-speed USB device number 6 using xhci_hcd
[33677.606030] hid-generic 0003:046A:00B0.000B: input,hidraw2: USB HID v1.11 Device [CHERRY Mechanical Keyboard] on usb-0000:3c:00.0-1.1.3/input1
[33677.848662] usb 3-1.1.1.1: New USB device found, idVendor=0bda, idProduct=48a5, bcdDevice= 0.01
[33677.848663] usb 3-1.1.1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[33677.848664] usb 3-1.1.1.1: Product: USB Audio
[33677.848665] usb 3-1.1.1.1: Manufacturer: Generic
[33677.848666] usb 3-1.1.1.1: SerialNumber: 201405280001
[33677.969289] usb 3-1.1.1.2: new high-speed USB device number 7 using xhci_hcd
[33678.134841] usb 3-1.1.1.2: New USB device found, idVendor=04f2, idProduct=b612, bcdDevice= 2.10
[33678.134843] usb 3-1.1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[33678.134844] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
[33678.134844] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
[33678.134845] usb 3-1.1.1.2: SerialNumber: 01.00.00
[33678.145922] uvcvideo: Probing generic UVC device 1.1.1.2
[33678.149746] uvcvideo: Found format MJPEG.
[33678.149748] uvcvideo: - 640x480 (30.0 fps)
[33678.149749] uvcvideo: - 1920x1080 (30.0 fps)
[33678.149750] uvcvideo: - 1280x720 (30.0 fps)
[33678.149750] uvcvideo: - 640x360 (30.0 fps)
[33678.149751] uvcvideo: - 352x288 (30.0 fps)
[33678.149752] uvcvideo: - 320x240 (30.0 fps)
[33678.149753] uvcvideo: - 176x144 (30.0 fps)
[33678.149754] uvcvideo: Found format YUV 4:2:2 (YUYV).
[33678.149754] uvcvideo: - 640x480 (30.0 fps)
[33678.149755] uvcvideo: - 640x360 (30.0 fps)
[33678.149755] uvcvideo: - 352x288 (30.0 fps)
[33678.149756] uvcvideo: - 320x240 (30.0 fps)
[33678.149756] uvcvideo: - 176x144 (30.0 fps)
[33678.149759] uvcvideo: Found a Status endpoint (addr 87).
[33678.149760] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
[33678.153431] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/2 to device 1.1.1.2 entity 1
[33678.153434] uvcvideo: Adding mapping 'Exposure, Auto' to control 00000000-0000-0000-0000-000000000001/2.
[33678.157171] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/4 to device 1.1.1.2 entity 1
[33678.157175] uvcvideo: Adding mapping 'Exposure (Absolute)' to control 00000000-0000-0000-0000-000000000001/4.
[33678.160954] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 1.1.1.2 entity 2
[33678.160956] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2.
[33678.164794] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 1.1.1.2 entity 2
[33678.164797] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3.
[33678.168589] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 1.1.1.2 entity 2
[33678.168590] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6.
[33678.172374] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 1.1.1.2 entity 2
[33678.172376] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7.
[33678.176233] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 1.1.1.2 entity 2
[33678.176236] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8.
[33678.179988] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 1.1.1.2 entity 2
[33678.179990] uvcvideo: Adding mapping 'Gamma' to control 00000000-0000-0000-0000-000000000101/9.
[33678.183820] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 1.1.1.2 entity 2
[33678.183822] uvcvideo: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10.
[33678.187612] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 1.1.1.2 entity 2
[33678.187614] uvcvideo: Adding mapping 'Backlight Compensation' to control 00000000-0000-0000-0000-000000000101/1.
[33678.191115] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 1.1.1.2 entity 2
[33678.191118] uvcvideo: Adding mapping 'Power Line Frequency' to control 00000000-0000-0000-0000-000000000101/5.
[33678.194955] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 1.1.1.2 entity 2
[33678.194959] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to control 00000000-0000-0000-0000-000000000101/11.
[33678.194963] uvcvideo: Scanning UVC chain: OT 5 <- XU 4 <- XU 3 <- PU 2 <- IT 1
[33678.194966] uvcvideo: Found a valid video chain (1 -> 5).
[33678.212183] input: USB2.0 FHD UVC WebCam: USB2.0 F as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input45
[33678.212283] uvcvideo: UVC device initialized.
[33678.216492] uvcvideo: Probing generic UVC device 1.1.1.2
[33678.220254] uvcvideo: Found format IR 8-bit (L8_IR).
[33678.220256] uvcvideo: - 352x352 (30.0 fps)
[33678.220260] uvcvideo: Found a Status endpoint (addr 84).
[33678.220261] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
[33678.220264] uvcvideo: Scanning UVC chain: OT 5 <- XU 4 <- XU 7 <- PU 2 <- IT 1
[33678.220267] uvcvideo: Found a valid video chain (1 -> 5).
[33678.237583] input: USB2.0 FHD UVC WebCam: IR Camer as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input46
[33678.237667] uvcvideo: UVC device initialized.
[33678.329348] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[33678.346494] usb 4-1.1.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[33678.346497] usb 4-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[33678.346498] usb 4-1.1.2: Product: USB 10/100/1000 LAN
[33678.346500] usb 4-1.1.2: Manufacturer: Realtek
[33678.346501] usb 4-1.1.2: SerialNumber: 000000000000
[33678.426195] usb 4-1.1.2: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[33678.489706] r8152 4-1.1.2:1.0 eth0: v2.14.0 (2020/09/24)
[33678.489708] r8152 4-1.1.2:1.0 eth0: This product is covered by one or more of the following patents:
               		US6,570,884, US6,115,776, and US6,327,625.

[33678.632895] usb 4-1.1.2: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[33678.698562] r8152 4-1.1.2:1.0 eth0: v2.14.0 (2020/09/24)
[33678.698565] r8152 4-1.1.2:1.0 eth0: This product is covered by one or more of the following patents:
               		US6,570,884, US6,115,776, and US6,327,625.

[33678.969798] r8152 4-1.1.2:1.0 enp60s0u1u1u2: renamed from eth0
[33679.516896] uvcvideo: uvc_v4l2_open
[33679.516929] uvcvideo: uvc_v4l2_release
[33679.534194] uvcvideo: uvc_v4l2_open
[33679.534210] uvcvideo: uvc_v4l2_release
[33679.535192] uvcvideo: uvc_v4l2_open
[33679.535293] uvcvideo: uvc_v4l2_release
[33679.535393] uvcvideo: uvc_v4l2_open
[33679.535407] uvcvideo: Control 0x00980900 not found.
[33679.535411] uvcvideo: Control 0x00980901 not found.
[33679.535414] uvcvideo: Control 0x00980902 not found.
[33679.535416] uvcvideo: Control 0x00980903 not found.
[33679.535419] uvcvideo: Control 0x00980904 not found.
[33679.535421] uvcvideo: Control 0x00980905 not found.
[33679.535424] uvcvideo: Control 0x00980906 not found.
[33679.535427] uvcvideo: Control 0x00980907 not found.
[33679.535429] uvcvideo: Control 0x00980908 not found.
[33679.535432] uvcvideo: Control 0x00980909 not found.
[33679.535434] uvcvideo: Control 0x0098090a not found.
[33679.535437] uvcvideo: Control 0x0098090b not found.
[33679.535440] uvcvideo: Control 0x0098090c not found.
[33679.535442] uvcvideo: Control 0x0098090d not found.
[33679.535445] uvcvideo: Control 0x0098090e not found.
[33679.535448] uvcvideo: Control 0x0098090f not found.
[33679.535450] uvcvideo: Control 0x00980910 not found.
[33679.535453] uvcvideo: Control 0x00980911 not found.
[33679.535456] uvcvideo: Control 0x00980912 not found.
[33679.535458] uvcvideo: Control 0x00980913 not found.
[33679.535461] uvcvideo: Control 0x00980914 not found.
[33679.535463] uvcvideo: Control 0x00980915 not found.
[33679.535466] uvcvideo: Control 0x00980916 not found.
[33679.535469] uvcvideo: Control 0x00980917 not found.
[33679.535472] uvcvideo: Control 0x00980918 not found.
[33679.535475] uvcvideo: Control 0x00980919 not found.
[33679.535477] uvcvideo: Control 0x0098091a not found.
[33679.535480] uvcvideo: Control 0x0098091b not found.
[33679.535483] uvcvideo: Control 0x0098091c not found.
[33679.535485] uvcvideo: Control 0x0098091d not found.
[33679.535488] uvcvideo: Control 0x0098091e not found.
[33679.535491] uvcvideo: Control 0x0098091f not found.
[33679.535493] uvcvideo: Control 0x00980920 not found.
[33679.535496] uvcvideo: Control 0x00980921 not found.
[33679.535499] uvcvideo: Control 0x00980922 not found.
[33679.535501] uvcvideo: Control 0x00980923 not found.
[33679.535504] uvcvideo: Control 0x00980924 not found.
[33679.535507] uvcvideo: Control 0x00980925 not found.
[33679.535509] uvcvideo: Control 0x00980926 not found.
[33679.535511] uvcvideo: uvc_v4l2_open
[33679.535512] uvcvideo: Control 0x00980927 not found.
[33679.535515] uvcvideo: Control 0x00980928 not found.
[33679.535517] uvcvideo: Control 0x00980929 not found.
[33679.535520] uvcvideo: Control 0x0098092a not found.
[33679.535523] uvcvideo: Control 0x00980900 not found.
[33679.535524] uvcvideo: Control 0x08000000 not found.
[33679.535527] uvcvideo: Control 0x00980901 not found.
[33679.535528] uvcvideo: uvc_v4l2_release
[33679.535532] uvcvideo: Control 0x00980902 not found.
[33679.535536] uvcvideo: Control 0x00980903 not found.
[33679.535540] uvcvideo: Control 0x00980904 not found.
[33679.535540] uvcvideo: uvc_v4l2_open
[33679.535544] uvcvideo: Control 0x00980905 not found.
[33679.535548] uvcvideo: Control 0x00980906 not found.
[33679.535550] uvcvideo: uvc_v4l2_release
[33679.535552] uvcvideo: Control 0x00980907 not found.
[33679.535556] uvcvideo: Control 0x00980908 not found.
[33679.535560] uvcvideo: Control 0x00980909 not found.
[33679.535564] uvcvideo: Control 0x0098090a not found.
[33679.535568] uvcvideo: Control 0x0098090b not found.
[33679.535571] uvcvideo: Control 0x0098090c not found.
[33679.535575] uvcvideo: Control 0x0098090d not found.
[33679.535579] uvcvideo: Control 0x0098090e not found.
[33679.535583] uvcvideo: Control 0x0098090f not found.
[33679.535587] uvcvideo: Control 0x00980910 not found.
[33679.535590] uvcvideo: Control 0x00980911 not found.
[33679.535594] uvcvideo: Control 0x00980912 not found.
[33679.535598] uvcvideo: Control 0x00980913 not found.
[33679.535602] uvcvideo: Control 0x00980914 not found.
[33679.535605] uvcvideo: Control 0x00980915 not found.
[33679.535609] uvcvideo: Control 0x00980916 not found.
[33679.535613] uvcvideo: Control 0x00980917 not found.
[33679.535617] uvcvideo: Control 0x00980918 not found.
[33679.535620] uvcvideo: Control 0x00980919 not found.
[33679.535625] uvcvideo: Control 0x0098091a not found.
[33679.535628] uvcvideo: Control 0x0098091b not found.
[33679.535632] uvcvideo: Control 0x0098091c not found.
[33679.535636] uvcvideo: Control 0x0098091d not found.
[33679.535640] uvcvideo: Control 0x0098091e not found.
[33679.535644] uvcvideo: Control 0x0098091f not found.
[33679.535648] uvcvideo: Control 0x00980920 not found.
[33679.535651] uvcvideo: Control 0x00980921 not found.
[33679.535655] uvcvideo: Control 0x00980922 not found.
[33679.535659] uvcvideo: Control 0x00980923 not found.
[33679.535663] uvcvideo: Control 0x00980924 not found.
[33679.535666] uvcvideo: Control 0x00980925 not found.
[33679.535670] uvcvideo: Control 0x00980926 not found.
[33679.535674] uvcvideo: Control 0x00980927 not found.
[33679.535678] uvcvideo: Control 0x00980928 not found.
[33679.535682] uvcvideo: Control 0x00980929 not found.
[33679.535685] uvcvideo: Control 0x0098092a not found.
[33679.535689] uvcvideo: Control 0x08000000 not found.
[33679.535693] uvcvideo: uvc_v4l2_release
[33679.539084] uvcvideo: uvc_v4l2_open
[33679.539933] uvcvideo: uvc_v4l2_open
[33679.541867] uvcvideo: uvc_v4l2_release
[33679.541979] uvcvideo: uvc_v4l2_open
[33679.542010] uvcvideo: uvc_v4l2_release
[33679.542097] uvcvideo: uvc_v4l2_open
[33679.543598] uvcvideo: uvc_v4l2_open
[33679.543614] uvcvideo: uvc_v4l2_release
[33679.543875] uvcvideo: uvc_v4l2_open
[33679.543886] uvcvideo: Control 0x00980900 not found.
[33679.543889] uvcvideo: Control 0x00980901 not found.
[33679.543892] uvcvideo: Control 0x00980902 not found.
[33679.543895] uvcvideo: Control 0x00980903 not found.
[33679.543897] uvcvideo: Control 0x00980904 not found.
[33679.543900] uvcvideo: Control 0x00980905 not found.
[33679.543903] uvcvideo: Control 0x00980906 not found.
[33679.543905] uvcvideo: Control 0x00980907 not found.
[33679.543908] uvcvideo: Control 0x00980908 not found.
[33679.543911] uvcvideo: Control 0x00980909 not found.
[33679.543913] uvcvideo: Control 0x0098090a not found.
[33679.543916] uvcvideo: Control 0x0098090b not found.
[33679.543919] uvcvideo: Control 0x0098090c not found.
[33679.543921] uvcvideo: Control 0x0098090d not found.
[33679.543924] uvcvideo: Control 0x0098090e not found.
[33679.543927] uvcvideo: Control 0x0098090f not found.
[33679.543930] uvcvideo: Control 0x00980910 not found.
[33679.543933] uvcvideo: Control 0x00980911 not found.
[33679.543935] uvcvideo: Control 0x00980912 not found.
[33679.543938] uvcvideo: Control 0x00980913 not found.
[33679.543941] uvcvideo: Control 0x00980914 not found.
[33679.543943] uvcvideo: Control 0x00980915 not found.
[33679.543946] uvcvideo: Control 0x00980916 not found.
[33679.543949] uvcvideo: Control 0x00980917 not found.
[33679.543951] uvcvideo: Control 0x00980918 not found.
[33679.543954] uvcvideo: Control 0x00980919 not found.
[33679.543957] uvcvideo: Control 0x0098091a not found.
[33679.543959] uvcvideo: Control 0x0098091b not found.
[33679.543962] uvcvideo: Control 0x0098091c not found.
[33679.543964] uvcvideo: Control 0x0098091d not found.
[33679.543967] uvcvideo: Control 0x0098091e not found.
[33679.543970] uvcvideo: Control 0x0098091f not found.
[33679.543973] uvcvideo: Control 0x00980920 not found.
[33679.543975] uvcvideo: Control 0x00980921 not found.
[33679.543978] uvcvideo: Control 0x00980922 not found.
[33679.543980] uvcvideo: Control 0x00980923 not found.
[33679.543983] uvcvideo: Control 0x00980924 not found.
[33679.543986] uvcvideo: Control 0x00980925 not found.
[33679.543989] uvcvideo: Control 0x00980926 not found.
[33679.543991] uvcvideo: Control 0x00980927 not found.
[33679.543994] uvcvideo: Control 0x00980928 not found.
[33679.543996] uvcvideo: Control 0x00980929 not found.
[33679.543999] uvcvideo: Control 0x0098092a not found.
[33679.544002] uvcvideo: Control 0x08000000 not found.
[33679.544005] uvcvideo: uvc_v4l2_release
[33679.544091] uvcvideo: uvc_v4l2_open
[33679.544100] uvcvideo: uvc_v4l2_release
[33679.544214] uvcvideo: uvc_v4l2_open
[33679.557062] uvcvideo: uvc_v4l2_open
[33679.557076] uvcvideo: uvc_v4l2_release
[33679.557228] uvcvideo: uvc_v4l2_open
[33679.557239] uvcvideo: Control 0x00980900 not found.
[33679.557242] uvcvideo: Control 0x00980901 not found.
[33679.557246] uvcvideo: Control 0x00980902 not found.
[33679.557249] uvcvideo: Control 0x00980903 not found.
[33679.557252] uvcvideo: Control 0x00980904 not found.
[33679.557255] uvcvideo: Control 0x00980905 not found.
[33679.557258] uvcvideo: Control 0x00980906 not found.
[33679.557261] uvcvideo: Control 0x00980907 not found.
[33679.557263] uvcvideo: Control 0x00980908 not found.
[33679.557266] uvcvideo: Control 0x00980909 not found.
[33679.557269] uvcvideo: Control 0x0098090a not found.
[33679.557272] uvcvideo: Control 0x0098090b not found.
[33679.557275] uvcvideo: Control 0x0098090c not found.
[33679.557277] uvcvideo: Control 0x0098090d not found.
[33679.557280] uvcvideo: Control 0x0098090e not found.
[33679.557283] uvcvideo: Control 0x0098090f not found.
[33679.557285] uvcvideo: Control 0x00980910 not found.
[33679.557288] uvcvideo: Control 0x00980911 not found.
[33679.557291] uvcvideo: Control 0x00980912 not found.
[33679.557294] uvcvideo: Control 0x00980913 not found.
[33679.557297] uvcvideo: Control 0x00980914 not found.
[33679.557299] uvcvideo: Control 0x00980915 not found.
[33679.557302] uvcvideo: Control 0x00980916 not found.
[33679.557305] uvcvideo: Control 0x00980917 not found.
[33679.557308] uvcvideo: Control 0x00980918 not found.
[33679.557311] uvcvideo: Control 0x00980919 not found.
[33679.557313] uvcvideo: Control 0x0098091a not found.
[33679.557316] uvcvideo: Control 0x0098091b not found.
[33679.557318] uvcvideo: Control 0x0098091c not found.
[33679.557321] uvcvideo: Control 0x0098091d not found.
[33679.557324] uvcvideo: Control 0x0098091e not found.
[33679.557327] uvcvideo: Control 0x0098091f not found.
[33679.557331] uvcvideo: Control 0x00980920 not found.
[33679.557334] uvcvideo: Control 0x00980921 not found.
[33679.557337] uvcvideo: Control 0x00980922 not found.
[33679.557340] uvcvideo: Control 0x00980923 not found.
[33679.557343] uvcvideo: Control 0x00980924 not found.
[33679.557345] uvcvideo: Control 0x00980925 not found.
[33679.557348] uvcvideo: Control 0x00980926 not found.
[33679.557351] uvcvideo: Control 0x00980927 not found.
[33679.557353] uvcvideo: Control 0x00980928 not found.
[33679.557356] uvcvideo: Control 0x00980929 not found.
[33679.557359] uvcvideo: Control 0x0098092a not found.
[33679.557361] uvcvideo: Control 0x08000000 not found.
[33679.557364] uvcvideo: uvc_v4l2_release
[33679.557446] uvcvideo: uvc_v4l2_open
[33679.557463] uvcvideo: uvc_v4l2_release
[33679.557547] uvcvideo: uvc_v4l2_open
[33679.701284] uvcvideo: uvc_v4l2_release
[33679.701293] uvcvideo: uvc_v4l2_release
[33679.701305] uvcvideo: uvc_v4l2_open
[33679.701305] uvcvideo: uvc_v4l2_open
[33679.701310] uvcvideo: uvc_v4l2_release
[33679.701326] uvcvideo: uvc_v4l2_release
[33679.701332] uvcvideo: uvc_v4l2_open
[33679.701393] uvcvideo: uvc_v4l2_open
[33679.812706] uvcvideo: Resuming interface 0
[33679.812708] uvcvideo: Resuming interface 1
[33679.812745] uvcvideo: uvc_v4l2_release
[33679.812746] uvcvideo: uvc_v4l2_release
[33679.812746] uvcvideo: uvc_v4l2_release
[33679.812747] uvcvideo: uvc_v4l2_release
[33679.812871] uvcvideo: uvc_v4l2_open
[33679.812871] uvcvideo: uvc_v4l2_open
[33679.812872] uvcvideo: uvc_v4l2_open
[33679.812881] uvcvideo: uvc_v4l2_open
[33679.812944] uvcvideo: uvc_v4l2_release
[33679.812945] uvcvideo: uvc_v4l2_release
[33679.812945] uvcvideo: uvc_v4l2_release
[33679.812949] uvcvideo: uvc_v4l2_release
[33679.814214] uvcvideo: uvc_v4l2_open
[33679.814235] uvcvideo: uvc_v4l2_release
[33679.815265] uvcvideo: uvc_v4l2_open
[33679.815289] uvcvideo: uvc_v4l2_release
[33679.815774] uvcvideo: uvc_v4l2_open
[33679.815798] uvcvideo: uvc_v4l2_release
[33679.815888] uvcvideo: uvc_v4l2_open
[33679.815916] uvcvideo: uvc_v4l2_release
[33679.816772] uvcvideo: uvc_v4l2_open
[33679.816783] uvcvideo: uvc_v4l2_release
[33679.816994] uvcvideo: uvc_v4l2_open
[33679.817004] uvcvideo: uvc_v4l2_release
[33679.868762] uvcvideo: uvc_v4l2_open
[33679.868775] uvcvideo: uvc_v4l2_release
[33679.868875] uvcvideo: uvc_v4l2_open
[33679.868985] uvcvideo: uvc_v4l2_release
[33679.869075] uvcvideo: uvc_v4l2_open
[33679.869153] uvcvideo: uvc_v4l2_release
[33679.869244] uvcvideo: uvc_v4l2_open
[33679.869311] uvcvideo: uvc_v4l2_release
[33679.869394] uvcvideo: uvc_v4l2_open
[33679.869442] uvcvideo: uvc_v4l2_release
[33679.870128] uvcvideo: uvc_v4l2_open
[33679.870136] uvcvideo: uvc_v4l2_release
[33679.870237] uvcvideo: uvc_v4l2_open
[33679.870330] uvcvideo: uvc_v4l2_release
[33679.870431] uvcvideo: uvc_v4l2_open
[33679.870502] uvcvideo: uvc_v4l2_release
[33681.724746] IPv6: ADDRCONF(NETDEV_CHANGE): enp60s0u1u1u2: link becomes ready
[33681.725242] r8152 4-1.1.2:1.0 enp60s0u1u1u2: carrier on
[33682.312529] uvcvideo: Suspending interface 1
[33682.312532] uvcvideo: Suspending interface 0
[33682.369227] uvcvideo: Suspending interface 3
[33682.369228] uvcvideo: Suspending interface 2
[33682.369229] uvcvideo: Suspending interface 1
[33682.369229] uvcvideo: Suspending interface 0
[33684.020289] wlp61s0: deauthenticating from f0:b0:14:99:cd:fc by local choice (Reason: 3=DEAUTH_LEAVING)
[33688.189318] usb 3-1.1.1: Failed to suspend device, error -110
[33733.405785] uvcvideo: uvc_v4l2_open
[33733.405906] hub 3-1.1.1:1.0: hub_ext_port_status failed (err = -71)
[33733.406202] usb 3-1.1.1-port2: cannot disable (err = -71)
[33733.406391] usb 3-1.1.1-port2: device 3-1.1.1.2 not suspended yet
[33739.747081] uvcvideo: uvc_v4l2_open

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6775 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-07 16:23                     ` Gregor Hlawacek
@ 2020-11-16  6:43                       ` Gregor Hlawacek
  2020-11-16  8:45                       ` Laurent Pinchart
  1 sibling, 0 replies; 13+ messages in thread
From: Gregor Hlawacek @ 2020-11-16  6:43 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Mauro Carvalho Chehab, linux-media

[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]

On Sat, 2020-11-07 at 17:23 +0100, Gregor Hlawacek wrote:
> On Thu, 2020-11-05 at 11:19 +0200, Laurent Pinchart wrote:
> > Hi Gregor,
> > 
> > On Thu, Nov 05, 2020 at 08:41:27AM +0100, Gregor Hlawacek wrote:
> > 
> > [snip]
> > 
> > > Hi Mauro and Laurent
> > > 
> > > @Mauro:
> > > 
> > > I think there is a confusion, which might be my fault as I talked
> > > about
> > > a chicony cam in the external monitor. The chicony cam that shows
> > > up as
> > > video0/1 is my internal laptop camera which is working fine. The
> > > problematic one is the sunplusIT camera which has a chicony usb
> > > identifier (0412). This is connected to video2-5 and also the one
> > > for
> > > which I reported the above information.
> > > 
> > > @Laurent:
> > > 
> > > lsusb -v -d 0412:612b:
> > 
> > [snip]
> > 
> > Thank for the information. Nothing strikes me as weird. Could you
> > 
> > - Set the uvcvideo trace parameter to 0xffff:
> > 
> >   sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace
> > 
> > - Unplug and replug the monitor
> > - Open the video devices in turn with v4l2-ctl (use the video
> > device
> >   nodes /dev/video* directly, not the by-id links)
> > - Send send the output of 'sudo dmesg'
> > 
> > You can clear the kernel log with 'sudo dmesg -c' before doing so
> > to
> > avoid including unrelated data (or just strip it from the dmesg
> > output
> > manually when copying it to an e-mail).
> > 
> 
> Hi Laurent
> 
> sorry for the delay but I had to many other things going on during
> the
> end of this week. Here is the output attached.
> 
> Have a nice weekend
> 
> Gregor
> 
Hi Laurent and Mauro

could you make any sense out of the dmesg log and the other input I've
provided?

Gregor

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6775 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-07 16:23                     ` Gregor Hlawacek
  2020-11-16  6:43                       ` Gregor Hlawacek
@ 2020-11-16  8:45                       ` Laurent Pinchart
  2021-01-20 11:53                         ` Gregor Hlawacek
  1 sibling, 1 reply; 13+ messages in thread
From: Laurent Pinchart @ 2020-11-16  8:45 UTC (permalink / raw)
  To: Gregor Hlawacek; +Cc: Mauro Carvalho Chehab, linux-media

Hi Gregor,

On Sat, Nov 07, 2020 at 05:23:39PM +0100, Gregor Hlawacek wrote:
> On Thu, 2020-11-05 at 11:19 +0200, Laurent Pinchart wrote:
> > Hi Gregor,
> > 
> > On Thu, Nov 05, 2020 at 08:41:27AM +0100, Gregor Hlawacek wrote:
> > 
> > [snip]
> > 
> > > Hi Mauro and Laurent
> > > 
> > > @Mauro:
> > > 
> > > I think there is a confusion, which might be my fault as I talked about
> > > a chicony cam in the external monitor. The chicony cam that shows up as
> > > video0/1 is my internal laptop camera which is working fine. The
> > > problematic one is the sunplusIT camera which has a chicony usb
> > > identifier (0412). This is connected to video2-5 and also the one
> > > for
> > > which I reported the above information.
> > > 
> > > @Laurent:
> > > 
> > > lsusb -v -d 0412:612b:
> > 
> > [snip]
> > 
> > Thank for the information. Nothing strikes me as weird. Could you
> > 
> > - Set the uvcvideo trace parameter to 0xffff:
> > 
> >   sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace
> > 
> > - Unplug and replug the monitor
> > - Open the video devices in turn with v4l2-ctl (use the video device
> >   nodes /dev/video* directly, not the by-id links)
> > - Send send the output of 'sudo dmesg'
> > 
> > You can clear the kernel log with 'sudo dmesg -c' before doing so to
> > avoid including unrelated data (or just strip it from the dmesg
> > output manually when copying it to an e-mail).
> 
> Hi Laurent
> 
> sorry for the delay but I had to many other things going on during the
> end of this week. Here is the output attached.
> 
> Have a nice weekend
> 
> [33660.481848] usb 3-1: USB disconnect, device number 2
> [33660.481849] usb 3-1.1: USB disconnect, device number 3
> [33660.481851] usb 3-1.1.1: USB disconnect, device number 4
> [33660.481851] usb 3-1.1.1.1: USB disconnect, device number 6
> [33660.484576] usb 3-1.1.1.2: USB disconnect, device number 7
> [33660.549398] xhci_hcd 0000:3c:00.0: xHCI host controller not responding, assume dead
> [33660.549413] xhci_hcd 0000:3c:00.0: HC died; cleaning up
> [33660.549431] r8152 4-1.1.2:1.0 enp60s0u1u1u2: Stop submitting intr, status -108
> [33660.549508] usb 4-1: USB disconnect, device number 2
> [33660.549510] usb 4-1.1: USB disconnect, device number 3
> [33660.549512] usb 4-1.1.1: USB disconnect, device number 4
> [33660.550559] usb 4-1.1.2: USB disconnect, device number 5
> [33660.572578] xhci_hcd 0000:3c:00.0: remove, state 1
> [33660.572582] usb usb4: USB disconnect, device number 1
> [33660.597015] xhci_hcd 0000:3c:00.0: USB bus 4 deregistered
> [33660.597022] xhci_hcd 0000:3c:00.0: remove, state 1
> [33660.597027] usb usb3: USB disconnect, device number 1
> [33660.598130] uvcvideo: uvc_v4l2_open
> [33660.603339] usb 3-1.1.3: USB disconnect, device number 5
> [33660.709741] uvcvideo: Resuming interface 0
> [33660.709743] uvcvideo: Resuming interface 1
> [33660.709837] uvcvideo: uvc_v4l2_release
> [33660.710050] uvcvideo: uvc_v4l2_open
> [33660.710104] uvcvideo: uvc_v4l2_release
> [33660.711395] uvcvideo: uvc_v4l2_open
> [33660.711449] uvcvideo: uvc_v4l2_release
> [33660.746041] xhci_hcd 0000:3c:00.0: Host halt failed, -19
> [33660.746047] xhci_hcd 0000:3c:00.0: Host not accessible, reset failed.
> [33660.746484] xhci_hcd 0000:3c:00.0: USB bus 3 deregistered
> [33660.765730] uvcvideo: uvc_v4l2_open
> [33660.765969] uvcvideo: uvc_v4l2_release
> [33660.785299] uvcvideo: uvc_v4l2_open
> [33660.787265] uvcvideo: uvc_v4l2_release
> [33660.976605] pci_bus 0000:05: Allocating resources
> [33660.976635] pcieport 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3b] add_size 1000
> [33660.976642] pcieport 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 3c] add_size 1000
> [33660.976649] pcieport 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3c] add_size 200000 add_align 100000
> [33660.976656] pcieport 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 3000
> [33660.976666] pcieport 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
> [33660.976671] pcieport 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
> [33660.976677] pcieport 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
> [33660.976682] pcieport 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
> [33660.976696] pcieport 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
> [33660.976700] pcieport 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
> [33660.976705] pcieport 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
> [33660.976711] pcieport 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
> [33660.976716] pcieport 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
> [33660.976720] pcieport 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
> [33660.976730] pcieport 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
> [33660.976734] pcieport 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
> [33660.976739] pcieport 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
> [33660.976744] pcieport 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
> [33660.976748] pcieport 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
> [33660.976753] pcieport 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
> [33663.292784] uvcvideo: Suspending interface 1
> [33663.292787] uvcvideo: Suspending interface 0
> [33665.695288] pcieport 0000:05:00.0: can't change power state from D3cold to D0 (config space inaccessible)
> [33665.695971] pci_bus 0000:06: busn_res: [bus 06] is released
> [33665.696182] pci_bus 0000:07: busn_res: [bus 07-3b] is released
> [33665.696329] pci_bus 0000:3c: busn_res: [bus 3c] is released
> [33665.701153] pci_bus 0000:05: busn_res: [bus 05-3c] is released

I assume all this corresponds to unplugging the monitor. Is it connected
over a thunderbolt 3 (PCIe and DP over a USB type C donnector) ?

> [33667.950096] wlp61s0: authenticate with f0:b0:14:99:cd:fc
> [33667.960464] wlp61s0: send auth to f0:b0:14:99:cd:fc (try 1/3)
> [33667.971065] wlp61s0: authenticated
> [33667.972706] wlp61s0: associate with f0:b0:14:99:cd:fc (try 1/3)
> [33667.975090] wlp61s0: RX AssocResp from f0:b0:14:99:cd:fc (capab=0x1511 status=0 aid=3)
> [33667.977717] wlp61s0: associated
> [33668.004909] wlp61s0: Limiting TX power to 27 (30 - 3) dBm as advertised by f0:b0:14:99:cd:fc
> [33668.004996] IPv6: ADDRCONF(NETDEV_CHANGE): wlp61s0: link becomes ready

This is unrelated.

I assume that you've replugged the monitor at this point.

> [33675.939837] pci 0000:04:00.0: [8086:15c0] type 01 class 0x060400
> [33675.939900] pci 0000:04:00.0: enabling Extended Tags
> [33675.940013] pci 0000:04:00.0: supports D1 D2
> [33675.940015] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> [33675.940292] pci 0000:05:00.0: [8086:15c0] type 01 class 0x060400
> [33675.940343] pci 0000:05:00.0: enabling Extended Tags
> [33675.940426] pci 0000:05:00.0: supports D1 D2
> [33675.940426] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> [33675.940546] pci 0000:05:01.0: [8086:15c0] type 01 class 0x060400
> [33675.940597] pci 0000:05:01.0: enabling Extended Tags
> [33675.940678] pci 0000:05:01.0: supports D1 D2
> [33675.940679] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
> [33675.940802] pci 0000:05:02.0: [8086:15c0] type 01 class 0x060400
> [33675.940854] pci 0000:05:02.0: enabling Extended Tags
> [33675.940938] pci 0000:05:02.0: supports D1 D2
> [33675.940939] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
> [33675.941100] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
> [33675.941108] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
> [33675.941114] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
> [33675.941161] pci 0000:05:00.0: PCI bridge to [bus 06]
> [33675.941168] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
> [33675.941212] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
> [33675.941220] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
> [33675.941225] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
> [33675.941307] pci 0000:3c:00.0: [8086:15c1] type 00 class 0x0c0330
> [33675.941329] pci 0000:3c:00.0: reg 0x10: [mem 0xd9f00000-0xd9f0ffff]
> [33675.941404] pci 0000:3c:00.0: enabling Extended Tags
> [33675.941517] pci 0000:3c:00.0: supports D1 D2
> [33675.941518] pci 0000:3c:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> [33675.941607] pci 0000:3c:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:02.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
> [33675.941745] pci 0000:05:02.0: PCI bridge to [bus 3c]
> [33675.941754] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
> [33675.941782] pci_bus 0000:05: Allocating resources
> [33675.941797] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3b] add_size 1000
> [33675.941799] pci 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 3c] add_size 1000
> [33675.941800] pci 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3c] add_size 200000 add_align 100000
> [33675.941802] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 3000
> [33675.941805] pci 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
> [33675.941806] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
> [33675.941808] pci 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
> [33675.941809] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
> [33675.941812] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
> [33675.941813] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
> [33675.941814] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
> [33675.941815] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
> [33675.941815] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
> [33675.941816] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
> [33675.941819] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
> [33675.941819] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
> [33675.941820] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
> [33675.941821] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
> [33675.941822] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
> [33675.941822] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
> [33675.941825] pci 0000:05:00.0: PCI bridge to [bus 06]
> [33675.941832] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
> [33675.941840] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
> [33675.941844] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
> [33675.941847] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
> [33675.941852] pci 0000:05:02.0: PCI bridge to [bus 3c]
> [33675.941856] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
> [33675.941864] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
> [33675.941868] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
> [33675.941871] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
> [33675.943143] xhci_hcd 0000:3c:00.0: xHCI Host Controller
> [33675.943149] xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 3
> [33675.944287] xhci_hcd 0000:3c:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000000009810
> [33675.944513] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
> [33675.944514] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [33675.944516] usb usb3: Product: xHCI Host Controller
> [33675.944517] usb usb3: Manufacturer: Linux 5.9.4-arch1-1 xhci-hcd
> [33675.944518] usb usb3: SerialNumber: 0000:3c:00.0
> [33675.944681] hub 3-0:1.0: USB hub found
> [33675.944691] hub 3-0:1.0: 2 ports detected
> [33675.945358] xhci_hcd 0000:3c:00.0: xHCI Host Controller
> [33675.945362] xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 4
> [33675.945366] xhci_hcd 0000:3c:00.0: Host supports USB 3.1 Enhanced SuperSpeed
> [33675.945405] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
> [33675.945407] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [33675.945408] usb usb4: Product: xHCI Host Controller
> [33675.945410] usb usb4: Manufacturer: Linux 5.9.4-arch1-1 xhci-hcd
> [33675.945411] usb usb4: SerialNumber: 0000:3c:00.0
> [33675.945533] hub 4-0:1.0: USB hub found
> [33675.945541] hub 4-0:1.0: 2 ports detected

Two XHCI (USB 3) controllers seem to be present in your monitor, they're
assigned buses 3 and 4.

> [33676.272630] usb 3-1: new high-speed USB device number 2 using xhci_hcd
> [33676.415928] usb 3-1: New USB device found, idVendor=0bda, idProduct=5420, bcdDevice= 1.30
> [33676.415929] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33676.415930] usb 3-1: Product: 4-Port USB 2.0 Hub
> [33676.415931] usb 3-1: Manufacturer: Generic
> [33676.416882] hub 3-1:1.0: USB hub found
> [33676.417126] hub 3-1:1.0: 5 ports detected
> [33676.539368] usb 4-1: new SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd
> [33676.562679] usb 4-1: New USB device found, idVendor=0bda, idProduct=0420, bcdDevice= 1.30
> [33676.562681] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33676.562682] usb 4-1: Product: 4-Port USB 3.0 Hub
> [33676.562683] usb 4-1: Manufacturer: Generic
> [33676.565072] hub 4-1:1.0: USB hub found
> [33676.565367] hub 4-1:1.0: 4 ports detected

Each of them has a root hub with 5 and 4 ports respectively.

> [33676.699303] usb 3-1.1: new high-speed USB device number 3 using xhci_hcd
> [33676.824290] usb 3-1.1: New USB device found, idVendor=0bda, idProduct=5420, bcdDevice= 1.29
> [33676.824292] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33676.824294] usb 3-1.1: Product: 4-Port USB 2.0 Hub
> [33676.824294] usb 3-1.1: Manufacturer: Generic
> [33676.826109] hub 3-1.1:1.0: USB hub found
> [33676.827260] hub 3-1.1:1.0: 4 ports detected
> [33676.889920] usb 4-1.1: new SuperSpeedPlus Gen 2 USB device number 3 using xhci_hcd
> [33676.921137] usb 4-1.1: New USB device found, idVendor=0bda, idProduct=0420, bcdDevice= 1.29
> [33676.921139] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33676.921140] usb 4-1.1: Product: 4-Port USB 3.0 Hub
> [33676.921141] usb 4-1.1: Manufacturer: Generic
> [33676.929999] hub 4-1.1:1.0: USB hub found
> [33676.931410] hub 4-1.1:1.0: 4 ports detected

On port 1 of each root hub there's a USB 2.0 hub with 4 ports.

> [33677.109278] usb 3-1.1.1: new high-speed USB device number 4 using xhci_hcd
> [33677.234131] usb 3-1.1.1: New USB device found, idVendor=0bda, idProduct=5412, bcdDevice= 1.20
> [33677.234133] usb 3-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33677.234134] usb 3-1.1.1: Product: 2-Port USB 2.1 Hub
> [33677.234135] usb 3-1.1.1: Manufacturer: Generic
> [33677.235575] hub 3-1.1.1:1.0: USB hub found
> [33677.237584] hub 3-1.1.1:1.0: 2 ports detected
> [33677.299864] usb 4-1.1.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
> [33677.330281] usb 4-1.1.1: New USB device found, idVendor=0bda, idProduct=0412, bcdDevice= 1.20
> [33677.330283] usb 4-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33677.330284] usb 4-1.1.1: Product: 4-Port USB 3.1 Hub
> [33677.330286] usb 4-1.1.1: Manufacturer: Generic
> [33677.339379] hub 4-1.1.1:1.0: USB hub found
> [33677.341114] hub 4-1.1.1:1.0: 2 ports detected

And on port 1 of each of the USB 2.0 hubs there's a USB 2.1 hub with two
ports. The topology is getting a bit complicated.

> [33677.395926] usb 3-1.1.3: new full-speed USB device number 5 using xhci_hcd
> [33677.487520] usb 3-1.1.3: New USB device found, idVendor=046a, idProduct=00b0, bcdDevice= 1.01
> [33677.487522] usb 3-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [33677.487523] usb 3-1.1.3: Product: Mechanical Keyboard
> [33677.487524] usb 3-1.1.3: Manufacturer: CHERRY
> [33677.494244] input: CHERRY Mechanical Keyboard as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.3/3-1.1.3:1.0/0003:046A:00B0.000A/input/input43
> [33677.549426] hid-generic 0003:046A:00B0.000A: input,hidraw1: USB HID v1.11 Keyboard [CHERRY Mechanical Keyboard] on usb-0000:3c:00.0-1.1.3/input0
> [33677.550173] input: CHERRY Mechanical Keyboard as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.3/3-1.1.3:1.1/0003:046A:00B0.000B/input/input44

On port 3 of the USB 2.0 hub for bus 3 there's a keyboard.

> [33677.559243] usb 3-1.1.1.1: new high-speed USB device number 6 using xhci_hcd
> [33677.606030] hid-generic 0003:046A:00B0.000B: input,hidraw2: USB HID v1.11 Device [CHERRY Mechanical Keyboard] on usb-0000:3c:00.0-1.1.3/input1
> [33677.848662] usb 3-1.1.1.1: New USB device found, idVendor=0bda, idProduct=48a5, bcdDevice= 0.01
> [33677.848663] usb 3-1.1.1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> [33677.848664] usb 3-1.1.1.1: Product: USB Audio
> [33677.848665] usb 3-1.1.1.1: Manufacturer: Generic
> [33677.848666] usb 3-1.1.1.1: SerialNumber: 201405280001

On port 1 of the USB 2.1 hub for bus 3 there's an audio device.

> [33677.969289] usb 3-1.1.1.2: new high-speed USB device number 7 using xhci_hcd
> [33678.134841] usb 3-1.1.1.2: New USB device found, idVendor=04f2, idProduct=b612, bcdDevice= 2.10
> [33678.134843] usb 3-1.1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [33678.134844] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> [33678.134844] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> [33678.134845] usb 3-1.1.1.2: SerialNumber: 01.00.00

And on port 2 of the same hub there's your webcam.

> [33678.145922] uvcvideo: Probing generic UVC device 1.1.1.2
> [33678.149746] uvcvideo: Found format MJPEG.
> [33678.149748] uvcvideo: - 640x480 (30.0 fps)
> [33678.149749] uvcvideo: - 1920x1080 (30.0 fps)
> [33678.149750] uvcvideo: - 1280x720 (30.0 fps)
> [33678.149750] uvcvideo: - 640x360 (30.0 fps)
> [33678.149751] uvcvideo: - 352x288 (30.0 fps)
> [33678.149752] uvcvideo: - 320x240 (30.0 fps)
> [33678.149753] uvcvideo: - 176x144 (30.0 fps)
> [33678.149754] uvcvideo: Found format YUV 4:2:2 (YUYV).
> [33678.149754] uvcvideo: - 640x480 (30.0 fps)
> [33678.149755] uvcvideo: - 640x360 (30.0 fps)
> [33678.149755] uvcvideo: - 352x288 (30.0 fps)
> [33678.149756] uvcvideo: - 320x240 (30.0 fps)
> [33678.149756] uvcvideo: - 176x144 (30.0 fps)
> [33678.149759] uvcvideo: Found a Status endpoint (addr 87).
> [33678.149760] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
> [33678.153431] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/2 to device 1.1.1.2 entity 1
> [33678.153434] uvcvideo: Adding mapping 'Exposure, Auto' to control 00000000-0000-0000-0000-000000000001/2.
> [33678.157171] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/4 to device 1.1.1.2 entity 1
> [33678.157175] uvcvideo: Adding mapping 'Exposure (Absolute)' to control 00000000-0000-0000-0000-000000000001/4.
> [33678.160954] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 1.1.1.2 entity 2
> [33678.160956] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2.
> [33678.164794] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 1.1.1.2 entity 2
> [33678.164797] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3.
> [33678.168589] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 1.1.1.2 entity 2
> [33678.168590] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6.
> [33678.172374] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 1.1.1.2 entity 2
> [33678.172376] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7.
> [33678.176233] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 1.1.1.2 entity 2
> [33678.176236] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8.
> [33678.179988] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 1.1.1.2 entity 2
> [33678.179990] uvcvideo: Adding mapping 'Gamma' to control 00000000-0000-0000-0000-000000000101/9.
> [33678.183820] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 1.1.1.2 entity 2
> [33678.183822] uvcvideo: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10.
> [33678.187612] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 1.1.1.2 entity 2
> [33678.187614] uvcvideo: Adding mapping 'Backlight Compensation' to control 00000000-0000-0000-0000-000000000101/1.
> [33678.191115] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 1.1.1.2 entity 2
> [33678.191118] uvcvideo: Adding mapping 'Power Line Frequency' to control 00000000-0000-0000-0000-000000000101/5.
> [33678.194955] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 1.1.1.2 entity 2
> [33678.194959] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to control 00000000-0000-0000-0000-000000000101/11.
> [33678.194963] uvcvideo: Scanning UVC chain: OT 5 <- XU 4 <- XU 3 <- PU 2 <- IT 1
> [33678.194966] uvcvideo: Found a valid video chain (1 -> 5).
> [33678.212183] input: USB2.0 FHD UVC WebCam: USB2.0 F as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input45
> [33678.212283] uvcvideo: UVC device initialized.
> [33678.216492] uvcvideo: Probing generic UVC device 1.1.1.2
> [33678.220254] uvcvideo: Found format IR 8-bit (L8_IR).
> [33678.220256] uvcvideo: - 352x352 (30.0 fps)
> [33678.220260] uvcvideo: Found a Status endpoint (addr 84).
> [33678.220261] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
> [33678.220264] uvcvideo: Scanning UVC chain: OT 5 <- XU 4 <- XU 7 <- PU 2 <- IT 1
> [33678.220267] uvcvideo: Found a valid video chain (1 -> 5).
> [33678.237583] input: USB2.0 FHD UVC WebCam: IR Camer as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input46
> [33678.237667] uvcvideo: UVC device initialized.
> [33678.329348] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
> [33678.346494] usb 4-1.1.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
> [33678.346497] usb 4-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
> [33678.346498] usb 4-1.1.2: Product: USB 10/100/1000 LAN
> [33678.346500] usb 4-1.1.2: Manufacturer: Realtek
> [33678.346501] usb 4-1.1.2: SerialNumber: 000000000000
> [33678.426195] usb 4-1.1.2: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
> [33678.489706] r8152 4-1.1.2:1.0 eth0: v2.14.0 (2020/09/24)
> [33678.489708] r8152 4-1.1.2:1.0 eth0: This product is covered by one or more of the following patents:
>                		US6,570,884, US6,115,776, and US6,327,625.
> 
> [33678.632895] usb 4-1.1.2: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
> [33678.698562] r8152 4-1.1.2:1.0 eth0: v2.14.0 (2020/09/24)
> [33678.698565] r8152 4-1.1.2:1.0 eth0: This product is covered by one or more of the following patents:
>                		US6,570,884, US6,115,776, and US6,327,625.
> 
> [33678.969798] r8152 4-1.1.2:1.0 enp60s0u1u1u2: renamed from eth0

Then on bus 4 there's a network controller (the patents information
really don't belong to the kernel... I wonder where those messages come
from though, I can't find them in the kernel sources).

> [33679.516896] uvcvideo: uvc_v4l2_open
> [33679.516929] uvcvideo: uvc_v4l2_release
> [33679.534194] uvcvideo: uvc_v4l2_open
> [33679.534210] uvcvideo: uvc_v4l2_release
> [33679.535192] uvcvideo: uvc_v4l2_open
> [33679.535293] uvcvideo: uvc_v4l2_release
> [33679.535393] uvcvideo: uvc_v4l2_open
> [33679.535407] uvcvideo: Control 0x00980900 not found.
> [33679.535411] uvcvideo: Control 0x00980901 not found.
> [33679.535414] uvcvideo: Control 0x00980902 not found.
> [33679.535416] uvcvideo: Control 0x00980903 not found.
> [33679.535419] uvcvideo: Control 0x00980904 not found.
> [33679.535421] uvcvideo: Control 0x00980905 not found.
> [33679.535424] uvcvideo: Control 0x00980906 not found.
> [33679.535427] uvcvideo: Control 0x00980907 not found.
> [33679.535429] uvcvideo: Control 0x00980908 not found.
> [33679.535432] uvcvideo: Control 0x00980909 not found.
> [33679.535434] uvcvideo: Control 0x0098090a not found.
> [33679.535437] uvcvideo: Control 0x0098090b not found.
> [33679.535440] uvcvideo: Control 0x0098090c not found.
> [33679.535442] uvcvideo: Control 0x0098090d not found.
> [33679.535445] uvcvideo: Control 0x0098090e not found.
> [33679.535448] uvcvideo: Control 0x0098090f not found.
> [33679.535450] uvcvideo: Control 0x00980910 not found.
> [33679.535453] uvcvideo: Control 0x00980911 not found.
> [33679.535456] uvcvideo: Control 0x00980912 not found.
> [33679.535458] uvcvideo: Control 0x00980913 not found.
> [33679.535461] uvcvideo: Control 0x00980914 not found.
> [33679.535463] uvcvideo: Control 0x00980915 not found.
> [33679.535466] uvcvideo: Control 0x00980916 not found.
> [33679.535469] uvcvideo: Control 0x00980917 not found.
> [33679.535472] uvcvideo: Control 0x00980918 not found.
> [33679.535475] uvcvideo: Control 0x00980919 not found.
> [33679.535477] uvcvideo: Control 0x0098091a not found.
> [33679.535480] uvcvideo: Control 0x0098091b not found.
> [33679.535483] uvcvideo: Control 0x0098091c not found.
> [33679.535485] uvcvideo: Control 0x0098091d not found.
> [33679.535488] uvcvideo: Control 0x0098091e not found.
> [33679.535491] uvcvideo: Control 0x0098091f not found.
> [33679.535493] uvcvideo: Control 0x00980920 not found.
> [33679.535496] uvcvideo: Control 0x00980921 not found.
> [33679.535499] uvcvideo: Control 0x00980922 not found.
> [33679.535501] uvcvideo: Control 0x00980923 not found.
> [33679.535504] uvcvideo: Control 0x00980924 not found.
> [33679.535507] uvcvideo: Control 0x00980925 not found.
> [33679.535509] uvcvideo: Control 0x00980926 not found.
> [33679.535511] uvcvideo: uvc_v4l2_open
> [33679.535512] uvcvideo: Control 0x00980927 not found.
> [33679.535515] uvcvideo: Control 0x00980928 not found.
> [33679.535517] uvcvideo: Control 0x00980929 not found.
> [33679.535520] uvcvideo: Control 0x0098092a not found.
> [33679.535523] uvcvideo: Control 0x00980900 not found.
> [33679.535524] uvcvideo: Control 0x08000000 not found.
> [33679.535527] uvcvideo: Control 0x00980901 not found.
> [33679.535528] uvcvideo: uvc_v4l2_release
> [33679.535532] uvcvideo: Control 0x00980902 not found.
> [33679.535536] uvcvideo: Control 0x00980903 not found.
> [33679.535540] uvcvideo: Control 0x00980904 not found.
> [33679.535540] uvcvideo: uvc_v4l2_open
> [33679.535544] uvcvideo: Control 0x00980905 not found.
> [33679.535548] uvcvideo: Control 0x00980906 not found.
> [33679.535550] uvcvideo: uvc_v4l2_release
> [33679.535552] uvcvideo: Control 0x00980907 not found.
> [33679.535556] uvcvideo: Control 0x00980908 not found.
> [33679.535560] uvcvideo: Control 0x00980909 not found.
> [33679.535564] uvcvideo: Control 0x0098090a not found.
> [33679.535568] uvcvideo: Control 0x0098090b not found.
> [33679.535571] uvcvideo: Control 0x0098090c not found.
> [33679.535575] uvcvideo: Control 0x0098090d not found.
> [33679.535579] uvcvideo: Control 0x0098090e not found.
> [33679.535583] uvcvideo: Control 0x0098090f not found.
> [33679.535587] uvcvideo: Control 0x00980910 not found.
> [33679.535590] uvcvideo: Control 0x00980911 not found.
> [33679.535594] uvcvideo: Control 0x00980912 not found.
> [33679.535598] uvcvideo: Control 0x00980913 not found.
> [33679.535602] uvcvideo: Control 0x00980914 not found.
> [33679.535605] uvcvideo: Control 0x00980915 not found.
> [33679.535609] uvcvideo: Control 0x00980916 not found.
> [33679.535613] uvcvideo: Control 0x00980917 not found.
> [33679.535617] uvcvideo: Control 0x00980918 not found.
> [33679.535620] uvcvideo: Control 0x00980919 not found.
> [33679.535625] uvcvideo: Control 0x0098091a not found.
> [33679.535628] uvcvideo: Control 0x0098091b not found.
> [33679.535632] uvcvideo: Control 0x0098091c not found.
> [33679.535636] uvcvideo: Control 0x0098091d not found.
> [33679.535640] uvcvideo: Control 0x0098091e not found.
> [33679.535644] uvcvideo: Control 0x0098091f not found.
> [33679.535648] uvcvideo: Control 0x00980920 not found.
> [33679.535651] uvcvideo: Control 0x00980921 not found.
> [33679.535655] uvcvideo: Control 0x00980922 not found.
> [33679.535659] uvcvideo: Control 0x00980923 not found.
> [33679.535663] uvcvideo: Control 0x00980924 not found.
> [33679.535666] uvcvideo: Control 0x00980925 not found.
> [33679.535670] uvcvideo: Control 0x00980926 not found.
> [33679.535674] uvcvideo: Control 0x00980927 not found.
> [33679.535678] uvcvideo: Control 0x00980928 not found.
> [33679.535682] uvcvideo: Control 0x00980929 not found.
> [33679.535685] uvcvideo: Control 0x0098092a not found.
> [33679.535689] uvcvideo: Control 0x08000000 not found.
> [33679.535693] uvcvideo: uvc_v4l2_release
> [33679.539084] uvcvideo: uvc_v4l2_open
> [33679.539933] uvcvideo: uvc_v4l2_open
> [33679.541867] uvcvideo: uvc_v4l2_release
> [33679.541979] uvcvideo: uvc_v4l2_open
> [33679.542010] uvcvideo: uvc_v4l2_release
> [33679.542097] uvcvideo: uvc_v4l2_open
> [33679.543598] uvcvideo: uvc_v4l2_open
> [33679.543614] uvcvideo: uvc_v4l2_release
> [33679.543875] uvcvideo: uvc_v4l2_open
> [33679.543886] uvcvideo: Control 0x00980900 not found.
> [33679.543889] uvcvideo: Control 0x00980901 not found.
> [33679.543892] uvcvideo: Control 0x00980902 not found.
> [33679.543895] uvcvideo: Control 0x00980903 not found.
> [33679.543897] uvcvideo: Control 0x00980904 not found.
> [33679.543900] uvcvideo: Control 0x00980905 not found.
> [33679.543903] uvcvideo: Control 0x00980906 not found.
> [33679.543905] uvcvideo: Control 0x00980907 not found.
> [33679.543908] uvcvideo: Control 0x00980908 not found.
> [33679.543911] uvcvideo: Control 0x00980909 not found.
> [33679.543913] uvcvideo: Control 0x0098090a not found.
> [33679.543916] uvcvideo: Control 0x0098090b not found.
> [33679.543919] uvcvideo: Control 0x0098090c not found.
> [33679.543921] uvcvideo: Control 0x0098090d not found.
> [33679.543924] uvcvideo: Control 0x0098090e not found.
> [33679.543927] uvcvideo: Control 0x0098090f not found.
> [33679.543930] uvcvideo: Control 0x00980910 not found.
> [33679.543933] uvcvideo: Control 0x00980911 not found.
> [33679.543935] uvcvideo: Control 0x00980912 not found.
> [33679.543938] uvcvideo: Control 0x00980913 not found.
> [33679.543941] uvcvideo: Control 0x00980914 not found.
> [33679.543943] uvcvideo: Control 0x00980915 not found.
> [33679.543946] uvcvideo: Control 0x00980916 not found.
> [33679.543949] uvcvideo: Control 0x00980917 not found.
> [33679.543951] uvcvideo: Control 0x00980918 not found.
> [33679.543954] uvcvideo: Control 0x00980919 not found.
> [33679.543957] uvcvideo: Control 0x0098091a not found.
> [33679.543959] uvcvideo: Control 0x0098091b not found.
> [33679.543962] uvcvideo: Control 0x0098091c not found.
> [33679.543964] uvcvideo: Control 0x0098091d not found.
> [33679.543967] uvcvideo: Control 0x0098091e not found.
> [33679.543970] uvcvideo: Control 0x0098091f not found.
> [33679.543973] uvcvideo: Control 0x00980920 not found.
> [33679.543975] uvcvideo: Control 0x00980921 not found.
> [33679.543978] uvcvideo: Control 0x00980922 not found.
> [33679.543980] uvcvideo: Control 0x00980923 not found.
> [33679.543983] uvcvideo: Control 0x00980924 not found.
> [33679.543986] uvcvideo: Control 0x00980925 not found.
> [33679.543989] uvcvideo: Control 0x00980926 not found.
> [33679.543991] uvcvideo: Control 0x00980927 not found.
> [33679.543994] uvcvideo: Control 0x00980928 not found.
> [33679.543996] uvcvideo: Control 0x00980929 not found.
> [33679.543999] uvcvideo: Control 0x0098092a not found.
> [33679.544002] uvcvideo: Control 0x08000000 not found.
> [33679.544005] uvcvideo: uvc_v4l2_release
> [33679.544091] uvcvideo: uvc_v4l2_open
> [33679.544100] uvcvideo: uvc_v4l2_release
> [33679.544214] uvcvideo: uvc_v4l2_open
> [33679.557062] uvcvideo: uvc_v4l2_open
> [33679.557076] uvcvideo: uvc_v4l2_release
> [33679.557228] uvcvideo: uvc_v4l2_open
> [33679.557239] uvcvideo: Control 0x00980900 not found.
> [33679.557242] uvcvideo: Control 0x00980901 not found.
> [33679.557246] uvcvideo: Control 0x00980902 not found.
> [33679.557249] uvcvideo: Control 0x00980903 not found.
> [33679.557252] uvcvideo: Control 0x00980904 not found.
> [33679.557255] uvcvideo: Control 0x00980905 not found.
> [33679.557258] uvcvideo: Control 0x00980906 not found.
> [33679.557261] uvcvideo: Control 0x00980907 not found.
> [33679.557263] uvcvideo: Control 0x00980908 not found.
> [33679.557266] uvcvideo: Control 0x00980909 not found.
> [33679.557269] uvcvideo: Control 0x0098090a not found.
> [33679.557272] uvcvideo: Control 0x0098090b not found.
> [33679.557275] uvcvideo: Control 0x0098090c not found.
> [33679.557277] uvcvideo: Control 0x0098090d not found.
> [33679.557280] uvcvideo: Control 0x0098090e not found.
> [33679.557283] uvcvideo: Control 0x0098090f not found.
> [33679.557285] uvcvideo: Control 0x00980910 not found.
> [33679.557288] uvcvideo: Control 0x00980911 not found.
> [33679.557291] uvcvideo: Control 0x00980912 not found.
> [33679.557294] uvcvideo: Control 0x00980913 not found.
> [33679.557297] uvcvideo: Control 0x00980914 not found.
> [33679.557299] uvcvideo: Control 0x00980915 not found.
> [33679.557302] uvcvideo: Control 0x00980916 not found.
> [33679.557305] uvcvideo: Control 0x00980917 not found.
> [33679.557308] uvcvideo: Control 0x00980918 not found.
> [33679.557311] uvcvideo: Control 0x00980919 not found.
> [33679.557313] uvcvideo: Control 0x0098091a not found.
> [33679.557316] uvcvideo: Control 0x0098091b not found.
> [33679.557318] uvcvideo: Control 0x0098091c not found.
> [33679.557321] uvcvideo: Control 0x0098091d not found.
> [33679.557324] uvcvideo: Control 0x0098091e not found.
> [33679.557327] uvcvideo: Control 0x0098091f not found.
> [33679.557331] uvcvideo: Control 0x00980920 not found.
> [33679.557334] uvcvideo: Control 0x00980921 not found.
> [33679.557337] uvcvideo: Control 0x00980922 not found.
> [33679.557340] uvcvideo: Control 0x00980923 not found.
> [33679.557343] uvcvideo: Control 0x00980924 not found.
> [33679.557345] uvcvideo: Control 0x00980925 not found.
> [33679.557348] uvcvideo: Control 0x00980926 not found.
> [33679.557351] uvcvideo: Control 0x00980927 not found.
> [33679.557353] uvcvideo: Control 0x00980928 not found.
> [33679.557356] uvcvideo: Control 0x00980929 not found.
> [33679.557359] uvcvideo: Control 0x0098092a not found.
> [33679.557361] uvcvideo: Control 0x08000000 not found.
> [33679.557364] uvcvideo: uvc_v4l2_release
> [33679.557446] uvcvideo: uvc_v4l2_open
> [33679.557463] uvcvideo: uvc_v4l2_release
> [33679.557547] uvcvideo: uvc_v4l2_open
> [33679.701284] uvcvideo: uvc_v4l2_release
> [33679.701293] uvcvideo: uvc_v4l2_release
> [33679.701305] uvcvideo: uvc_v4l2_open
> [33679.701305] uvcvideo: uvc_v4l2_open
> [33679.701310] uvcvideo: uvc_v4l2_release
> [33679.701326] uvcvideo: uvc_v4l2_release
> [33679.701332] uvcvideo: uvc_v4l2_open
> [33679.701393] uvcvideo: uvc_v4l2_open
> [33679.812706] uvcvideo: Resuming interface 0
> [33679.812708] uvcvideo: Resuming interface 1
> [33679.812745] uvcvideo: uvc_v4l2_release
> [33679.812746] uvcvideo: uvc_v4l2_release
> [33679.812746] uvcvideo: uvc_v4l2_release
> [33679.812747] uvcvideo: uvc_v4l2_release
> [33679.812871] uvcvideo: uvc_v4l2_open
> [33679.812871] uvcvideo: uvc_v4l2_open
> [33679.812872] uvcvideo: uvc_v4l2_open
> [33679.812881] uvcvideo: uvc_v4l2_open
> [33679.812944] uvcvideo: uvc_v4l2_release
> [33679.812945] uvcvideo: uvc_v4l2_release
> [33679.812945] uvcvideo: uvc_v4l2_release
> [33679.812949] uvcvideo: uvc_v4l2_release
> [33679.814214] uvcvideo: uvc_v4l2_open
> [33679.814235] uvcvideo: uvc_v4l2_release
> [33679.815265] uvcvideo: uvc_v4l2_open
> [33679.815289] uvcvideo: uvc_v4l2_release
> [33679.815774] uvcvideo: uvc_v4l2_open
> [33679.815798] uvcvideo: uvc_v4l2_release
> [33679.815888] uvcvideo: uvc_v4l2_open
> [33679.815916] uvcvideo: uvc_v4l2_release
> [33679.816772] uvcvideo: uvc_v4l2_open
> [33679.816783] uvcvideo: uvc_v4l2_release
> [33679.816994] uvcvideo: uvc_v4l2_open
> [33679.817004] uvcvideo: uvc_v4l2_release
> [33679.868762] uvcvideo: uvc_v4l2_open
> [33679.868775] uvcvideo: uvc_v4l2_release
> [33679.868875] uvcvideo: uvc_v4l2_open
> [33679.868985] uvcvideo: uvc_v4l2_release
> [33679.869075] uvcvideo: uvc_v4l2_open
> [33679.869153] uvcvideo: uvc_v4l2_release
> [33679.869244] uvcvideo: uvc_v4l2_open
> [33679.869311] uvcvideo: uvc_v4l2_release
> [33679.869394] uvcvideo: uvc_v4l2_open
> [33679.869442] uvcvideo: uvc_v4l2_release
> [33679.870128] uvcvideo: uvc_v4l2_open
> [33679.870136] uvcvideo: uvc_v4l2_release
> [33679.870237] uvcvideo: uvc_v4l2_open
> [33679.870330] uvcvideo: uvc_v4l2_release
> [33679.870431] uvcvideo: uvc_v4l2_open
> [33679.870502] uvcvideo: uvc_v4l2_release

Userspace looks at the V4L2 devices (I assume this is an automated
process under udev's control, possibly running /lib/udev/v4l_id).

> [33681.724746] IPv6: ADDRCONF(NETDEV_CHANGE): enp60s0u1u1u2: link becomes ready
> [33681.725242] r8152 4-1.1.2:1.0 enp60s0u1u1u2: carrier on
> [33682.312529] uvcvideo: Suspending interface 1
> [33682.312532] uvcvideo: Suspending interface 0
> [33682.369227] uvcvideo: Suspending interface 3
> [33682.369228] uvcvideo: Suspending interface 2
> [33682.369229] uvcvideo: Suspending interface 1
> [33682.369229] uvcvideo: Suspending interface 0

And there the kernel auto-suspends the camera, as it's not in use.

> [33684.020289] wlp61s0: deauthenticating from f0:b0:14:99:cd:fc by local choice (Reason: 3=DEAUTH_LEAVING)
> [33688.189318] usb 3-1.1.1: Failed to suspend device, error -110

However, something goes wrong.

> [33733.405785] uvcvideo: uvc_v4l2_open
> [33733.405906] hub 3-1.1.1:1.0: hub_ext_port_status failed (err = -71)
> [33733.406202] usb 3-1.1.1-port2: cannot disable (err = -71)
> [33733.406391] usb 3-1.1.1-port2: device 3-1.1.1.2 not suspended yet

And when opening the device, an error occurs.

I'm afraid I don't know why the device fails to suspend :-S As a quick
hack, you could try commenting out the call to usb_enable_autosuspend()
in uvc_probe(). If that fixes the issue then we know it's an
auto-suspend problem, and I would then recommend CC'ing the linux-usb
mailing list to get help with that. It may be that the camera is buggy
and doesn't support auto-suspend (in which case we could add a quirk in
the UVC driver - or possibly in the USB subsystem core - to selectively
disable auto-suspend for that model), or there could be a bug somewhere
in the kernel.

> [33739.747081] uvcvideo: uvc_v4l2_open

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Philips Monitor with webcam
  2020-11-16  8:45                       ` Laurent Pinchart
@ 2021-01-20 11:53                         ` Gregor Hlawacek
  0 siblings, 0 replies; 13+ messages in thread
From: Gregor Hlawacek @ 2021-01-20 11:53 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Mauro Carvalho Chehab, linux-media

[-- Attachment #1: Type: text/plain, Size: 42455 bytes --]

Hi Laurent and Mauro

Sometime has gone by and I don't know what you have done but one of the
kernel updates has actually resulted in a working camera. 

thanks

Gregor

On Mon, 2020-11-16 at 10:45 +0200, Laurent Pinchart wrote:
> Hi Gregor,
> 
> On Sat, Nov 07, 2020 at 05:23:39PM +0100, Gregor Hlawacek wrote:
> > On Thu, 2020-11-05 at 11:19 +0200, Laurent Pinchart wrote:
> > > Hi Gregor,
> > > 
> > > On Thu, Nov 05, 2020 at 08:41:27AM +0100, Gregor Hlawacek wrote:
> > > 
> > > [snip]
> > > 
> > > > Hi Mauro and Laurent
> > > > 
> > > > @Mauro:
> > > > 
> > > > I think there is a confusion, which might be my fault as I
> > > > talked about
> > > > a chicony cam in the external monitor. The chicony cam that
> > > > shows up as
> > > > video0/1 is my internal laptop camera which is working fine.
> > > > The
> > > > problematic one is the sunplusIT camera which has a chicony usb
> > > > identifier (0412). This is connected to video2-5 and also the
> > > > one
> > > > for
> > > > which I reported the above information.
> > > > 
> > > > @Laurent:
> > > > 
> > > > lsusb -v -d 0412:612b:
> > > 
> > > [snip]
> > > 
> > > Thank for the information. Nothing strikes me as weird. Could you
> > > 
> > > - Set the uvcvideo trace parameter to 0xffff:
> > > 
> > >   sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace
> > > 
> > > - Unplug and replug the monitor
> > > - Open the video devices in turn with v4l2-ctl (use the video
> > > device
> > >   nodes /dev/video* directly, not the by-id links)
> > > - Send send the output of 'sudo dmesg'
> > > 
> > > You can clear the kernel log with 'sudo dmesg -c' before doing so
> > > to
> > > avoid including unrelated data (or just strip it from the dmesg
> > > output manually when copying it to an e-mail).
> > 
> > Hi Laurent
> > 
> > sorry for the delay but I had to many other things going on during
> > the
> > end of this week. Here is the output attached.
> > 
> > Have a nice weekend
> > 
> > [33660.481848] usb 3-1: USB disconnect, device number 2
> > [33660.481849] usb 3-1.1: USB disconnect, device number 3
> > [33660.481851] usb 3-1.1.1: USB disconnect, device number 4
> > [33660.481851] usb 3-1.1.1.1: USB disconnect, device number 6
> > [33660.484576] usb 3-1.1.1.2: USB disconnect, device number 7
> > [33660.549398] xhci_hcd 0000:3c:00.0: xHCI host controller not
> > responding, assume dead
> > [33660.549413] xhci_hcd 0000:3c:00.0: HC died; cleaning up
> > [33660.549431] r8152 4-1.1.2:1.0 enp60s0u1u1u2: Stop submitting
> > intr, status -108
> > [33660.549508] usb 4-1: USB disconnect, device number 2
> > [33660.549510] usb 4-1.1: USB disconnect, device number 3
> > [33660.549512] usb 4-1.1.1: USB disconnect, device number 4
> > [33660.550559] usb 4-1.1.2: USB disconnect, device number 5
> > [33660.572578] xhci_hcd 0000:3c:00.0: remove, state 1
> > [33660.572582] usb usb4: USB disconnect, device number 1
> > [33660.597015] xhci_hcd 0000:3c:00.0: USB bus 4 deregistered
> > [33660.597022] xhci_hcd 0000:3c:00.0: remove, state 1
> > [33660.597027] usb usb3: USB disconnect, device number 1
> > [33660.598130] uvcvideo: uvc_v4l2_open
> > [33660.603339] usb 3-1.1.3: USB disconnect, device number 5
> > [33660.709741] uvcvideo: Resuming interface 0
> > [33660.709743] uvcvideo: Resuming interface 1
> > [33660.709837] uvcvideo: uvc_v4l2_release
> > [33660.710050] uvcvideo: uvc_v4l2_open
> > [33660.710104] uvcvideo: uvc_v4l2_release
> > [33660.711395] uvcvideo: uvc_v4l2_open
> > [33660.711449] uvcvideo: uvc_v4l2_release
> > [33660.746041] xhci_hcd 0000:3c:00.0: Host halt failed, -19
> > [33660.746047] xhci_hcd 0000:3c:00.0: Host not accessible, reset
> > failed.
> > [33660.746484] xhci_hcd 0000:3c:00.0: USB bus 3 deregistered
> > [33660.765730] uvcvideo: uvc_v4l2_open
> > [33660.765969] uvcvideo: uvc_v4l2_release
> > [33660.785299] uvcvideo: uvc_v4l2_open
> > [33660.787265] uvcvideo: uvc_v4l2_release
> > [33660.976605] pci_bus 0000:05: Allocating resources
> > [33660.976635] pcieport 0000:05:01.0: bridge window [io  0x1000-
> > 0x0fff] to [bus 07-3b] add_size 1000
> > [33660.976642] pcieport 0000:05:02.0: bridge window [io  0x1000-
> > 0x0fff] to [bus 3c] add_size 1000
> > [33660.976649] pcieport 0000:05:02.0: bridge window [mem
> > 0x00100000-0x000fffff 64bit pref] to [bus 3c] add_size 200000
> > add_align 100000
> > [33660.976656] pcieport 0000:04:00.0: bridge window [io  0x1000-
> > 0x0fff] to [bus 05-3c] add_size 3000
> > [33660.976666] pcieport 0000:04:00.0: BAR 13: no space for [io 
> > size 0x3000]
> > [33660.976671] pcieport 0000:04:00.0: BAR 13: failed to assign [io 
> > size 0x3000]
> > [33660.976677] pcieport 0000:04:00.0: BAR 13: no space for [io 
> > size 0x3000]
> > [33660.976682] pcieport 0000:04:00.0: BAR 13: failed to assign [io 
> > size 0x3000]
> > [33660.976696] pcieport 0000:05:02.0: BAR 15: no space for [mem
> > size 0x00200000 64bit pref]
> > [33660.976700] pcieport 0000:05:02.0: BAR 15: failed to assign [mem
> > size 0x00200000 64bit pref]
> > [33660.976705] pcieport 0000:05:01.0: BAR 13: no space for [io 
> > size 0x1000]
> > [33660.976711] pcieport 0000:05:01.0: BAR 13: failed to assign [io 
> > size 0x1000]
> > [33660.976716] pcieport 0000:05:02.0: BAR 13: no space for [io 
> > size 0x1000]
> > [33660.976720] pcieport 0000:05:02.0: BAR 13: failed to assign [io 
> > size 0x1000]
> > [33660.976730] pcieport 0000:05:02.0: BAR 15: no space for [mem
> > size 0x00200000 64bit pref]
> > [33660.976734] pcieport 0000:05:02.0: BAR 15: failed to assign [mem
> > size 0x00200000 64bit pref]
> > [33660.976739] pcieport 0000:05:02.0: BAR 13: no space for [io 
> > size 0x1000]
> > [33660.976744] pcieport 0000:05:02.0: BAR 13: failed to assign [io 
> > size 0x1000]
> > [33660.976748] pcieport 0000:05:01.0: BAR 13: no space for [io 
> > size 0x1000]
> > [33660.976753] pcieport 0000:05:01.0: BAR 13: failed to assign [io 
> > size 0x1000]
> > [33663.292784] uvcvideo: Suspending interface 1
> > [33663.292787] uvcvideo: Suspending interface 0
> > [33665.695288] pcieport 0000:05:00.0: can't change power state from
> > D3cold to D0 (config space inaccessible)
> > [33665.695971] pci_bus 0000:06: busn_res: [bus 06] is released
> > [33665.696182] pci_bus 0000:07: busn_res: [bus 07-3b] is released
> > [33665.696329] pci_bus 0000:3c: busn_res: [bus 3c] is released
> > [33665.701153] pci_bus 0000:05: busn_res: [bus 05-3c] is released
> 
> I assume all this corresponds to unplugging the monitor. Is it
> connected
> over a thunderbolt 3 (PCIe and DP over a USB type C donnector) ?
> 
> > [33667.950096] wlp61s0: authenticate with f0:b0:14:99:cd:fc
> > [33667.960464] wlp61s0: send auth to f0:b0:14:99:cd:fc (try 1/3)
> > [33667.971065] wlp61s0: authenticated
> > [33667.972706] wlp61s0: associate with f0:b0:14:99:cd:fc (try 1/3)
> > [33667.975090] wlp61s0: RX AssocResp from f0:b0:14:99:cd:fc
> > (capab=0x1511 status=0 aid=3)
> > [33667.977717] wlp61s0: associated
> > [33668.004909] wlp61s0: Limiting TX power to 27 (30 - 3) dBm as
> > advertised by f0:b0:14:99:cd:fc
> > [33668.004996] IPv6: ADDRCONF(NETDEV_CHANGE): wlp61s0: link becomes
> > ready
> 
> This is unrelated.
> 
> I assume that you've replugged the monitor at this point.
> 
> > [33675.939837] pci 0000:04:00.0: [8086:15c0] type 01 class 0x060400
> > [33675.939900] pci 0000:04:00.0: enabling Extended Tags
> > [33675.940013] pci 0000:04:00.0: supports D1 D2
> > [33675.940015] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot
> > D3cold
> > [33675.940292] pci 0000:05:00.0: [8086:15c0] type 01 class 0x060400
> > [33675.940343] pci 0000:05:00.0: enabling Extended Tags
> > [33675.940426] pci 0000:05:00.0: supports D1 D2
> > [33675.940426] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot
> > D3cold
> > [33675.940546] pci 0000:05:01.0: [8086:15c0] type 01 class 0x060400
> > [33675.940597] pci 0000:05:01.0: enabling Extended Tags
> > [33675.940678] pci 0000:05:01.0: supports D1 D2
> > [33675.940679] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot
> > D3cold
> > [33675.940802] pci 0000:05:02.0: [8086:15c0] type 01 class 0x060400
> > [33675.940854] pci 0000:05:02.0: enabling Extended Tags
> > [33675.940938] pci 0000:05:02.0: supports D1 D2
> > [33675.940939] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot
> > D3cold
> > [33675.941100] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
> > [33675.941108] pci 0000:04:00.0:   bridge window [mem 0xc4000000-
> > 0xda0fffff]
> > [33675.941114] pci 0000:04:00.0:   bridge window [mem 0xa0000000-
> > 0xc1ffffff 64bit pref]
> > [33675.941161] pci 0000:05:00.0: PCI bridge to [bus 06]
> > [33675.941168] pci 0000:05:00.0:   bridge window [mem 0xda000000-
> > 0xda0fffff]
> > [33675.941212] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
> > [33675.941220] pci 0000:05:01.0:   bridge window [mem 0xc4000000-
> > 0xd9efffff]
> > [33675.941225] pci 0000:05:01.0:   bridge window [mem 0xa0000000-
> > 0xc1ffffff 64bit pref]
> > [33675.941307] pci 0000:3c:00.0: [8086:15c1] type 00 class 0x0c0330
> > [33675.941329] pci 0000:3c:00.0: reg 0x10: [mem 0xd9f00000-
> > 0xd9f0ffff]
> > [33675.941404] pci 0000:3c:00.0: enabling Extended Tags
> > [33675.941517] pci 0000:3c:00.0: supports D1 D2
> > [33675.941518] pci 0000:3c:00.0: PME# supported from D0 D1 D2 D3hot
> > D3cold
> > [33675.941607] pci 0000:3c:00.0: 8.000 Gb/s available PCIe
> > bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:02.0
> > (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
> > [33675.941745] pci 0000:05:02.0: PCI bridge to [bus 3c]
> > [33675.941754] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-
> > 0xd9ffffff]
> > [33675.941782] pci_bus 0000:05: Allocating resources
> > [33675.941797] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff]
> > to [bus 07-3b] add_size 1000
> > [33675.941799] pci 0000:05:02.0: bridge window [io  0x1000-0x0fff]
> > to [bus 3c] add_size 1000
> > [33675.941800] pci 0000:05:02.0: bridge window [mem 0x00100000-
> > 0x000fffff 64bit pref] to [bus 3c] add_size 200000 add_align 100000
> > [33675.941802] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff]
> > to [bus 05-3c] add_size 3000
> > [33675.941805] pci 0000:04:00.0: BAR 13: no space for [io  size
> > 0x3000]
> > [33675.941806] pci 0000:04:00.0: BAR 13: failed to assign [io  size
> > 0x3000]
> > [33675.941808] pci 0000:04:00.0: BAR 13: no space for [io  size
> > 0x3000]
> > [33675.941809] pci 0000:04:00.0: BAR 13: failed to assign [io  size
> > 0x3000]
> > [33675.941812] pci 0000:05:02.0: BAR 15: no space for [mem size
> > 0x00200000 64bit pref]
> > [33675.941813] pci 0000:05:02.0: BAR 15: failed to assign [mem size
> > 0x00200000 64bit pref]
> > [33675.941814] pci 0000:05:01.0: BAR 13: no space for [io  size
> > 0x1000]
> > [33675.941815] pci 0000:05:01.0: BAR 13: failed to assign [io  size
> > 0x1000]
> > [33675.941815] pci 0000:05:02.0: BAR 13: no space for [io  size
> > 0x1000]
> > [33675.941816] pci 0000:05:02.0: BAR 13: failed to assign [io  size
> > 0x1000]
> > [33675.941819] pci 0000:05:02.0: BAR 15: no space for [mem size
> > 0x00200000 64bit pref]
> > [33675.941819] pci 0000:05:02.0: BAR 15: failed to assign [mem size
> > 0x00200000 64bit pref]
> > [33675.941820] pci 0000:05:02.0: BAR 13: no space for [io  size
> > 0x1000]
> > [33675.941821] pci 0000:05:02.0: BAR 13: failed to assign [io  size
> > 0x1000]
> > [33675.941822] pci 0000:05:01.0: BAR 13: no space for [io  size
> > 0x1000]
> > [33675.941822] pci 0000:05:01.0: BAR 13: failed to assign [io  size
> > 0x1000]
> > [33675.941825] pci 0000:05:00.0: PCI bridge to [bus 06]
> > [33675.941832] pci 0000:05:00.0:   bridge window [mem 0xda000000-
> > 0xda0fffff]
> > [33675.941840] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
> > [33675.941844] pci 0000:05:01.0:   bridge window [mem 0xc4000000-
> > 0xd9efffff]
> > [33675.941847] pci 0000:05:01.0:   bridge window [mem 0xa0000000-
> > 0xc1ffffff 64bit pref]
> > [33675.941852] pci 0000:05:02.0: PCI bridge to [bus 3c]
> > [33675.941856] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-
> > 0xd9ffffff]
> > [33675.941864] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
> > [33675.941868] pci 0000:04:00.0:   bridge window [mem 0xc4000000-
> > 0xda0fffff]
> > [33675.941871] pci 0000:04:00.0:   bridge window [mem 0xa0000000-
> > 0xc1ffffff 64bit pref]
> > [33675.943143] xhci_hcd 0000:3c:00.0: xHCI Host Controller
> > [33675.943149] xhci_hcd 0000:3c:00.0: new USB bus registered,
> > assigned bus number 3
> > [33675.944287] xhci_hcd 0000:3c:00.0: hcc params 0x200077c1 hci
> > version 0x110 quirks 0x0000000000009810
> > [33675.944513] usb usb3: New USB device found, idVendor=1d6b,
> > idProduct=0002, bcdDevice= 5.09
> > [33675.944514] usb usb3: New USB device strings: Mfr=3, Product=2,
> > SerialNumber=1
> > [33675.944516] usb usb3: Product: xHCI Host Controller
> > [33675.944517] usb usb3: Manufacturer: Linux 5.9.4-arch1-1 xhci-hcd
> > [33675.944518] usb usb3: SerialNumber: 0000:3c:00.0
> > [33675.944681] hub 3-0:1.0: USB hub found
> > [33675.944691] hub 3-0:1.0: 2 ports detected
> > [33675.945358] xhci_hcd 0000:3c:00.0: xHCI Host Controller
> > [33675.945362] xhci_hcd 0000:3c:00.0: new USB bus registered,
> > assigned bus number 4
> > [33675.945366] xhci_hcd 0000:3c:00.0: Host supports USB 3.1
> > Enhanced SuperSpeed
> > [33675.945405] usb usb4: New USB device found, idVendor=1d6b,
> > idProduct=0003, bcdDevice= 5.09
> > [33675.945407] usb usb4: New USB device strings: Mfr=3, Product=2,
> > SerialNumber=1
> > [33675.945408] usb usb4: Product: xHCI Host Controller
> > [33675.945410] usb usb4: Manufacturer: Linux 5.9.4-arch1-1 xhci-hcd
> > [33675.945411] usb usb4: SerialNumber: 0000:3c:00.0
> > [33675.945533] hub 4-0:1.0: USB hub found
> > [33675.945541] hub 4-0:1.0: 2 ports detected
> 
> Two XHCI (USB 3) controllers seem to be present in your monitor,
> they're
> assigned buses 3 and 4.
> 
> > [33676.272630] usb 3-1: new high-speed USB device number 2 using
> > xhci_hcd
> > [33676.415928] usb 3-1: New USB device found, idVendor=0bda,
> > idProduct=5420, bcdDevice= 1.30
> > [33676.415929] usb 3-1: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=0
> > [33676.415930] usb 3-1: Product: 4-Port USB 2.0 Hub
> > [33676.415931] usb 3-1: Manufacturer: Generic
> > [33676.416882] hub 3-1:1.0: USB hub found
> > [33676.417126] hub 3-1:1.0: 5 ports detected
> > [33676.539368] usb 4-1: new SuperSpeedPlus Gen 2 USB device number
> > 2 using xhci_hcd
> > [33676.562679] usb 4-1: New USB device found, idVendor=0bda,
> > idProduct=0420, bcdDevice= 1.30
> > [33676.562681] usb 4-1: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=0
> > [33676.562682] usb 4-1: Product: 4-Port USB 3.0 Hub
> > [33676.562683] usb 4-1: Manufacturer: Generic
> > [33676.565072] hub 4-1:1.0: USB hub found
> > [33676.565367] hub 4-1:1.0: 4 ports detected
> 
> Each of them has a root hub with 5 and 4 ports respectively.
> 
> > [33676.699303] usb 3-1.1: new high-speed USB device number 3 using
> > xhci_hcd
> > [33676.824290] usb 3-1.1: New USB device found, idVendor=0bda,
> > idProduct=5420, bcdDevice= 1.29
> > [33676.824292] usb 3-1.1: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=0
> > [33676.824294] usb 3-1.1: Product: 4-Port USB 2.0 Hub
> > [33676.824294] usb 3-1.1: Manufacturer: Generic
> > [33676.826109] hub 3-1.1:1.0: USB hub found
> > [33676.827260] hub 3-1.1:1.0: 4 ports detected
> > [33676.889920] usb 4-1.1: new SuperSpeedPlus Gen 2 USB device
> > number 3 using xhci_hcd
> > [33676.921137] usb 4-1.1: New USB device found, idVendor=0bda,
> > idProduct=0420, bcdDevice= 1.29
> > [33676.921139] usb 4-1.1: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=0
> > [33676.921140] usb 4-1.1: Product: 4-Port USB 3.0 Hub
> > [33676.921141] usb 4-1.1: Manufacturer: Generic
> > [33676.929999] hub 4-1.1:1.0: USB hub found
> > [33676.931410] hub 4-1.1:1.0: 4 ports detected
> 
> On port 1 of each root hub there's a USB 2.0 hub with 4 ports.
> 
> > [33677.109278] usb 3-1.1.1: new high-speed USB device number 4
> > using xhci_hcd
> > [33677.234131] usb 3-1.1.1: New USB device found, idVendor=0bda,
> > idProduct=5412, bcdDevice= 1.20
> > [33677.234133] usb 3-1.1.1: New USB device strings: Mfr=1,
> > Product=2, SerialNumber=0
> > [33677.234134] usb 3-1.1.1: Product: 2-Port USB 2.1 Hub
> > [33677.234135] usb 3-1.1.1: Manufacturer: Generic
> > [33677.235575] hub 3-1.1.1:1.0: USB hub found
> > [33677.237584] hub 3-1.1.1:1.0: 2 ports detected
> > [33677.299864] usb 4-1.1.1: new SuperSpeed Gen 1 USB device number
> > 4 using xhci_hcd
> > [33677.330281] usb 4-1.1.1: New USB device found, idVendor=0bda,
> > idProduct=0412, bcdDevice= 1.20
> > [33677.330283] usb 4-1.1.1: New USB device strings: Mfr=1,
> > Product=2, SerialNumber=0
> > [33677.330284] usb 4-1.1.1: Product: 4-Port USB 3.1 Hub
> > [33677.330286] usb 4-1.1.1: Manufacturer: Generic
> > [33677.339379] hub 4-1.1.1:1.0: USB hub found
> > [33677.341114] hub 4-1.1.1:1.0: 2 ports detected
> 
> And on port 1 of each of the USB 2.0 hubs there's a USB 2.1 hub with
> two
> ports. The topology is getting a bit complicated.
> 
> > [33677.395926] usb 3-1.1.3: new full-speed USB device number 5
> > using xhci_hcd
> > [33677.487520] usb 3-1.1.3: New USB device found, idVendor=046a,
> > idProduct=00b0, bcdDevice= 1.01
> > [33677.487522] usb 3-1.1.3: New USB device strings: Mfr=1,
> > Product=2, SerialNumber=0
> > [33677.487523] usb 3-1.1.3: Product: Mechanical Keyboard
> > [33677.487524] usb 3-1.1.3: Manufacturer: CHERRY
> > [33677.494244] input: CHERRY Mechanical Keyboard as
> > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > 00.0/usb3/3-1/3-1.1/3-1.1.3/3-
> > 1.1.3:1.0/0003:046A:00B0.000A/input/input43
> > [33677.549426] hid-generic 0003:046A:00B0.000A: input,hidraw1: USB
> > HID v1.11 Keyboard [CHERRY Mechanical Keyboard] on usb-
> > 0000:3c:00.0-1.1.3/input0
> > [33677.550173] input: CHERRY Mechanical Keyboard as
> > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > 00.0/usb3/3-1/3-1.1/3-1.1.3/3-
> > 1.1.3:1.1/0003:046A:00B0.000B/input/input44
> 
> On port 3 of the USB 2.0 hub for bus 3 there's a keyboard.
> 
> > [33677.559243] usb 3-1.1.1.1: new high-speed USB device number 6
> > using xhci_hcd
> > [33677.606030] hid-generic 0003:046A:00B0.000B: input,hidraw2: USB
> > HID v1.11 Device [CHERRY Mechanical Keyboard] on usb-0000:3c:00.0-
> > 1.1.3/input1
> > [33677.848662] usb 3-1.1.1.1: New USB device found, idVendor=0bda,
> > idProduct=48a5, bcdDevice= 0.01
> > [33677.848663] usb 3-1.1.1.1: New USB device strings: Mfr=3,
> > Product=1, SerialNumber=2
> > [33677.848664] usb 3-1.1.1.1: Product: USB Audio
> > [33677.848665] usb 3-1.1.1.1: Manufacturer: Generic
> > [33677.848666] usb 3-1.1.1.1: SerialNumber: 201405280001
> 
> On port 1 of the USB 2.1 hub for bus 3 there's an audio device.
> 
> > [33677.969289] usb 3-1.1.1.2: new high-speed USB device number 7
> > using xhci_hcd
> > [33678.134841] usb 3-1.1.1.2: New USB device found, idVendor=04f2,
> > idProduct=b612, bcdDevice= 2.10
> > [33678.134843] usb 3-1.1.1.2: New USB device strings: Mfr=1,
> > Product=2, SerialNumber=3
> > [33678.134844] usb 3-1.1.1.2: Product: USB2.0 FHD UVC WebCam
> > [33678.134844] usb 3-1.1.1.2: Manufacturer: SunplusIT Inc
> > [33678.134845] usb 3-1.1.1.2: SerialNumber: 01.00.00
> 
> And on port 2 of the same hub there's your webcam.
> 
> > [33678.145922] uvcvideo: Probing generic UVC device 1.1.1.2
> > [33678.149746] uvcvideo: Found format MJPEG.
> > [33678.149748] uvcvideo: - 640x480 (30.0 fps)
> > [33678.149749] uvcvideo: - 1920x1080 (30.0 fps)
> > [33678.149750] uvcvideo: - 1280x720 (30.0 fps)
> > [33678.149750] uvcvideo: - 640x360 (30.0 fps)
> > [33678.149751] uvcvideo: - 352x288 (30.0 fps)
> > [33678.149752] uvcvideo: - 320x240 (30.0 fps)
> > [33678.149753] uvcvideo: - 176x144 (30.0 fps)
> > [33678.149754] uvcvideo: Found format YUV 4:2:2 (YUYV).
> > [33678.149754] uvcvideo: - 640x480 (30.0 fps)
> > [33678.149755] uvcvideo: - 640x360 (30.0 fps)
> > [33678.149755] uvcvideo: - 352x288 (30.0 fps)
> > [33678.149756] uvcvideo: - 320x240 (30.0 fps)
> > [33678.149756] uvcvideo: - 176x144 (30.0 fps)
> > [33678.149759] uvcvideo: Found a Status endpoint (addr 87).
> > [33678.149760] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > WebCam (04f2:b612)
> > [33678.153431] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000001/2 to device 1.1.1.2 entity 1
> > [33678.153434] uvcvideo: Adding mapping 'Exposure, Auto' to control
> > 00000000-0000-0000-0000-000000000001/2.
> > [33678.157171] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000001/4 to device 1.1.1.2 entity 1
> > [33678.157175] uvcvideo: Adding mapping 'Exposure (Absolute)' to
> > control 00000000-0000-0000-0000-000000000001/4.
> > [33678.160954] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/2 to device 1.1.1.2 entity 2
> > [33678.160956] uvcvideo: Adding mapping 'Brightness' to control
> > 00000000-0000-0000-0000-000000000101/2.
> > [33678.164794] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/3 to device 1.1.1.2 entity 2
> > [33678.164797] uvcvideo: Adding mapping 'Contrast' to control
> > 00000000-0000-0000-0000-000000000101/3.
> > [33678.168589] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/6 to device 1.1.1.2 entity 2
> > [33678.168590] uvcvideo: Adding mapping 'Hue' to control 00000000-
> > 0000-0000-0000-000000000101/6.
> > [33678.172374] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/7 to device 1.1.1.2 entity 2
> > [33678.172376] uvcvideo: Adding mapping 'Saturation' to control
> > 00000000-0000-0000-0000-000000000101/7.
> > [33678.176233] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/8 to device 1.1.1.2 entity 2
> > [33678.176236] uvcvideo: Adding mapping 'Sharpness' to control
> > 00000000-0000-0000-0000-000000000101/8.
> > [33678.179988] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/9 to device 1.1.1.2 entity 2
> > [33678.179990] uvcvideo: Adding mapping 'Gamma' to control
> > 00000000-0000-0000-0000-000000000101/9.
> > [33678.183820] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/10 to device 1.1.1.2 entity 2
> > [33678.183822] uvcvideo: Adding mapping 'White Balance Temperature'
> > to control 00000000-0000-0000-0000-000000000101/10.
> > [33678.187612] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/1 to device 1.1.1.2 entity 2
> > [33678.187614] uvcvideo: Adding mapping 'Backlight Compensation' to
> > control 00000000-0000-0000-0000-000000000101/1.
> > [33678.191115] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/5 to device 1.1.1.2 entity 2
> > [33678.191118] uvcvideo: Adding mapping 'Power Line Frequency' to
> > control 00000000-0000-0000-0000-000000000101/5.
> > [33678.194955] uvcvideo: Added control 00000000-0000-0000-0000-
> > 000000000101/11 to device 1.1.1.2 entity 2
> > [33678.194959] uvcvideo: Adding mapping 'White Balance Temperature,
> > Auto' to control 00000000-0000-0000-0000-000000000101/11.
> > [33678.194963] uvcvideo: Scanning UVC chain: OT 5 <- XU 4 <- XU 3
> > <- PU 2 <- IT 1
> > [33678.194966] uvcvideo: Found a valid video chain (1 -> 5).
> > [33678.212183] input: USB2.0 FHD UVC WebCam: USB2.0 F as
> > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > 00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.0/input/input45
> > [33678.212283] uvcvideo: UVC device initialized.
> > [33678.216492] uvcvideo: Probing generic UVC device 1.1.1.2
> > [33678.220254] uvcvideo: Found format IR 8-bit (L8_IR).
> > [33678.220256] uvcvideo: - 352x352 (30.0 fps)
> > [33678.220260] uvcvideo: Found a Status endpoint (addr 84).
> > [33678.220261] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC
> > WebCam (04f2:b612)
> > [33678.220264] uvcvideo: Scanning UVC chain: OT 5 <- XU 4 <- XU 7
> > <- PU 2 <- IT 1
> > [33678.220267] uvcvideo: Found a valid video chain (1 -> 5).
> > [33678.237583] input: USB2.0 FHD UVC WebCam: IR Camer as
> > /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:02.0/0000:3c:
> > 00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.2/3-1.1.1.2:1.2/input/input46
> > [33678.237667] uvcvideo: UVC device initialized.
> > [33678.329348] usb 4-1.1.2: new SuperSpeed Gen 1 USB device number
> > 5 using xhci_hcd
> > [33678.346494] usb 4-1.1.2: New USB device found, idVendor=0bda,
> > idProduct=8153, bcdDevice=31.00
> > [33678.346497] usb 4-1.1.2: New USB device strings: Mfr=1,
> > Product=2, SerialNumber=6
> > [33678.346498] usb 4-1.1.2: Product: USB 10/100/1000 LAN
> > [33678.346500] usb 4-1.1.2: Manufacturer: Realtek
> > [33678.346501] usb 4-1.1.2: SerialNumber: 000000000000
> > [33678.426195] usb 4-1.1.2: reset SuperSpeed Gen 1 USB device
> > number 5 using xhci_hcd
> > [33678.489706] r8152 4-1.1.2:1.0 eth0: v2.14.0 (2020/09/24)
> > [33678.489708] r8152 4-1.1.2:1.0 eth0: This product is covered by
> > one or more of the following patents:
> >                         US6,570,884, US6,115,776, and US6,327,625.
> > 
> > [33678.632895] usb 4-1.1.2: reset SuperSpeed Gen 1 USB device
> > number 5 using xhci_hcd
> > [33678.698562] r8152 4-1.1.2:1.0 eth0: v2.14.0 (2020/09/24)
> > [33678.698565] r8152 4-1.1.2:1.0 eth0: This product is covered by
> > one or more of the following patents:
> >                         US6,570,884, US6,115,776, and US6,327,625.
> > 
> > [33678.969798] r8152 4-1.1.2:1.0 enp60s0u1u1u2: renamed from eth0
> 
> Then on bus 4 there's a network controller (the patents information
> really don't belong to the kernel... I wonder where those messages
> come
> from though, I can't find them in the kernel sources).
> 
> > [33679.516896] uvcvideo: uvc_v4l2_open
> > [33679.516929] uvcvideo: uvc_v4l2_release
> > [33679.534194] uvcvideo: uvc_v4l2_open
> > [33679.534210] uvcvideo: uvc_v4l2_release
> > [33679.535192] uvcvideo: uvc_v4l2_open
> > [33679.535293] uvcvideo: uvc_v4l2_release
> > [33679.535393] uvcvideo: uvc_v4l2_open
> > [33679.535407] uvcvideo: Control 0x00980900 not found.
> > [33679.535411] uvcvideo: Control 0x00980901 not found.
> > [33679.535414] uvcvideo: Control 0x00980902 not found.
> > [33679.535416] uvcvideo: Control 0x00980903 not found.
> > [33679.535419] uvcvideo: Control 0x00980904 not found.
> > [33679.535421] uvcvideo: Control 0x00980905 not found.
> > [33679.535424] uvcvideo: Control 0x00980906 not found.
> > [33679.535427] uvcvideo: Control 0x00980907 not found.
> > [33679.535429] uvcvideo: Control 0x00980908 not found.
> > [33679.535432] uvcvideo: Control 0x00980909 not found.
> > [33679.535434] uvcvideo: Control 0x0098090a not found.
> > [33679.535437] uvcvideo: Control 0x0098090b not found.
> > [33679.535440] uvcvideo: Control 0x0098090c not found.
> > [33679.535442] uvcvideo: Control 0x0098090d not found.
> > [33679.535445] uvcvideo: Control 0x0098090e not found.
> > [33679.535448] uvcvideo: Control 0x0098090f not found.
> > [33679.535450] uvcvideo: Control 0x00980910 not found.
> > [33679.535453] uvcvideo: Control 0x00980911 not found.
> > [33679.535456] uvcvideo: Control 0x00980912 not found.
> > [33679.535458] uvcvideo: Control 0x00980913 not found.
> > [33679.535461] uvcvideo: Control 0x00980914 not found.
> > [33679.535463] uvcvideo: Control 0x00980915 not found.
> > [33679.535466] uvcvideo: Control 0x00980916 not found.
> > [33679.535469] uvcvideo: Control 0x00980917 not found.
> > [33679.535472] uvcvideo: Control 0x00980918 not found.
> > [33679.535475] uvcvideo: Control 0x00980919 not found.
> > [33679.535477] uvcvideo: Control 0x0098091a not found.
> > [33679.535480] uvcvideo: Control 0x0098091b not found.
> > [33679.535483] uvcvideo: Control 0x0098091c not found.
> > [33679.535485] uvcvideo: Control 0x0098091d not found.
> > [33679.535488] uvcvideo: Control 0x0098091e not found.
> > [33679.535491] uvcvideo: Control 0x0098091f not found.
> > [33679.535493] uvcvideo: Control 0x00980920 not found.
> > [33679.535496] uvcvideo: Control 0x00980921 not found.
> > [33679.535499] uvcvideo: Control 0x00980922 not found.
> > [33679.535501] uvcvideo: Control 0x00980923 not found.
> > [33679.535504] uvcvideo: Control 0x00980924 not found.
> > [33679.535507] uvcvideo: Control 0x00980925 not found.
> > [33679.535509] uvcvideo: Control 0x00980926 not found.
> > [33679.535511] uvcvideo: uvc_v4l2_open
> > [33679.535512] uvcvideo: Control 0x00980927 not found.
> > [33679.535515] uvcvideo: Control 0x00980928 not found.
> > [33679.535517] uvcvideo: Control 0x00980929 not found.
> > [33679.535520] uvcvideo: Control 0x0098092a not found.
> > [33679.535523] uvcvideo: Control 0x00980900 not found.
> > [33679.535524] uvcvideo: Control 0x08000000 not found.
> > [33679.535527] uvcvideo: Control 0x00980901 not found.
> > [33679.535528] uvcvideo: uvc_v4l2_release
> > [33679.535532] uvcvideo: Control 0x00980902 not found.
> > [33679.535536] uvcvideo: Control 0x00980903 not found.
> > [33679.535540] uvcvideo: Control 0x00980904 not found.
> > [33679.535540] uvcvideo: uvc_v4l2_open
> > [33679.535544] uvcvideo: Control 0x00980905 not found.
> > [33679.535548] uvcvideo: Control 0x00980906 not found.
> > [33679.535550] uvcvideo: uvc_v4l2_release
> > [33679.535552] uvcvideo: Control 0x00980907 not found.
> > [33679.535556] uvcvideo: Control 0x00980908 not found.
> > [33679.535560] uvcvideo: Control 0x00980909 not found.
> > [33679.535564] uvcvideo: Control 0x0098090a not found.
> > [33679.535568] uvcvideo: Control 0x0098090b not found.
> > [33679.535571] uvcvideo: Control 0x0098090c not found.
> > [33679.535575] uvcvideo: Control 0x0098090d not found.
> > [33679.535579] uvcvideo: Control 0x0098090e not found.
> > [33679.535583] uvcvideo: Control 0x0098090f not found.
> > [33679.535587] uvcvideo: Control 0x00980910 not found.
> > [33679.535590] uvcvideo: Control 0x00980911 not found.
> > [33679.535594] uvcvideo: Control 0x00980912 not found.
> > [33679.535598] uvcvideo: Control 0x00980913 not found.
> > [33679.535602] uvcvideo: Control 0x00980914 not found.
> > [33679.535605] uvcvideo: Control 0x00980915 not found.
> > [33679.535609] uvcvideo: Control 0x00980916 not found.
> > [33679.535613] uvcvideo: Control 0x00980917 not found.
> > [33679.535617] uvcvideo: Control 0x00980918 not found.
> > [33679.535620] uvcvideo: Control 0x00980919 not found.
> > [33679.535625] uvcvideo: Control 0x0098091a not found.
> > [33679.535628] uvcvideo: Control 0x0098091b not found.
> > [33679.535632] uvcvideo: Control 0x0098091c not found.
> > [33679.535636] uvcvideo: Control 0x0098091d not found.
> > [33679.535640] uvcvideo: Control 0x0098091e not found.
> > [33679.535644] uvcvideo: Control 0x0098091f not found.
> > [33679.535648] uvcvideo: Control 0x00980920 not found.
> > [33679.535651] uvcvideo: Control 0x00980921 not found.
> > [33679.535655] uvcvideo: Control 0x00980922 not found.
> > [33679.535659] uvcvideo: Control 0x00980923 not found.
> > [33679.535663] uvcvideo: Control 0x00980924 not found.
> > [33679.535666] uvcvideo: Control 0x00980925 not found.
> > [33679.535670] uvcvideo: Control 0x00980926 not found.
> > [33679.535674] uvcvideo: Control 0x00980927 not found.
> > [33679.535678] uvcvideo: Control 0x00980928 not found.
> > [33679.535682] uvcvideo: Control 0x00980929 not found.
> > [33679.535685] uvcvideo: Control 0x0098092a not found.
> > [33679.535689] uvcvideo: Control 0x08000000 not found.
> > [33679.535693] uvcvideo: uvc_v4l2_release
> > [33679.539084] uvcvideo: uvc_v4l2_open
> > [33679.539933] uvcvideo: uvc_v4l2_open
> > [33679.541867] uvcvideo: uvc_v4l2_release
> > [33679.541979] uvcvideo: uvc_v4l2_open
> > [33679.542010] uvcvideo: uvc_v4l2_release
> > [33679.542097] uvcvideo: uvc_v4l2_open
> > [33679.543598] uvcvideo: uvc_v4l2_open
> > [33679.543614] uvcvideo: uvc_v4l2_release
> > [33679.543875] uvcvideo: uvc_v4l2_open
> > [33679.543886] uvcvideo: Control 0x00980900 not found.
> > [33679.543889] uvcvideo: Control 0x00980901 not found.
> > [33679.543892] uvcvideo: Control 0x00980902 not found.
> > [33679.543895] uvcvideo: Control 0x00980903 not found.
> > [33679.543897] uvcvideo: Control 0x00980904 not found.
> > [33679.543900] uvcvideo: Control 0x00980905 not found.
> > [33679.543903] uvcvideo: Control 0x00980906 not found.
> > [33679.543905] uvcvideo: Control 0x00980907 not found.
> > [33679.543908] uvcvideo: Control 0x00980908 not found.
> > [33679.543911] uvcvideo: Control 0x00980909 not found.
> > [33679.543913] uvcvideo: Control 0x0098090a not found.
> > [33679.543916] uvcvideo: Control 0x0098090b not found.
> > [33679.543919] uvcvideo: Control 0x0098090c not found.
> > [33679.543921] uvcvideo: Control 0x0098090d not found.
> > [33679.543924] uvcvideo: Control 0x0098090e not found.
> > [33679.543927] uvcvideo: Control 0x0098090f not found.
> > [33679.543930] uvcvideo: Control 0x00980910 not found.
> > [33679.543933] uvcvideo: Control 0x00980911 not found.
> > [33679.543935] uvcvideo: Control 0x00980912 not found.
> > [33679.543938] uvcvideo: Control 0x00980913 not found.
> > [33679.543941] uvcvideo: Control 0x00980914 not found.
> > [33679.543943] uvcvideo: Control 0x00980915 not found.
> > [33679.543946] uvcvideo: Control 0x00980916 not found.
> > [33679.543949] uvcvideo: Control 0x00980917 not found.
> > [33679.543951] uvcvideo: Control 0x00980918 not found.
> > [33679.543954] uvcvideo: Control 0x00980919 not found.
> > [33679.543957] uvcvideo: Control 0x0098091a not found.
> > [33679.543959] uvcvideo: Control 0x0098091b not found.
> > [33679.543962] uvcvideo: Control 0x0098091c not found.
> > [33679.543964] uvcvideo: Control 0x0098091d not found.
> > [33679.543967] uvcvideo: Control 0x0098091e not found.
> > [33679.543970] uvcvideo: Control 0x0098091f not found.
> > [33679.543973] uvcvideo: Control 0x00980920 not found.
> > [33679.543975] uvcvideo: Control 0x00980921 not found.
> > [33679.543978] uvcvideo: Control 0x00980922 not found.
> > [33679.543980] uvcvideo: Control 0x00980923 not found.
> > [33679.543983] uvcvideo: Control 0x00980924 not found.
> > [33679.543986] uvcvideo: Control 0x00980925 not found.
> > [33679.543989] uvcvideo: Control 0x00980926 not found.
> > [33679.543991] uvcvideo: Control 0x00980927 not found.
> > [33679.543994] uvcvideo: Control 0x00980928 not found.
> > [33679.543996] uvcvideo: Control 0x00980929 not found.
> > [33679.543999] uvcvideo: Control 0x0098092a not found.
> > [33679.544002] uvcvideo: Control 0x08000000 not found.
> > [33679.544005] uvcvideo: uvc_v4l2_release
> > [33679.544091] uvcvideo: uvc_v4l2_open
> > [33679.544100] uvcvideo: uvc_v4l2_release
> > [33679.544214] uvcvideo: uvc_v4l2_open
> > [33679.557062] uvcvideo: uvc_v4l2_open
> > [33679.557076] uvcvideo: uvc_v4l2_release
> > [33679.557228] uvcvideo: uvc_v4l2_open
> > [33679.557239] uvcvideo: Control 0x00980900 not found.
> > [33679.557242] uvcvideo: Control 0x00980901 not found.
> > [33679.557246] uvcvideo: Control 0x00980902 not found.
> > [33679.557249] uvcvideo: Control 0x00980903 not found.
> > [33679.557252] uvcvideo: Control 0x00980904 not found.
> > [33679.557255] uvcvideo: Control 0x00980905 not found.
> > [33679.557258] uvcvideo: Control 0x00980906 not found.
> > [33679.557261] uvcvideo: Control 0x00980907 not found.
> > [33679.557263] uvcvideo: Control 0x00980908 not found.
> > [33679.557266] uvcvideo: Control 0x00980909 not found.
> > [33679.557269] uvcvideo: Control 0x0098090a not found.
> > [33679.557272] uvcvideo: Control 0x0098090b not found.
> > [33679.557275] uvcvideo: Control 0x0098090c not found.
> > [33679.557277] uvcvideo: Control 0x0098090d not found.
> > [33679.557280] uvcvideo: Control 0x0098090e not found.
> > [33679.557283] uvcvideo: Control 0x0098090f not found.
> > [33679.557285] uvcvideo: Control 0x00980910 not found.
> > [33679.557288] uvcvideo: Control 0x00980911 not found.
> > [33679.557291] uvcvideo: Control 0x00980912 not found.
> > [33679.557294] uvcvideo: Control 0x00980913 not found.
> > [33679.557297] uvcvideo: Control 0x00980914 not found.
> > [33679.557299] uvcvideo: Control 0x00980915 not found.
> > [33679.557302] uvcvideo: Control 0x00980916 not found.
> > [33679.557305] uvcvideo: Control 0x00980917 not found.
> > [33679.557308] uvcvideo: Control 0x00980918 not found.
> > [33679.557311] uvcvideo: Control 0x00980919 not found.
> > [33679.557313] uvcvideo: Control 0x0098091a not found.
> > [33679.557316] uvcvideo: Control 0x0098091b not found.
> > [33679.557318] uvcvideo: Control 0x0098091c not found.
> > [33679.557321] uvcvideo: Control 0x0098091d not found.
> > [33679.557324] uvcvideo: Control 0x0098091e not found.
> > [33679.557327] uvcvideo: Control 0x0098091f not found.
> > [33679.557331] uvcvideo: Control 0x00980920 not found.
> > [33679.557334] uvcvideo: Control 0x00980921 not found.
> > [33679.557337] uvcvideo: Control 0x00980922 not found.
> > [33679.557340] uvcvideo: Control 0x00980923 not found.
> > [33679.557343] uvcvideo: Control 0x00980924 not found.
> > [33679.557345] uvcvideo: Control 0x00980925 not found.
> > [33679.557348] uvcvideo: Control 0x00980926 not found.
> > [33679.557351] uvcvideo: Control 0x00980927 not found.
> > [33679.557353] uvcvideo: Control 0x00980928 not found.
> > [33679.557356] uvcvideo: Control 0x00980929 not found.
> > [33679.557359] uvcvideo: Control 0x0098092a not found.
> > [33679.557361] uvcvideo: Control 0x08000000 not found.
> > [33679.557364] uvcvideo: uvc_v4l2_release
> > [33679.557446] uvcvideo: uvc_v4l2_open
> > [33679.557463] uvcvideo: uvc_v4l2_release
> > [33679.557547] uvcvideo: uvc_v4l2_open
> > [33679.701284] uvcvideo: uvc_v4l2_release
> > [33679.701293] uvcvideo: uvc_v4l2_release
> > [33679.701305] uvcvideo: uvc_v4l2_open
> > [33679.701305] uvcvideo: uvc_v4l2_open
> > [33679.701310] uvcvideo: uvc_v4l2_release
> > [33679.701326] uvcvideo: uvc_v4l2_release
> > [33679.701332] uvcvideo: uvc_v4l2_open
> > [33679.701393] uvcvideo: uvc_v4l2_open
> > [33679.812706] uvcvideo: Resuming interface 0
> > [33679.812708] uvcvideo: Resuming interface 1
> > [33679.812745] uvcvideo: uvc_v4l2_release
> > [33679.812746] uvcvideo: uvc_v4l2_release
> > [33679.812746] uvcvideo: uvc_v4l2_release
> > [33679.812747] uvcvideo: uvc_v4l2_release
> > [33679.812871] uvcvideo: uvc_v4l2_open
> > [33679.812871] uvcvideo: uvc_v4l2_open
> > [33679.812872] uvcvideo: uvc_v4l2_open
> > [33679.812881] uvcvideo: uvc_v4l2_open
> > [33679.812944] uvcvideo: uvc_v4l2_release
> > [33679.812945] uvcvideo: uvc_v4l2_release
> > [33679.812945] uvcvideo: uvc_v4l2_release
> > [33679.812949] uvcvideo: uvc_v4l2_release
> > [33679.814214] uvcvideo: uvc_v4l2_open
> > [33679.814235] uvcvideo: uvc_v4l2_release
> > [33679.815265] uvcvideo: uvc_v4l2_open
> > [33679.815289] uvcvideo: uvc_v4l2_release
> > [33679.815774] uvcvideo: uvc_v4l2_open
> > [33679.815798] uvcvideo: uvc_v4l2_release
> > [33679.815888] uvcvideo: uvc_v4l2_open
> > [33679.815916] uvcvideo: uvc_v4l2_release
> > [33679.816772] uvcvideo: uvc_v4l2_open
> > [33679.816783] uvcvideo: uvc_v4l2_release
> > [33679.816994] uvcvideo: uvc_v4l2_open
> > [33679.817004] uvcvideo: uvc_v4l2_release
> > [33679.868762] uvcvideo: uvc_v4l2_open
> > [33679.868775] uvcvideo: uvc_v4l2_release
> > [33679.868875] uvcvideo: uvc_v4l2_open
> > [33679.868985] uvcvideo: uvc_v4l2_release
> > [33679.869075] uvcvideo: uvc_v4l2_open
> > [33679.869153] uvcvideo: uvc_v4l2_release
> > [33679.869244] uvcvideo: uvc_v4l2_open
> > [33679.869311] uvcvideo: uvc_v4l2_release
> > [33679.869394] uvcvideo: uvc_v4l2_open
> > [33679.869442] uvcvideo: uvc_v4l2_release
> > [33679.870128] uvcvideo: uvc_v4l2_open
> > [33679.870136] uvcvideo: uvc_v4l2_release
> > [33679.870237] uvcvideo: uvc_v4l2_open
> > [33679.870330] uvcvideo: uvc_v4l2_release
> > [33679.870431] uvcvideo: uvc_v4l2_open
> > [33679.870502] uvcvideo: uvc_v4l2_release
> 
> Userspace looks at the V4L2 devices (I assume this is an automated
> process under udev's control, possibly running /lib/udev/v4l_id).
> 
> > [33681.724746] IPv6: ADDRCONF(NETDEV_CHANGE): enp60s0u1u1u2: link
> > becomes ready
> > [33681.725242] r8152 4-1.1.2:1.0 enp60s0u1u1u2: carrier on
> > [33682.312529] uvcvideo: Suspending interface 1
> > [33682.312532] uvcvideo: Suspending interface 0
> > [33682.369227] uvcvideo: Suspending interface 3
> > [33682.369228] uvcvideo: Suspending interface 2
> > [33682.369229] uvcvideo: Suspending interface 1
> > [33682.369229] uvcvideo: Suspending interface 0
> 
> And there the kernel auto-suspends the camera, as it's not in use.
> 
> > [33684.020289] wlp61s0: deauthenticating from f0:b0:14:99:cd:fc by
> > local choice (Reason: 3=DEAUTH_LEAVING)
> > [33688.189318] usb 3-1.1.1: Failed to suspend device, error -110
> 
> However, something goes wrong.
> 
> > [33733.405785] uvcvideo: uvc_v4l2_open
> > [33733.405906] hub 3-1.1.1:1.0: hub_ext_port_status failed (err = -
> > 71)
> > [33733.406202] usb 3-1.1.1-port2: cannot disable (err = -71)
> > [33733.406391] usb 3-1.1.1-port2: device 3-1.1.1.2 not suspended
> > yet
> 
> And when opening the device, an error occurs.
> 
> I'm afraid I don't know why the device fails to suspend :-S As a
> quick
> hack, you could try commenting out the call to
> usb_enable_autosuspend()
> in uvc_probe(). If that fixes the issue then we know it's an
> auto-suspend problem, and I would then recommend CC'ing the linux-usb
> mailing list to get help with that. It may be that the camera is
> buggy
> and doesn't support auto-suspend (in which case we could add a quirk
> in
> the UVC driver - or possibly in the USB subsystem core - to
> selectively
> disable auto-suspend for that model), or there could be a bug
> somewhere
> in the kernel.
> 
> > [33739.747081] uvcvideo: uvc_v4l2_open
> 


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6807 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-01-20 12:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 13:24 Philips Monitor with webcam Gregor Hlawacek
2020-11-04 16:02 ` Mauro Carvalho Chehab
2020-11-04 16:25   ` Gregor Hlawacek
2020-11-04 16:45     ` Mauro Carvalho Chehab
     [not found]       ` <b8fcc03ed79873f9e55ab394b4b95140ab8b215b.camel@hzdr.de>
2020-11-04 20:01         ` Mauro Carvalho Chehab
     [not found]           ` <40a643d5fd9b6dd387d9cbde3e5ba1796b282f6a.camel@hzdr.de>
2020-11-04 21:11             ` Mauro Carvalho Chehab
2020-11-04 21:24               ` Laurent Pinchart
2020-11-05  7:41                 ` Gregor Hlawacek
2020-11-05  9:19                   ` Laurent Pinchart
2020-11-07 16:23                     ` Gregor Hlawacek
2020-11-16  6:43                       ` Gregor Hlawacek
2020-11-16  8:45                       ` Laurent Pinchart
2021-01-20 11:53                         ` Gregor Hlawacek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).