User:Flacs: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(add USB descriptor of Headbanger Chat Headset)
Line 310: Line 310:
{{#dpl:titlematch=______|namespace=|redirects=only|mode=inline|inlinetext=<nowiki> </nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID|ordermethod=titlewithoutnamespace|offset=7500}}
{{#dpl:titlematch=______|namespace=|redirects=only|mode=inline|inlinetext=<nowiki> </nowiki>|notcategory=Not GameID|notcategory=Unofficial GameID|ordermethod=titlewithoutnamespace|offset=7500}}
-->
-->
= USB Descriptors =
== Headbanger Chat Headset ==
<div class="mw-collapsible mw-collapsed">
<pre>
Bus XXX Device YYY: ID 0e6f:010b Logic3 Headset for Wii
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.00
  bDeviceClass            0
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        8
  idVendor          0x0e6f Logic3
  idProduct          0x010b
  bcdDevice            1.00
  iManufacturer          1 Performance Designed Products 
  iProduct                2 Headset for Wii
  iSerial                0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength      0x0150
    bNumInterfaces          3
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          0
      bInterfaceClass        1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC              1.00
        wTotalLength      0x0075
        bInCollection          2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels            1
        wChannelConfig    0x0001
          Left Front (L)
        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 Control
          Volume Control
        bmaControls(1)      0x00
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels            2
        wChannelConfig    0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames          0
        iTerminal              0
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                4
        bNrInPins              2
        baSourceID(0)          3
        baSourceID(1)          2
        bNrChannels            2
        wChannelConfig    0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames          0
        bmControls(0)        0x00
        iMixer                  0
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                5
        bSourceID              4
        bControlSize            1
        bmaControls(0)      0x01
          Mute Control
        bmaControls(1)      0x02
          Volume Control
        bmaControls(2)      0x02
          Volume Control
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            6
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID              5
        iTerminal              0
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            7
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels            1
        wChannelConfig    0x0001
          Left Front (L)
        iChannelNames          0
        iTerminal              0
      AudioControl Interface Descriptor:
        bLength                9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                8
        bSourceID              7
        bControlSize            1
        bmaControls(0)      0x03
          Mute Control
          Volume Control
        bmaControls(1)      0x00
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                10
        bNrInPins              1
        baSourceID(0)          8
        bNrChannels            1
        wChannelConfig    0x0001
          Left Front (L)
        iChannelNames          0
        bmControls(0)        0x00
        iMixer                  0
      AudioControl Interface Descriptor:
        bLength                9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            11
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID              10
        iTerminal              0
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      0
      bNumEndpoints          0
      bInterfaceClass        1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      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        0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType            1 (FORMAT_TYPE_I)
        bNrChannels            2
        bSubframeSize          2
        bBitResolution        16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]        8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        32000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                9
        bDescriptorType        5
        bEndpointAddress    0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type              Adaptive
          Usage Type              Data
        wMaxPacketSize    0x00c0  1x 192 bytes
        bInterval              1
        bRefresh                0
        bSynchAddress          0
        AudioStreaming Endpoint Descriptor:
          bLength                7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes        0x01
            Sampling Frequency
          bLockDelayUnits        0 Undefined
          wLockDelay        0x0000
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      2
      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        0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType            1 (FORMAT_TYPE_I)
        bNrChannels            1
        bSubframeSize          2
        bBitResolution        16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]        8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        32000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                9
        bDescriptorType        5
        bEndpointAddress    0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type              Adaptive
          Usage Type              Data
        wMaxPacketSize    0x0060  1x 96 bytes
        bInterval              1
        bRefresh                0
        bSynchAddress          0
        AudioStreaming Endpoint Descriptor:
          bLength                7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes        0x01
            Sampling Frequency
          bLockDelayUnits        0 Undefined
          wLockDelay        0x0000
    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          11
        bDelay                  1 frames
        wFormatTag        0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType            1 (FORMAT_TYPE_I)
        bNrChannels            1
        bSubframeSize          2
        bBitResolution        16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]        8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        32000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                9
        bDescriptorType        5
        bEndpointAddress    0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type              Asynchronous
          Usage Type              Data
        wMaxPacketSize    0x0062  1x 98 bytes
        bInterval              1
        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)
</pre>
</div>

Revision as of 20:39, 26 January 2023

flacs on IRC

Specialty Controllers

  • Cyberbike, there are multiple versions:
    • The original Wii version connects to a GameCube port: https://webimg.secondhandapp.at/w-i-mgl/5cefc18ea9de0469ff7ef759 It has a GC<>CB switch.
      • BigBen later released a dedicated GameCube-to-Bluetooth adapter to make wired Cyberbikes compatible with Wii Family Edition consoles that don't have GameCube ports. The USB cable is only used for power. The adapter does not have an FCC mark, so it was likely not sold in the US. It has a CB<>MK switch. On the CB setting it shows up on Bluetooth as a Nintendo RVL-CNT-01. Haven't yet figured out how the MK setting works.
    • There is a wired Magnetic Edition. The box advertises Mario Kart compatibility.
    • A later wireless version connects via Bluetooth without a separate adapter: https://fccid.io/AVJ-4269/User-Manual/USER-MANUAL-1968744 Not sure this was actually ever sold anywhere.
    • There's also a SmartTV Edition compatible with Samsung TVs.
  • Shinkansen controller is a Wii Remote extension: https://m.media-amazon.com/images/I/811ybrxfy3L._SL1500_.jpg
  • Dragon Quest Monster Battle Road Victory Controller, another Wii Remote extension, interesting info: https://twitter.com/DauntingMtn/status/1361794249851875331

Games with ELF linking against Debug SDK

GameCube
Interactive Multi Game Demo Disc v13 D85P01 GCNDefaultD.elf
Army Men: Air Combat - The Elite Missions GACE5H ArmymenGCDbg.elf
FIFA Soccer 2004 GXFE69 FIFA_d.elf
Wii
Go Play Circus Star R3JE5G CircusD.elf
Tokyo Friend Park II Ketteiban: Minna de Chousen! Taikan Attraction R89JEL bin/RVL/Debug/mainD.elf
Brothers In Arms: Earned In Blood RB5E41 BiA_GCN.elf
The Bigs RBGE54 bball_wiid.elf
Deadly Creatures RDCE78 DeadlyCreatures_Debug.elf
High School Musical 3: Senior Year DANCE! RH3E4Q hsm_d.elf
Brothers In Arms: Road To Hill 30 RI8E41 BiA_GCN.elf
Goosebumps HorrorLand RUGE7T GoosebumpsD.elf, Goosebumps(ShowShadows).elf
Pro Bull Riders: Out of the Chute RYTE4Z game-dbg.elf
Dood's Big Adventure SDLE78 DtoL_Debug_Wii.elf
Nat Geo Challenge! Wild Life SGEEG9 NatGeoD.elf
Gormiti: The Lords of Nature SGLEA4 Exe/GormitiDebug.elf
Nicktoons MLB SNIE54 bball_wiid.elf
National Geographic Challenge! SNQE7U NatGeoD.elf
De Ontdekker en het mysterie van de Diamanten Scarabee SODPYK WiiPlayer_Debug.elf
I SPY: Spooky Mansion SPQE7T ISpyD.elf
Schlag den Raab SSDDRV Bin/Debug/SdRGameD.elf

AX microcode versions

Dates are based on build timestamps. Note that games often have mixed build dates, likely because SDK patches didn't always update all libraries.

GameCube:

  • 0x4e8a8b21: mostly used before 2002 (early AX versions don't have timestamps, DSPInit timestamps are apparently unrelated), does not have the compressor or low-pass filter yet, uses less granular mixer control
  • 0x07f88145: September 2002 - March 2003, adds compressor, introduces AUXB surround depop bug, adds skipped filter code that references new AXPB data, this changes offsetof(AXPB, loop_counter)
  • 0xe2136399: April 2003 - December 2003, replaces skipped filter with usable low-pass filter, this changes offsetof(AXPB, loop_counter) again
  • 0x3ad3b7ac: apparently specific to MusyX, never used with AX, the only difference to 0xe2136399 is an additional increment of the loop_counter in one of the interrupt handlers
  • 0x3daf59b9: April 2004, changes the linear resampling code
  • 0x3389a79e: August 2007, only used by the Trilogy versions of Metroid Prime 1 and 2, they are GameCube games ported to Wii but still use GameCube style audio, hence listed here, removes the unused command 8 (looks like a filter)

Wii:

  • 0x2ea36ce6, 0x5ef56da3: supposedly used by some SDK demos
  • 0x7699af32: August 2006, only used by the Wii Startup Menu, adds high-pass filter
  • 0xfa450138: October 1 2006, used by launch titles
  • 0xd9c4bf34: October 5 2006, only used by Wii System Menu 1.0, this version merges two DSP commands that are always used together and renumbers everything afterwards, fixes the AUXB surround depop bug (which for the Wii had been copy-pasted to AUXC as well)
  • 0xadbc06bd: October 26 2006, only used by Elebits and the Japanese version of Pokémon Battle Revolution, this version adds a volume parameter to the output commands
  • 0x347112ba: December 2006 - March 2008, replaces high-pass filter by biquad filter, adds Wiimote audio filtering
  • 0x4cc52064: July 2008 and later, minimal changes to the compressor code (bug fix?)

Games with Video but no Rating

link

Find Dead YouTube Videos

  1. Go to Special:Export
  2. add game categories:
    • Category:GameCube_games
    • Category:Triforce_games
    • Category:Wii_games
    • Category:Virtual_Console_games
    • Category:Wii_Channels
    • Category:WiiWare_games
  3. click Export
  4. create a Google API key (https://console.cloud.google.com/apis/credentials)
  5. run ./the_following_script.py Dolphin+Emulator+Wiki-*.xml
#!/usr/bin/env python3

import re
import requests
import sys

API_KEY = 'PUT YOUR API KEY HERE'

for path in sys.argv[1:]:
	text = open(path).read()
	ids = re.findall(r'(?<=vid.=)[^|]{11}(?=\|)', text)
	print(f'found {len(ids)} YouTube videos')
	for i in range(0, len(ids), 50):
		chunk = ids[i:i+50]
		response = requests.get(
			'https://youtube.googleapis.com/youtube/v3/videos',
			params={'part': 'id', 'key': API_KEY, 'id': ','.join(chunk)},
			headers={'Accept': 'application/json'},
		)
		valid_ids = [item['id'] for item in response.json()['items']]
		for id in chunk:
			if id not in valid_ids:
				print(id)

Articles without videos by platform

GameCube list
Wii list
WiiWare list
Wii Channels list
Virtual Console list
Triforce list
Flattened Lists list

Not released

No indication that these games were ever sold. We have compatibility ratings for some of them but I think those are bogus.

Some Homebrew Game IDs

  • OSGK - Gecko OS 1.9.1
  • 7531 - Gecko OS 1.9.3
  • UGG3 - Gecko OS 1.9.3.1
  • GSWWGL/GSWEGL/GSWPGL/GSWJGL - Swiss
  • UNEO - USB Loader GX forwarder
  • UNLR - USB Loader GX channel
  • LXVS - Nintendont forwarder
  • UCXF - CFG USB Loader forwarder
  • RIIVRI - Riivolution
  • 9XGX - SNES9xGX
  • VBGX - Visual Boy Advance GX
  • DWFA - WiiFlow

Valid Channel IDs

Nintendo's update servers offer TMD downloads for these IDs (so far I've only enumerated A/E/J/K/P regions):

Notably absent:

Invalid Game IDs

Virtual Console game IDs on this Wiki for which Nintendo's update server returns 404:

Not sure how we even got these IDs:

  • HCBP01 - Mario Kart Channel
    • Came from me. Likely from a WiiBrew doc that listed Channel IDs, but I can't find it again now. Kolano (talk) 13:19, 6 September 2020 (CEST)
  • UFN100 - Wii Fit Channel
    • From Faefdsedf, they seemed to have a good track record on contributions. If it's at all correct though it's probably more likely to be UFN101, since it's the only "00" Publisher code.

All Official Game IDs

(commented out)

USB Descriptors

Headbanger Chat Headset

Bus XXX Device YYY: ID 0e6f:010b Logic3 Headset for Wii 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0e6f Logic3
  idProduct          0x010b 
  bcdDevice            1.00
  iManufacturer           1 Performance Designed Products   
  iProduct                2 Headset for Wii 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0150
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0075
        bInCollection           2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0001
          Left Front (L)
        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 Control
          Volume Control
        bmaControls(1)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                 4
        bNrInPins               2
        baSourceID(0)           3
        baSourceID(1)           2
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        bmControls(0)        0x00
        iMixer                  0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               4
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             7
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0001
          Left Front (L)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 8
        bSourceID               7
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                10
        bNrInPins               1
        baSourceID(0)           8
        bNrChannels             1
        wChannelConfig     0x0001
          Left Front (L)
        iChannelNames           0 
        bmControls(0)        0x00
        iMixer                  0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            11
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID              10
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      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         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        32000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      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         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        32000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0060  1x 96 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    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          11
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        32000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0062  1x 98 bytes
        bInterval               1
        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)