about EFI codecdumper
roddy20 opened this issue · 3 comments
Partial dump:
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x mute=5
1 no value for stepsize, it must be 0x5 according the linux dump
2 mute 5 is invalid, it is 0 or 1, yes or no, "mute" cannot be a number
maybe stepsize and mute are misplaced?
the same for a lot of nodes
Thanks
the same data from linux
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Control: name="Headphone Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="AD1988B Alt Analog", type="Audio", device=2
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=0, channel=0
Power states: D0 D3
Power: setting=D0, actual=D0
I am not sure but it seems to be wrong formatting here
Print(L"ofs=0x%2X, nsteps=0x%2X, stepsize=0x%2X, mute=%u\n",
dump looks much better :)
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]