* Quanta Computer Inc. Astro HD Cam, not initializing
@ 2022-03-25 6:41 Massimo B.
2022-03-28 10:34 ` Laurent Pinchart
0 siblings, 1 reply; 7+ messages in thread
From: Massimo B. @ 2022-03-25 6:41 UTC (permalink / raw)
To: linux-media
Coming from
https://sourceforge.net/p/linux-uvc/mailman/message/37622481/
without getting any response...
I have a combined USB Camera with microphone:
Bus 003 Device 004: ID 0408:2090 Quanta Computer, Inc. Astro HD Camera
Some while ago I had the camera working, just needed to disable the microphone
because if issues with pulseaudio. Now with 5.15.23-gentoo, nothing works
anymore with that camera, no video and no audio input:
https://forums.gentoo.org/viewtopic-p-8693533.html
Is this the right place to discuss this hardware?
I'm testing with guvcview, and it does not start anymore:
Mar 02 10:41:49 [kernel] usb 3-12.2: USB disconnect, device number 12
Mar 02 10:41:57 [kernel] usb 3-12.2: new high-speed USB device number 14 using
xhci_hcd
Mar 02 10:41:57 [kernel] usb 3-12.2: New USB device found, idVendor=0408,
idProduct=2090, bcdDevice=21.17
Mar 02 10:41:57 [kernel] usb 3-12.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
Mar 02 10:41:57 [kernel] usb 3-12.2: Product: Astro HD Camera
Mar 02 10:41:57 [kernel] usb 3-12.2: Manufacturer: QCM
Mar 02 10:41:57 [kernel] usb 3-12.2: Found UVC 1.00 device Astro HD Camera
(0408:2090)
Mar 02 10:41:57 [kernel] usb 3-12.2: No streaming interface found for terminal
9.
Mar 02 10:41:57 [kernel] input: Astro HD Camera: Astro HD Camer as
/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.2/3-12.2:1.0/input/input22
Mar 02 10:42:02 [kernel] usb 3-12.2: 4:1: cannot set freq 48000 to ep 0x84
Mar 02 10:42:08 [kernel] usb 3-12.2: 10:3: cannot get min/max values for control
2 (id 10)
Mar 02 10:42:08 [mtp-probe] checking bus 3, device 14:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.2"_
Mar 02 10:42:08 [mtp-probe] bus: 3, device: 14 was not an MTP device_
Mar 02 10:42:08 [mtp-probe] checking bus 3, device 14:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.2"_
Mar 02 10:42:08 [mtp-probe] bus: 3, device: 14 was not an MTP device_
Mar 02 10:42:13 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on
unit 1: -110 (exp. 8).
Mar 02 10:42:18 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 2 on
unit 2: -110 (exp. 2).
Mar 02 10:42:23 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on
unit 1: -110 (exp. 8).
Mar 02 10:42:28 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 2 on
unit 2: -110 (exp. 2).
Mar 02 10:42:33 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 11 on
unit 1: -110 (exp. 2).
Mar 02 10:42:38 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on
unit 1: -110 (exp. 8).
- Last output repeated twice -
Mar 02 10:42:49 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 11 on
unit 1: -110 (exp. 2).
Mar 02 10:42:54 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on
unit 1: -110 (exp. 8).
- Last output repeated twice -
Mar 02 10:43:04 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 11 on
unit 1: -110 (exp. 2).
Booting the machine with the device connected I see many repeating lines like
this in the log until unplugging the device:
Mar 08 10:44:59 [kernel] usb 3-12.2: 4:1: usb_set_interface failed (-71)
Mar 08 10:44:59 [kernel] usb 3-12.2: 4:0: usb_set_interface failed (-71)
- Last output repeated twice -
Mar 08 10:44:59 [kernel] usb 3-12.2: 4:1: usb_set_interface failed (-71)
Mar 08 10:44:59 [kernel] usb 3-12.2: 4:0: usb_set_interface failed (-71)
Best regards,
Massimo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Quanta Computer Inc. Astro HD Cam, not initializing
2022-03-25 6:41 Quanta Computer Inc. Astro HD Cam, not initializing Massimo B.
@ 2022-03-28 10:34 ` Laurent Pinchart
2022-04-05 10:40 ` Massimo B.
0 siblings, 1 reply; 7+ messages in thread
From: Laurent Pinchart @ 2022-03-28 10:34 UTC (permalink / raw)
To: Massimo B.; +Cc: linux-media
Hi Massimo,
On Fri, Mar 25, 2022 at 07:41:55AM +0100, Massimo B. wrote:
> Coming from
> https://sourceforge.net/p/linux-uvc/mailman/message/37622481/
> without getting any response...
>
> I have a combined USB Camera with microphone:
> Bus 003 Device 004: ID 0408:2090 Quanta Computer, Inc. Astro HD Camera
>
> Some while ago I had the camera working, just needed to disable the microphone
> because if issues with pulseaudio. Now with 5.15.23-gentoo, nothing works
> anymore with that camera, no video and no audio input:
>
> https://forums.gentoo.org/viewtopic-p-8693533.html
>
> Is this the right place to discuss this hardware?
Yes, this is the right place.
Could you send the output of `lsusb -v -d 0408:2090` (if possible
running as root) ?
> I'm testing with guvcview, and it does not start anymore:
>
> Mar 02 10:41:49 [kernel] usb 3-12.2: USB disconnect, device number 12
> Mar 02 10:41:57 [kernel] usb 3-12.2: new high-speed USB device number 14 using xhci_hcd
> Mar 02 10:41:57 [kernel] usb 3-12.2: New USB device found, idVendor=0408, idProduct=2090, bcdDevice=21.17
> Mar 02 10:41:57 [kernel] usb 3-12.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> Mar 02 10:41:57 [kernel] usb 3-12.2: Product: Astro HD Camera
> Mar 02 10:41:57 [kernel] usb 3-12.2: Manufacturer: QCM
> Mar 02 10:41:57 [kernel] usb 3-12.2: Found UVC 1.00 device Astro HD Camera (0408:2090)
> Mar 02 10:41:57 [kernel] usb 3-12.2: No streaming interface found for terminal 9.
> Mar 02 10:41:57 [kernel] input: Astro HD Camera: Astro HD Camer as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.2/3-12.2:1.0/input/input22
> Mar 02 10:42:02 [kernel] usb 3-12.2: 4:1: cannot set freq 48000 to ep 0x84
> Mar 02 10:42:08 [kernel] usb 3-12.2: 10:3: cannot get min/max values for control 2 (id 10)
The audio interface causes issues, it seems it crashed the webcam
firmware. Could you try blacklisting the snd-usb-audio module and see if
video then works ?
> Mar 02 10:42:08 [mtp-probe] checking bus 3, device 14: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.2"_
> Mar 02 10:42:08 [mtp-probe] bus: 3, device: 14 was not an MTP device_
> Mar 02 10:42:08 [mtp-probe] checking bus 3, device 14: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.2"_
> Mar 02 10:42:08 [mtp-probe] bus: 3, device: 14 was not an MTP device_
> Mar 02 10:42:13 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on unit 1: -110 (exp. 8).
> Mar 02 10:42:18 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
> Mar 02 10:42:23 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on unit 1: -110 (exp. 8).
> Mar 02 10:42:28 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
> Mar 02 10:42:33 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 11 on unit 1: -110 (exp. 2).
> Mar 02 10:42:38 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on unit 1: -110 (exp. 8).
> - Last output repeated twice -
> Mar 02 10:42:49 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 11 on unit 1: -110 (exp. 2).
> Mar 02 10:42:54 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 13 on unit 1: -110 (exp. 8).
> - Last output repeated twice -
> Mar 02 10:43:04 [kernel] usb 3-12.2: Failed to query (GET_DEF) UVC control 11 on unit 1: -110 (exp. 2).
>
> Booting the machine with the device connected I see many repeating lines like
> this in the log until unplugging the device:
>
> Mar 08 10:44:59 [kernel] usb 3-12.2: 4:1: usb_set_interface failed (-71)
> Mar 08 10:44:59 [kernel] usb 3-12.2: 4:0: usb_set_interface failed (-71)
> - Last output repeated twice -
> Mar 08 10:44:59 [kernel] usb 3-12.2: 4:1: usb_set_interface failed (-71)
> Mar 08 10:44:59 [kernel] usb 3-12.2: 4:0: usb_set_interface failed (-71)
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Quanta Computer Inc. Astro HD Cam, not initializing
2022-03-28 10:34 ` Laurent Pinchart
@ 2022-04-05 10:40 ` Massimo B.
2022-04-05 13:59 ` Laurent Pinchart
0 siblings, 1 reply; 7+ messages in thread
From: Massimo B. @ 2022-04-05 10:40 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-media
On Mon, 2022-03-28 at 13:34 +0300, Laurent Pinchart wrote:
> Could you send the output of `lsusb -v -d 0408:2090` (if possible
> running as root) ?
Bus 003 Device 078: ID 0408:2090 Quanta Computer, Inc. Astro HD Camera
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0408 Quanta Computer, Inc.
idProduct 0x2090
bcdDevice 21.17
iManufacturer 1 QCM
iProduct 2 Astro HD Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0437
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 2 (error)
bmAttributes 0x80
(Bus Powered)
MaxPower 250mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 3
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 2 (error)
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 2 (error)
VideoControl Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 0x0057
dwClockFrequency 150.000000MHz
bInCollection 2
baInterfaceNr( 0) 1
baInterfaceNr( 1) 2
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 0x00020a2e
Auto-Exposure Mode
Auto-Exposure Priority
Exposure Time (Absolute)
Focus (Absolute)
Zoom (Absolute)
PanTilt (Absolute)
Focus, Auto
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000157f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x1a
NTSC - 525/60
SECAM - 625/50
NTSC - 625/50
VideoControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 3
guidExtensionCode {5d9e1728-ab8d-4fa9-9acb-f6d56dbc05a6}
bNumControls 8
bNrInPins 1
baSourceID( 0) 2
bControlSize 1
bmControls( 0) 0xff
iExtension 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 8
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 3
iTerminal 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 9
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 3
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 6
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 15
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 2
wTotalLength 0x02ae
bEndpointAddress 0x82 EP 2 IN
bmInfo 0
bTerminalLink 8
bStillCaptureMethod 2
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
bmaControls( 1) 0
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 6
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 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 24576000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 384
wHeight 216
dwMinBitRate 6635520
dwMaxBitRate 39813120
dwMaxVideoFrameBufferSize 165888
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 6144000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 1536000
dwMaxBitRate 9216000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 162201600
dwMaxBitRate 162201600
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 909090
bFrameIntervalType 1
dwFrameInterval( 0) 909090
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 1920
wHeight 1080
dwMinBitRate 132710400
dwMaxBitRate 132710400
dwMaxVideoFrameBufferSize 4147200
dwDefaultFrameInterval 2500000
bFrameIntervalType 1
dwFrameInterval( 0) 2500000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0x00 EP 0 OUT
bNumImageSizePatterns 6
wWidth( 0) 640
wHeight( 0) 480
wWidth( 1) 384
wHeight( 1) 216
wWidth( 2) 320
wHeight( 2) 240
wWidth( 3) 160
wHeight( 3) 120
wWidth( 4) 1280
wHeight( 4) 720
wWidth( 5) 1920
wHeight( 5) 1080
bNumCompressionPatterns 0
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 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 2
bNumFrameDescriptors 6
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 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 2457600
dwMaxBitRate 73728000
dwMaxVideoFrameBufferSize 307200
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 384
wHeight 216
dwMinBitRate 663552
dwMaxBitRate 19906560
dwMaxVideoFrameBufferSize 82944
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 614400
dwMaxBitRate 18432000
dwMaxVideoFrameBufferSize 76800
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 153600
dwMaxBitRate 4608000
dwMaxVideoFrameBufferSize 19200
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 7372800
dwMaxBitRate 221184000
dwMaxVideoFrameBufferSize 921600
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 1920
wHeight 1080
dwMinBitRate 16588800
dwMaxBitRate 248832000
dwMaxVideoFrameBufferSize 2073600
dwDefaultFrameInterval 666666
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 31
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0x00 EP 0 OUT
bNumImageSizePatterns 6
wWidth( 0) 640
wHeight( 0) 480
wWidth( 1) 384
wHeight( 1) 216
wWidth( 2) 320
wHeight( 2) 240
wWidth( 3) 160
wHeight( 3) 120
wWidth( 4) 1280
wHeight( 4) 720
wWidth( 5) 1920
wHeight( 5) 1080
bNumCompressionPatterns 1
bCompression( 0) 0
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 0
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 0x1400 3x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
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 0x12f8 3x 760 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
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 0x0400 1x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
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 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x0015
bEndpointAddress 0x83 EP 3 IN
bmInfo 0
bTerminalLink 9
bStillCaptureMethod 1
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 10 (FORMAT_MPEG2TS)
bFormatIndex 1
bDataOffset 0
bPacketLength 188
bStrideLength 188
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0318 1x 792 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 3
bInterfaceCount 2
bFunctionClass 1 Audio
bFunctionSubClass 1 Control Device
bFunctionProtocol 0
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0028
bInCollection 1
baInterfaceNr(0) 4
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 11
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 10
bSourceID 11
bControlSize 1
bmaControls(0) 0x03
Mute Control
Volume Control
bmaControls(1) 0x00
bmaControls(2) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 12
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 10
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 12
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 35
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 9 Discrete
tSamFreq[ 0] 8000
tSamFreq[ 1] 11025
tSamFreq[ 2] 12000
tSamFreq[ 3] 16000
tSamFreq[ 4] 22050
tSamFreq[ 5] 24000
tSamFreq[ 6] 32000
tSamFreq[ 7] 44100
tSamFreq[ 8] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x00c8 1x 200 bytes
bInterval 4
bRefresh 0
bSynchAddress 0
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0x0000
Device Status: 0x0000
(Bus Powered)
> The audio interface causes issues, it seems it crashed the webcam
> firmware. Could you try blacklisting the snd-usb-audio module and see if
> video then works ?
Yes, that makes the video part work again.
However it is not sufficient anymore to just disable the audio via udev rule:
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0408", ATTRS{idProduct}=="2090", ATTR{bInterfaceClass}=="01", ATTR{authorized}="0"
Some while ago this was working to have the video part usable.
Blacklisting snd_usb_audio works, but I need that module to have at least
another usb microphone doing the audio part.
Best regards,
Massimo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Quanta Computer Inc. Astro HD Cam, not initializing
2022-04-05 10:40 ` Massimo B.
@ 2022-04-05 13:59 ` Laurent Pinchart
2022-08-23 6:47 ` Massimo B.
0 siblings, 1 reply; 7+ messages in thread
From: Laurent Pinchart @ 2022-04-05 13:59 UTC (permalink / raw)
To: Massimo B.; +Cc: linux-media
On Tue, Apr 05, 2022 at 12:40:21PM +0200, Massimo B. wrote:
> On Mon, 2022-03-28 at 13:34 +0300, Laurent Pinchart wrote:
>
> > Could you send the output of `lsusb -v -d 0408:2090` (if possible
> > running as root) ?
[snip]
> > The audio interface causes issues, it seems it crashed the webcam
> > firmware. Could you try blacklisting the snd-usb-audio module and see if
> > video then works ?
>
> Yes, that makes the video part work again.
So this confirms it's a USB audio issue. It may be possible to work
around it in the snd-usb-audio driver, but that's beyond my area of
expertise. You may want to contact the alsa-devel mailing list.
> However it is not sufficient anymore to just disable the audio via udev rule:
>
> ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0408", ATTRS{idProduct}=="2090", ATTR{bInterfaceClass}=="01", ATTR{authorized}="0"
>
> Some while ago this was working to have the video part usable.
I'd be surprised if it wasn't possible to achieve a similar result with
a recent version of udev, but the way to do so may have changed. I
haven't tried it personally, so maybe contacting the udev developers for
support could help ?
> Blacklisting snd_usb_audio works, but I need that module to have at least
> another usb microphone doing the audio part.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Quanta Computer Inc. Astro HD Cam, not initializing
2022-04-05 13:59 ` Laurent Pinchart
@ 2022-08-23 6:47 ` Massimo B.
2022-08-23 7:38 ` Laurent Pinchart
0 siblings, 1 reply; 7+ messages in thread
From: Massimo B. @ 2022-08-23 6:47 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-media
On Tue, 2022-04-05 at 16:59 +0300, Laurent Pinchart wrote:
> > > The audio interface causes issues, it seems it crashed the webcam
> > > firmware. Could you try blacklisting the snd-usb-audio module and see if
> > > video then works ?
> > Yes, that makes the video part work again.
> So this confirms it's a USB audio issue. It may be possible to work
> around it in the snd-usb-audio driver, but that's beyond my area of
> expertise. You may want to contact the alsa-devel mailing list.
Currently I have again the situation that nothing works. Audio is blacklisted:
# cat /etc/udev/rules.d/50-camera.rules
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0408", ATTRS{idProduct}=="2090", ATTR{bInterfaceClass}=="01", ATTR{authorized}="0"
Re-plugging doesn't make it work again.
From syslog:
Aug 22 10:28:46 [kernel] usb 3-11.2: new high-speed USB device number 21 using xhci_hcd
Aug 22 10:28:46 [kernel] usb 3-11.2: New USB device found, idVendor=0408, idProduct=2090, bcdDevice=21.17
Aug 22 10:28:46 [kernel] usb 3-11.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 22 10:28:46 [kernel] usb 3-11.2: Product: Astro HD Camera
Aug 22 10:28:46 [kernel] usb 3-11.2: Manufacturer: QCM
Aug 22 10:28:46 [kernel] usb 3-11.2: Found UVC 1.00 device Astro HD Camera (0408:2090)
Aug 22 10:28:46 [kernel] usb 3-11.2: No streaming interface found for terminal 9.
Aug 22 10:28:46 [kernel] input: Astro HD Camera: Astro HD Camer as /devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2/3-11.2:1.0/input/input41
Aug 22 10:28:51 [kernel] usb 3-11.2: 4:1: cannot set freq 48000 to ep 0x84
Aug 22 10:28:56 [kernel] usb 3-11.2: 10:3: cannot get min/max values for control 2 (id 10)
Aug 22 10:28:56 [mtp-probe] checking bus 3, device 21: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2"_
Aug 22 10:28:56 [mtp-probe] bus: 3, device: 21 was not an MTP device_
Aug 22 10:28:56 [laptop-mode] Laptop Mode Tools disabled in config file\n
- Last output repeated 5 times -
Aug 22 10:28:56 [mtp-probe] checking bus 3, device 21: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2"_
Aug 22 10:28:56 [mtp-probe] bus: 3, device: 21 was not an MTP device_
Aug 22 10:29:02 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 13 on unit 1: -110 (exp. 8).
- Last output repeated twice -
Aug 22 10:29:12 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
Aug 22 10:29:17 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 11 on unit 1: -110 (exp. 2).
Aug 22 10:29:22 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
Best regards,
Massimo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Quanta Computer Inc. Astro HD Cam, not initializing
2022-08-23 6:47 ` Massimo B.
@ 2022-08-23 7:38 ` Laurent Pinchart
2022-08-25 14:12 ` Massimo B.
0 siblings, 1 reply; 7+ messages in thread
From: Laurent Pinchart @ 2022-08-23 7:38 UTC (permalink / raw)
To: Massimo B.; +Cc: linux-media
Hi Massimo,
On Tue, Aug 23, 2022 at 08:47:14AM +0200, Massimo B. wrote:
> On Tue, 2022-04-05 at 16:59 +0300, Laurent Pinchart wrote:
>
> > > > The audio interface causes issues, it seems it crashed the webcam
> > > > firmware. Could you try blacklisting the snd-usb-audio module and see if
> > > > video then works ?
>
> > > Yes, that makes the video part work again.
>
> > So this confirms it's a USB audio issue. It may be possible to work
> > around it in the snd-usb-audio driver, but that's beyond my area of
> > expertise. You may want to contact the alsa-devel mailing list.
>
> Currently I have again the situation that nothing works. Audio is blacklisted:
>
> # cat /etc/udev/rules.d/50-camera.rules
> ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0408", ATTRS{idProduct}=="2090", ATTR{bInterfaceClass}=="01", ATTR{authorized}="0"
>
> Re-plugging doesn't make it work again.
>
> From syslog:
> Aug 22 10:28:46 [kernel] usb 3-11.2: new high-speed USB device number 21 using xhci_hcd
> Aug 22 10:28:46 [kernel] usb 3-11.2: New USB device found, idVendor=0408, idProduct=2090, bcdDevice=21.17
> Aug 22 10:28:46 [kernel] usb 3-11.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> Aug 22 10:28:46 [kernel] usb 3-11.2: Product: Astro HD Camera
> Aug 22 10:28:46 [kernel] usb 3-11.2: Manufacturer: QCM
> Aug 22 10:28:46 [kernel] usb 3-11.2: Found UVC 1.00 device Astro HD Camera (0408:2090)
> Aug 22 10:28:46 [kernel] usb 3-11.2: No streaming interface found for terminal 9.
> Aug 22 10:28:46 [kernel] input: Astro HD Camera: Astro HD Camer as /devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2/3-11.2:1.0/input/input41
> Aug 22 10:28:51 [kernel] usb 3-11.2: 4:1: cannot set freq 48000 to ep 0x84
> Aug 22 10:28:56 [kernel] usb 3-11.2: 10:3: cannot get min/max values for control 2 (id 10)
These messages come from the snd-usb-audio module as far as I can tell.
> Aug 22 10:28:56 [mtp-probe] checking bus 3, device 21: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2"_
> Aug 22 10:28:56 [mtp-probe] bus: 3, device: 21 was not an MTP device_
> Aug 22 10:28:56 [laptop-mode] Laptop Mode Tools disabled in config file\n
> - Last output repeated 5 times -
> Aug 22 10:28:56 [mtp-probe] checking bus 3, device 21: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2"_
> Aug 22 10:28:56 [mtp-probe] bus: 3, device: 21 was not an MTP device_
> Aug 22 10:29:02 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 13 on unit 1: -110 (exp. 8).
> - Last output repeated twice -
> Aug 22 10:29:12 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
> Aug 22 10:29:17 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 11 on unit 1: -110 (exp. 2).
> Aug 22 10:29:22 [kernel] usb 3-11.2: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Quanta Computer Inc. Astro HD Cam, not initializing
2022-08-23 7:38 ` Laurent Pinchart
@ 2022-08-25 14:12 ` Massimo B.
0 siblings, 0 replies; 7+ messages in thread
From: Massimo B. @ 2022-08-25 14:12 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-media
On Tue, 2022-08-23 at 10:38 +0300, Laurent Pinchart wrote:
> > # cat /etc/udev/rules.d/50-camera.rules
> > ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0408", ATTRS{idProduct}=="2090", ATTR{bInterfaceClass}=="01", ATTR{authorized}="0"
> > From syslog:
> > Aug 22 10:28:46 [kernel] usb 3-11.2: new high-speed USB device number 21 using xhci_hcd
> > Aug 22 10:28:46 [kernel] usb 3-11.2: New USB device found, idVendor=0408, idProduct=2090, bcdDevice=21.17
> > Aug 22 10:28:46 [kernel] usb 3-11.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > Aug 22 10:28:46 [kernel] usb 3-11.2: Product: Astro HD Camera
> > Aug 22 10:28:46 [kernel] usb 3-11.2: Manufacturer: QCM
> > Aug 22 10:28:46 [kernel] usb 3-11.2: Found UVC 1.00 device Astro HD Camera (0408:2090)
> > Aug 22 10:28:46 [kernel] usb 3-11.2: No streaming interface found for terminal 9.
> > Aug 22 10:28:46 [kernel] input: Astro HD Camera: Astro HD Camer as /devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11.2/3-11.2:1.0/input/input41
> > Aug 22 10:28:51 [kernel] usb 3-11.2: 4:1: cannot set freq 48000 to ep 0x84
> > Aug 22 10:28:56 [kernel] usb 3-11.2: 10:3: cannot get min/max values for control 2 (id 10)
> These messages come from the snd-usb-audio module as far as I can tell.
Ok, let's ignore the audio part of that device and get the camera part working.
Why has that udev rule stopped working and does not disable the audio anymore?
Getting audio working would be another issue after solving the video part.
Best regards,
Massimo
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-08-25 14:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 6:41 Quanta Computer Inc. Astro HD Cam, not initializing Massimo B.
2022-03-28 10:34 ` Laurent Pinchart
2022-04-05 10:40 ` Massimo B.
2022-04-05 13:59 ` Laurent Pinchart
2022-08-23 6:47 ` Massimo B.
2022-08-23 7:38 ` Laurent Pinchart
2022-08-25 14:12 ` Massimo B.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.