By Date: <-- -->
By Thread: <-- -->

Hauppauge WinTV USB 2 -- PAL version not supported by em28xx



Hallo,

I've bought a Hauppauge WinTV USB2 here in Germany. The card I got is
different from the supported card with the same name. So I gathered
information about my card and tried to add the card to em28xx-cards.c
and em28xx.h, which didn't quite work.

The information about the card is attached (I can also send pictures and
.inf-files on request).

I got v4l-dvb via mercurial and added the card using this entry:

	[EM2820_BOARD_HAUPPAUGE_WINTV_USB_2_PALBG] = {
		.name         = "Hauppauge WinTV USB 2 (PAL B/G)",
		.is_em2800    = 0,
		.vchannels    = 2,
		.norm         = VIDEO_MODE_PAL,
        .tuner_type   = TUNER_TCL_2002MB,
		.tda9887_conf = TDA9887_PRESENT,
		.has_tuner    = 1,
		.decoder      = EM28XX_SAA7113,
		.input           = {{
			.type     = EM28XX_VMUX_TELEVISION,
			.vmux     = SAA7115_COMPOSITE0,
			.amux     = 0,
		},{
			.type     = EM28XX_VMUX_SVIDEO,
			.vmux     = SAA7115_SVIDEO3,
			.amux     = 1,
		}},
	},

I guessed most of the values. Is there a way to find out what all these
fields should be without trying every possible combination?

With this, the device is found by the driver (see dmesg attachment) but
does not work properly.

MPlayer crashes when testing

    mplayer tv://1 -tv driver=v4l2:device=/dev/vbi0

and prints these errors

    v4l2: ioctl query control failed: Invalid argument

and xawtv hangs and prints this when i push ^C

    ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Interrupted system call

So... what can I do to find out what the problem is and what values to
put in em28xx-cards.c so I can get this card supported?

 -- Jonathan Kleinehellefort
usb 4-4: new high speed USB device using ehci_hcd and address 21
usb 4-4: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
em28xx v4l2 driver version 0.0.1 loaded
em28xx new video device (2040:4201): interface 0, class 255
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 1024
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
em28xx #0 em28xx_init_dev :tvnorm=PAL
em28xx #0: AC97 command still being executed: not handled properly!
tuner 0-0063: Setting mode_mask to 0x0e
tuner 0-0063: chip found  (at)  0xc6 (em28xx #0)
tuner 0-0063: Calling set_type_addr for type=55, addr=0x63, mode=0x06, config=0xa8f204
tuner 0-0063: set addr for type -1
tuner 0-0063: tuner 0x63: called during i2c_client register by adapter's attach_inform
tuner 0-0063: type set to 55 (TCL 2002MB)
tuner 0-0063: em28xx #0 tuner I2C addr 0xc6 with type 55 used for 0x0e
em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 01 42 20 00 45 03 82 18 6a 18
em28xx #0: i2c eeprom 10: 00 00 24 57 6e 02 00 00 60 00 00 00 02 00 00 00
em28xx #0: i2c eeprom 20: 1e 00 10 10 00 00 00 88 b8 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 10 01 01 01 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 30 00 30 00
em28xx #0: i2c eeprom 70: 30 00 38 00 37 00 30 00 30 00 39 00 31 00 34 00
em28xx #0: i2c eeprom 80: 00 00 18 03 57 00 69 00 6e 00 54 00 56 00 20 00
em28xx #0: i2c eeprom 90: 55 00 53 00 42 00 32 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f 44 61 23 1e a4 57 16 91
em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 f2 c3
em28xx #0: i2c eeprom c0: 84 00 74 02 01 06 03 79 58 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f 44 61 23 1e a4 57 16 91
em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 f2 c3
em28xx #0: i2c eeprom f0: 84 00 74 02 01 06 03 79 58 00 00 00 00 00 00 00
EEPROM ID= 0x9567eb1a
Vendor/Product ID= 2040:4201
I2S audio, sample rate=32k
500mA max power
Table at 0x24, strings=0x1882, 0x186a, 0x0000
tuner 0-0063: Cmd VIDIOC_S_FREQUENCY accepted for analog TV
tuner 0-0063: switching to v4l2
tuner 0-0063: tv freq set to 567.25
tuner 0-0063: tv: param 0, range 2
tuner 0-0063: Freq= 567.25 MHz, V_IF=38.93 MHz, Offset=0.00 MHz, div=9699
tuner 0-0063: tv 0x25 0xe3 0xce 0x08
em28xx #0: AC97 command still being executed: not handled properly!
registered VBI
em28xx #0 video_mux :Setting input index=0, vmux=0, amux=0
em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
em28xx #0: Found Hauppauge WinTV USB 2 (PAL B/G)
em28xx audio device (2040:4201): interface 1, class 1
em28xx audio device (2040:4201): interface 2, class 1
usbcore: registered new driver em28xx
em28xx #0 em28xx_v4l2_open :open minor=224 type=vbi-cap users=0
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: 720x576
tuner 0-0063: Cmd VIDIOC_G_TUNER accepted for analog TV
em28xx #0 em28xx_do_ioctl :VIDIO_G_TUNER: signal=0, afc=0
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: 720x576
em28xx #0 em28xx_set_fmt :VIDIOC_S_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_set_fmt :VIDIOC_S_FMT: requested 640x480
em28xx #0 em28xx_set_fmt :VIDIOC_S_FMT: returned 640x480 (512, 819)
em28xx #0 em28xx_set_alternate :setting alternate 7 with wMaxPacketSize=3072
em28xx #0 em28xx_accumulator_set :em28xx Scale: (1,1)-(179,71)
em28xx #0 em28xx_capture_area_set :em28xx Area Set: (180,72)
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: 640x480
em28xx #0 em28xx_set_fmt :VIDIOC_S_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_set_fmt :VIDIOC_S_FMT: requested 640x480
em28xx #0 em28xx_set_fmt :VIDIOC_S_FMT: returned 640x480 (512, 819)
em28xx #0 em28xx_accumulator_set :em28xx Scale: (1,1)-(179,71)
em28xx #0 em28xx_capture_area_set :em28xx Area Set: (180,72)
em28xx #0 video_mux :Setting input index=0, vmux=0, amux=0
em28xx #0 em28xx_accumulator_set :em28xx Scale: (1,1)-(179,71)
em28xx #0 em28xx_capture_area_set :em28xx Area Set: (180,72)
tuner 0-0063: tv freq set to 567.25
tuner 0-0063: tv: param 0, range 2
tuner 0-0063: Freq= 567.25 MHz, V_IF=38.93 MHz, Offset=0.00 MHz, div=9699
tuner 0-0063: tv 0x25 0xe3 0xce 0x08
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: 640x480
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: 640x480
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: type=V4L2_BUF_TYPE_VIDEO_CAPTURE
em28xx #0 em28xx_get_fmt :VIDIOC_G_FMT: 640x480
em28xx #0 em28xx_request_buffers :requested 2 buffers with size 614400<6>em28xx #0 em28xx_video_do_ioctl :VIDIOC_REQBUFS: setting io method to mmap: num bufs 2
em28xx #0: AC97 command still being executed: not handled properly!
em28xx #0 em28xx_do_ioctl :VIDIOC_STREAMON: starting stream
em28xx #0 em28xx_v4l2_close :users=1
em28xx #0 em28xx_v4l2_close :setting alternate 0
NAME

Sold in Germany as:

    Hauppauge WinTV USB2

The Backside reads:

    PAL-B/G
    Model 42014 Rev D197 Lot # 4405

The USB Device ID is:

    2040:4201

CONNECTIVITY

    coaxial tv input
    s-video in
    3.5 mm jack-plug stereo audio in/out
    usb
    infrared

TUNER

A sticker on the tuner reads:

    TCL2002MB-3H
    TCL050528 0 4

Chip inside tuner reads:

    TDA9801T
    VC8H20
    Dn6044501

CHIPS

A big chip on the front reads (video processor):

    EMPIA
    EM2840
    D20GH-014
    200541-02AG

    (video processor)

Biggest chip on the backside (sound chip):

    MICRONAS
    MSP 3415G 68 V3 -- 68 could be wrong, chip hard to read
    4532'Q1 42 F -- 'Q1 could be wrong
    200103.009 -- 010 could be wrong

Other smaller chips (not sure whether these are of any importance at all):

    CRBOP110 -- maybe CR80P110
    N2OSS/A -- or H2OSS/A, M2OSS/A
    2057022-4016

    5150AM1
    45T
    CR49

    ATMEL514
    24CO2N
    .SU2   D

Also two chips of this kind (only 16 pins):

    74HC4052D
    AF254 09
    Un0342D
Bus 004 Device 014: ID 2040:4201 Hauppauge 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x2040 Hauppauge
  idProduct          0x4201 
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                1 WinTV USB2
  iSerial                 2 0008700914
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          349
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0ad4  2x 724 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0c00  2x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       4
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1300  3x 768 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       5
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x135c  3x 860 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       6
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x13c4  3x 964 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       7
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      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           39
        bInCollection           1
        baInterfaceNr( 0)       2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0603 Line Connector
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x03
          Mute
          Volume
        bmaControls( 1)      0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      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           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        32000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0014  1x 20 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list