PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.5k stars 1.6k forks source link

[Feature Request] Konami ON-SAY Microphone for Japanese Karaoke Revolution Games. #4167

Closed seta-san closed 4 weeks ago

seta-san commented 3 years ago

Description This descriptor has been updated because i obtained the correct microphone for japanese karaoke revolution games. I've got a descriptor for a konami branded E-UR040 microphone.

Reason make Japanese Karaoke Revolution games work

Information for device AK5370 (VID=0x0556 PID=0x0001):

ERROR: Descriptor has errors!


Connection Information:

Device current bus speed: FullSpeed Device supports USB 1.1 specification Device supports USB 2.0 specification Device address: 0x002C Current configuration value: 0x00 Number of open pipes: 0


Device Descriptor:

0x12 bLength 0x01 bDescriptorType 0x0110 bcdUSB 0x00 bDeviceClass
0x00 bDeviceSubClass
0x00 bDeviceProtocol
0x08 bMaxPacketSize0 (8 bytes) 0x0556 idVendor 0x0001 idProduct 0x0001 bcdDevice 0x01 iManufacturer 0x02 iProduct
0x00 iSerialNumber 0x01 bNumConfigurations Hex dump: 0x12 0x01 0x10 0x01 0x00 0x00 0x00 0x08 0x56 0x05 0x01 0x00 0x01 0x00 0x01 0x02 0x00 0x01


Configuration Descriptor:

0x09 bLength 0x02 bDescriptorType 0x0076 wTotalLength (118 bytes) 0x02 bNumInterfaces 0x01 bConfigurationValue 0x00 iConfiguration 0x80 bmAttributes (Bus-powered Device) 0x2D bMaxPower (90 mA) Hex dump: 0x09 0x02 0x76 0x00 0x02 0x01 0x00 0x80 0x2D

Interface Descriptor:

0x09 bLength 0x04 bDescriptorType 0x00 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x01 bInterfaceSubClass (Audio Control Interface) 0x00 bInterfaceProtocol (Audio Protocol undefined) 0x00 iInterface Hex dump: 0x09 0x04 0x00 0x00 0x00 0x01 0x01 0x00 0x00

AC Interface Header Descriptor:

0x09 bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x0100 bcdADC 0x0026 wTotalLength (38 bytes) 0x01 bInCollection 0x01 baInterfaceNr(1) Hex dump: 0x09 0x24 0x01 0x00 0x01 0x26 0x00 0x01 0x01

AC Input Terminal Descriptor:

0x0C bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bTerminalID 0x0201 wTerminalType (Microphone) 0x02 bAssocTerminal 0x01 bNrChannels (1 channels) 0x0000 wChannelConfig 0x00 iChannelNames 0x00 iTerminal Hex dump: 0x0C 0x24 0x02 0x01 0x01 0x02 0x02 0x01 0x00 0x00 0x00 0x00

AC Output Terminal Descriptor:

0x09 bLength 0x24 bDescriptorType 0x03 bDescriptorSubtype 0x02 bTerminalID 0x0101 wTerminalType (USB Streaming) 0x01 bAssocTerminal 0x03 bSourceID 0x00 iTerminal Hex dump: 0x09 0x24 0x03 0x02 0x01 0x01 0x01 0x03 0x00

AC Feature Unit Descriptor:

0x08 bLength 0x24 bDescriptorType 0x06 bDescriptorSubtype 0x03 bUnitID 0x01 bSourceID 0x01 bControlSize bmaControls: 0x43 Channel(0) - Mute / Volume / Automatic Gain 0x00 iFeature

Hex dump: 0x08 0x24 0x06 0x03 0x01 0x01 0x43 0x00

Interface Descriptor:

0x09 bLength 0x04 bDescriptorType 0x01 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol (Audio Protocol undefined) 0x00 iInterface Hex dump: 0x09 0x04 0x01 0x00 0x00 0x01 0x02 0x00 0x00

Interface Descriptor:

0x09 bLength 0x04 bDescriptorType 0x01 bInterfaceNumber 0x01 bAlternateSetting 0x01 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol (Audio Protocol undefined) 0x00 iInterface Hex dump: 0x09 0x04 0x01 0x01 0x01 0x01 0x02 0x00 0x00

AS Interface Descriptor:

0x07 bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x02 bTerminalLink 0x01 bDelay 0x0001 wFormatTag (PCM) Hex dump: 0x07 0x24 0x01 0x02 0x01 0x01 0x00

AS Format Type 1 Descriptor:

0x17 bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bFormatType (FORMAT_TYPE_1) 0x01 bNrChannels (1 channels) 0x02 bSubframeSize 0x10 bBitResolution (16 bits per sample) 0x05 bSamFreqType (Discrete sampling frequencies) 0x001F40 tSamFreq(1) (8000 Hz) 0x002B11 tSamFreq(2) (11025 Hz) 0x005622 tSamFreq(3) (22050 Hz) 0x00AC44 tSamFreq(4) (44100 Hz) 0x00BB80 tSamFreq(5) (48000 Hz) Hex dump: 0x17 0x24 0x02 0x01 0x01 0x02 0x10 0x05 0x40 0x1F 0x00 0x11 0x2B 0x00 0x22 0x56 0x00 0x44 0xAC 0x00 0x80 0xBB 0x00

Endpoint Descriptor (Audio/MIDI 1.0):

0x07 bLength 0x05 bDescriptorType *** ERROR: Invalid descriptor length 0x07 for Audio/MIDI 1.0 endpoint (9 bytes expected) Hex dump: 0x07 0x05 0x81 0x01 0x64 0x00 0x01

AS Isochronous Data Endpoint Descriptor:

0x07 bLength 0x25 bDescriptorType 0x01 bDescriptorSubtype 0x01 bmAttributes (Sampling Frequency) 0x00 bLockDelayUnits (undefined) 0x0000 wLockDelay Hex dump: 0x07 0x25 0x01 0x01 0x00 0x00 0x00

Microsoft OS Descriptor is not available. Error code: 0x0000001F


String Descriptor Table

Index LANGID String 0x00 0x0000
Hex dump:

0x01 0x0000 "AKM " Hex dump: 0x22 0x03 0x41 0x00 0x4B 0x00 0x4D 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00

0x02 0x0000 "AK5370 " Hex dump: 0x22 0x03 0x41 0x00 0x4B 0x00 0x35 0x00 0x33 0x00 0x37 0x00 0x30 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00 0x20 0x00


Whole Device Descriptor as hex dump: 0x12, 0x01, 0x10, 0x01, 0x00, 0x00, 0x00, 0x08, 0x56, 0x05, 0x01, 0x00, 0x01, 0x00, 0x01, 0x02, 0x00, 0x01

Whole Configuration Descriptor as hex dump: 0x09, 0x02, 0x76, 0x00, 0x02, 0x01, 0x00, 0x80, 0x2D, 0x09, 0x04, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x09, 0x24, 0x01, 0x00, 0x01, 0x26, 0x00, 0x01, 0x01, 0x0C, 0x24, 0x02, 0x01, 0x01, 0x02, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x09, 0x24, 0x03, 0x02, 0x01, 0x01, 0x01, 0x03, 0x00, 0x08, 0x24, 0x06, 0x03, 0x01, 0x01, 0x43, 0x00, 0x09, 0x04, 0x01, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00, 0x09, 0x04, 0x01, 0x01, 0x01, 0x01, 0x02, 0x00, 0x00, 0x07, 0x24, 0x01, 0x02, 0x01, 0x01, 0x00, 0x17, 0x24, 0x02, 0x01, 0x01, 0x02, 0x10, 0x05, 0x40, 0x1F, 0x00, 0x11, 0x2B, 0x00, 0x22, 0x56, 0x00, 0x44, 0xAC, 0x00, 0x80, 0xBB, 0x00, 0x07, 0x05, 0x81, 0x01, 0x64, 0x00, 0x01, 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00


Connection path for device: USB xHCI Compliant Host Controller Root Hub AK5370 (VID=0x0556 PID=0x0001) Port: 10

Running on: Windows 10 or greater (Build Version 22623)

Brought to you by TDD v2.17.0, Feb 23 2021, 14:04:02

jackun commented 3 years ago

Inb4 game just checks vid/pid, dump it as hex, easier to copy/paste. Iirc tdd had the ability.

seta-san commented 1 year ago

the last time this was worked on was https://github.com/PCSX2/pcsx2/tree/usb-subtypes back in febuary 2021

Florin9doi commented 1 month ago

Please add a list of compatible titles

seta-san commented 1 month ago

Karaoke Revolution Special Limited Pack Blue Edition Karaoke Revolution Special Limited Pack Green Edition Karaoke Revolution Special Limited Pack Red Edition Karaoke Revolution: Anime Song Collection Karaoke Revolution: Dreams & Memories Karaoke Revolution: J-Pop Best Vol. 1 Karaoke Revolution: J-Pop Best Vol. 2 Karaoke Revolution: J-Pop Best Vol. 3 Karaoke Revolution: J-Pop Best Vol. 4 Karaoke Revolution: J-Pop Best Vol. 5 Karaoke Revolution: J-Pop Best Vol. 6 Karaoke Revolution: J-Pop Best Vol. 7 Karaoke Revolution: J-Pop Best Vol. 8 Karaoke Revolution: J-Pop Best Vol. 9 Karaoke Revolution: Kazoku Idol Sengen Karaoke Revolution: Kissing Selection Karaoke Revolution: Love & Ballad Karaoke Revolution: Night Selection 2003 Karaoke Revolution: Snow & Party

Florin9doi commented 1 month ago

Jaleco Mic Converter (JALE-20003) uses the same audio controller. The following games should work as well:

seta-san commented 1 month ago

i don't have any of those games. i'll order one or two to test. the microphone looks nothing like the on-say though.

Florin9doi commented 1 month ago

The same audio controller is also used by MTV Music Generator 2 Sampler Kit, but this game accepts any microphone. image