Jump to content

VoodooHDA AD1988B 7.1


oldnapalm
 Share

30 posts in this topic

Recommended Posts

VoodooHDA patched for AD1988B (tested on Asus P5E)

 

Download:

 

VoodooHDA.kext-AD1988B.zip

 

What works:

- Line-out (green rear)

- Line-out (black rear)

- Line-out (orange rear)

- Line-out (grey rear)

- Headphones (green front) auto-detect

- Line-in (blue rear)

- Microphone (pink rear)

- Microphone (pink front)

 

Doesn't work:

- Microphone auto-detect (have to select in preferences)

 

Not tested:

- SPDIF-out (rear)

 

 

Common problems

http://www.insanelymac.com/forum/index.php?showtopic=267905

 

 

My getDump

 nid 17 0x02214030 as  3 seq  0	Headphones  Jack jack  1 loc  2 color   Green misc 0
nid 18 0x01014010 as  1 seq  0	  Line-out  Jack jack  1 loc  1 color   Green misc 0
nid 19 0x511711f0 as 15 seq  0	   Speaker  None jack  7 loc 17 color   Black misc 1
nid 20 0x02a1902e as  2 seq 14	Microphone  Jack jack  1 loc  2 color	Pink misc 0
nid 21 0x01813021 as  2 seq  1	   Line-in  Jack jack  1 loc  1 color	Blue misc 0
nid 22 0x01011012 as  1 seq  2	  Line-out  Jack jack  1 loc  1 color   Black misc 0
nid 23 0x01a19020 as  2 seq  0	Microphone  Jack jack  1 loc  1 color	Pink misc 0
nid 24 0x99331122 as  2 seq  2			CD Fixed jack  3 loc 25 color   Black misc 1
nid 27 0x0145f1a0 as 10 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x41c5f160 as  6 seq  0	  SPDIF-in  None jack  5 loc  1 color   Other misc 1
nid 36 0x01016011 as  1 seq  1	  Line-out  Jack jack  1 loc  1 color  Orange misc 0
nid 37 0x01012014 as  1 seq  4	  Line-out  Jack jack  1 loc  1 color	Grey misc 0

 

My changes

<key>MixerValues</key>
<dict>
<key>iGain</key>
<string>0</string> <!-- avoid audio feedback -->
</dict>
<key>NodesToPatch</key>
<array>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x0221401f</string> <!-- same default association as line-out (auto-detect headphones) -->
     <key>Node</key>
     <integer>17</integer>
  </dict>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x02a19030</string> <!-- change default association (auto-detect doesn't work with mic) -->
     <key>Node</key>
     <integer>20</integer>
  </dict>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x01813040</string> <!-- change default association (enable line-in) -->
     <key>Node</key>
     <integer>21</integer>
  </dict>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x01011070</string> <!-- change default association (enable line-out) -->
     <key>Node</key>
     <integer>22</integer>
  </dict>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x59331122</string> <!-- change port connectivity (disable CD) -->
     <key>Node</key>
     <integer>24</integer>
  </dict>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x01016080</string> <!-- change default association (enable line-out) -->
     <key>Node</key>
     <integer>36</integer>
  </dict>
  <dict>
     <key>Codec</key>
     <integer>0</integer>
     <key>Config</key>
     <string>0x01012090</string> <!-- change default association (enable line-out) -->
     <key>Node</key>
     <integer>37</integer>
  </dict>
</array>

 

My getDump after patching

 nid 17 0x0221401f as  1 seq 15	Headphones  Jack jack  1 loc  2 color   Green misc 0
nid 18 0x01014010 as  1 seq  0	  Line-out  Jack jack  1 loc  1 color   Green misc 0
nid 19 0x511711f0 as 15 seq  0	   Speaker  None jack  7 loc 17 color   Black misc 1 [DISABLED]
nid 20 0x02a19030 as  3 seq  0	Microphone  Jack jack  1 loc  2 color	Pink misc 0
nid 21 0x01813040 as  4 seq  0	   Line-in  Jack jack  1 loc  1 color	Blue misc 0
nid 22 0x01011070 as  7 seq  0	  Line-out  Jack jack  1 loc  1 color   Black misc 0
nid 23 0x01a19020 as  2 seq  0	Microphone  Jack jack  1 loc  1 color	Pink misc 0
nid 24 0x59331122 as  2 seq  2			CD  None jack  3 loc 25 color   Black misc 1 [DISABLED]
nid 27 0x0145f1a0 as 10 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x41c5f160 as  6 seq  0	  SPDIF-in  None jack  5 loc  1 color   Other misc 1 [DISABLED]
nid 36 0x01016080 as  8 seq  0	  Line-out  Jack jack  1 loc  1 color  Orange misc 0
nid 37 0x01012090 as  9 seq  0	  Line-out  Jack jack  1 loc  1 color	Grey misc 0

 

For multichannel create an aggregate device in Applications - Utilities - Audio MIDI Setup

 

multichannel.png

 

outputoi.png

 

inputl.png

  • Like 1
Link to comment
Share on other sites

-> P5B-BN T3 barebone with ICH8 and AD1988B

 

SPDIF-out is not working.

Headphone (front) is working.

 

Removed all DSDT patches before (no HDEF, no DTG, no AD1988B) installing this VoodooHDA kext.

 

Very weird behaviour: If I select input as SPDIF-in in preference pan/sound, my SPDIF-out starts to light up red (but ofcourse no output to receiver).

 

Something still has to be fixed in this VoodooHDA kext!

Link to comment
Share on other sites

Just compare the files, there are many differences.

 

Try to set SPDIF in and out with different default association (verb 71c)

 nid 27 0x0145f1[color="#FF0000"]f[/color]0 as 15 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x01c5f1[color="#FF0000"]f[/color]0 as 15 seq  0	  SPDIF-in  Jack jack  5 loc  1 color   Other misc 1

 

See here

http://www.insanelymac.com/forum/index.php?showtopic=267905

Link to comment
Share on other sites

Just compare the files, there are many differences.

 

Try to set SPDIF in and out with different default association (verb 71c)

 nid 27 0x0145f1[color="#ff0000"]f[/color]0 as 15 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x01c5f1[color="#ff0000"]f[/color]0 as 15 seq  0	  SPDIF-in  Jack jack  5 loc  1 color   Other misc 1

 

See here

http://www.insanelymac.com/forum/index.php?showtopic=267905

 

Hi, i'm lost... in audio space... anybody can make a new voodoohda that works with my AD1988B. See my posts and getdump before. Thanks Applegate.

Link to comment
Share on other sites

Try this (from official thread)

 

5. Trick by Trauma

Set your SPDIF output to 16 bits 48Khz in audio midi configuration utility. It should do the trick. For some reason VoodooHDA sets SPDIF output to 32 bits 192Khz by default on my codec. SPDIF only supports up to 20 bits standard bit depth, and optionally 24 bits, and a max 96Khz sample frequency.

Link to comment
Share on other sites

Try this (from official thread)

 

Tried this of course, but no luck. I think it must a different pin connection. In windows 7 the hardware id is (dual boot):

 

HDAUDIO\FUNC_01&VEN_11D4&DEV_198B&SUBSYS_1043821F&REV_1003

 

Did the getdump again and see no real diffrence in SPDIF with the older voodoohda1988b you provide before.

 

Tried this of course, but no luck. I think it must a different pin connection. In windows 7 the hardware id is (dual boot):

 

HDAUDIO\FUNC_01&VEN_11D4&DEV_198B&SUBSYS_1043821F&REV_1003

 

Did the getdump again and see no real diffrence in SPDIF with the older voodoohda1988b you provide before.

 

 

Hi Oldnapalm. Do you know how to do a getdump thing in Ubuntu? Maybe this will be a big help.

 

Thx. Applegate

Link to comment
Share on other sites

I checked dumps from other mobos/codecs and they have b (combination) in SPDIF "connection type" (71e), and our codec has 5 (optical). You can try using combination

 nid 27 0x014[color="#FF0000"]b[/color]f1a0 as 15 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x01c[color="#FF0000"]b[/color]f160 as 15 seq  0	  SPDIF-in  Jack jack  5 loc  1 color   Other misc 1

 

Don't forget to update caches after editing the kext.

 

Other thing that can help is set the PCI ID of your card in the plist (in case you have HDMI audio on video board).

 

Edit: you may want to test an older version, looks like SPDIF stopped working in current version

http://www.projectosx.com/forum/index.php?...ost&p=15563

Link to comment
Share on other sites

@ oldnapalm

 

I have just tried it on my Asus P5N32-E SLI Plus and get the following:

 

No sound assertions on boot but I do get a 'click'.....

 

No Built-in Audio in System Information

 

but I do get sound, with working volume slider and can mute / unmute but get a 'click' sound doing it......also, decreasing the slider (volume) to minimum (zero) volume causes a 'click' and increasing slowly generates a 'click' just above zero level but increasing it quickly to 75% volume generates a 'click' before going to 100% volume.....

 

System Preferences has:

 

Sound Output

 

- Line-out (green rear) - working

- Line-out (black rear) - not tested

- Line-out (orange rear) - not tested

- Line-out (grey rear) - not tested

- SPDIF-out (rear) - not tested

 

Sound Input

 

- Microphone (pink rear) - not tested

- Microphone (pink front)

- Line-in (blue rear) - not tested

 

Not working - Headphones (green front)

Not working - Microphone auto-detect (have to select between rear and front in preferences)

Link to comment
Share on other sites

Thanks for the feedback, verdant.

 

About the "pop" sound on startup/shutdown and mute/unmute, I also hear it, I believe it can't be fixed by plist editing.

 

Does it detect the headphones? (if you plug them and go in sound preferences it should display "headphones" instead of "line-out")

 

Can you post a VoodooHDA dump?

Link to comment
Share on other sites

Thanks for the feedback, verdant.

 

About the "pop" sound on startup/shutdown and mute/unmute, I also hear it, I believe it can't be fixed by plist editing.

 

Does it detect the headphones? (if you plug them and go in sound preferences it should display "headphones" instead of "line-out")

 

Can you post a VoodooHDA dump?

 

No, the headphones are not detected......when they are plugged into the front green port, sound prefs Output still shows Line-out (green rear)......

 

Sure, here are my getdump and getExtDump files: verdant_VoodooHDA_Dumps.zip

 

BTW the getdump and getExtDump files were generated with the headphones plugged into the front green port......

 

Using Pinguy OS (Ubuntu 11.04 derivative), when I plug headphones into the front green port, I get sound via the haedphones but without the speakers connected to the rear green port cutting out.....there is audio out on both simultaneously......volume slider, balance and mute all work.....

 

However, an interesting point is that in the Sound Prefs, the headphones work when I have Connector: Analogue Output BUT when I select Connector: Analogue Headphones, then there is no sound through the headphones or the speakers...... :wacko:

 

Here is my codec_dump.txt with the headphones plugged plugged into the front green port: codec_dump.txt

 

For comparison, see the screen shots in this post showing what I get when using DTGP Method + DSDT Device (HDEF) patches with AppleHDA v10.6.2 instead of the 10.7.1 or 10.7.0 AppleHDA.kext in /System/Library/Extensions/ and a Info.plist-only, i.e. legacy AD1998B kext from XyZ (THe KiNG) in /Extra/Extensions/.....however, headphones not working in the front green port is still an issue....I will check if the front microphone port works or not, and report back......

 

No, when using the legacy AD1988B kext, the front microphone port does not work and while the rear port picks up a microphone signal, it has a lower sensitivity than the front microphone port that your VoodooHDA_AD1988B.kext activates (using the same microphone)......

 

So apart from the sound 'pops', your VoodooHDA_AD1988B.kext is the front runner for me because it activates my front microphone port....... :)

 

BTW many congratulations on your efforts so far...... :)

Edited by verdant
Link to comment
Share on other sites

That's strange, mine is identical and headphones work with auto-detect.

 

You can try setting a different default association for node 17 and it may work selecting in sound preferences

<dict>
   <key>Codec</key>
   <integer>0</integer>
   <key>Config</key>
   <string>0x022140[color="#FF0000"]50[/color]</string>
   <key>Node</key>
   <integer>17</integer>
</dict>

Link to comment
Share on other sites

That's strange, mine is identical and headphones work with auto-detect.

 

You can try setting a different default association for node 17 and it may work selecting in sound preferences

<dict>
   <key>Codec</key>
   <integer>0</integer>
   <key>Config</key>
   <string>0x022140[color="#ff0000"]50[/color]</string>
   <key>Node</key>
   <integer>17</integer>
</dict>

 

Thanks for your reply........setting a different default association of 0x02214050 for node 17 has enabled the front green port for headphones but not with autodetect.....

 

System Preferences has:

 

Sound Output

 

- Line-out (green rear) - working via manual selection in sound prefs

- Headphones (green front) - working via manual selection in sound prefs

- Line-out (orange rear) - not tested

- Line-out (grey rear) - not tested

- SPDIF-out (rear) - not tested

 

Sound Input

 

- Microphone (pink rear) - not tested fully as not convenient to use

- Microphone (pink front) - working via manual selection in sound prefs

- Line-in (blue rear) - not tested

 

However, this is still great progress......thanks....... :)

Link to comment
Share on other sites

  • 2 weeks later...

Still trying to get my sound card work: How can I put this string in my AppleHDA.kext (lion 10.7.1) with PListEdit Pro?

 

<01171c30 01171d40 01171e21 01171f02 01271c10 01271d40 01271e01 01271f01 01371cf0 01371d11 01371e17 01371f51 01471c22 01471d90 01471ea1 01471f02 01571c21 01571d30 01571e81 01571f01 01671c12 01671d10 01671e01 01671f01 01771c20 01771d90 01771ea1 01771f01 01871c2e 01871d11 01871e33 01871f99 01a71cf0 01a71d01 01a71ef3 01a71f99 01b71cf0 01b71df1 01b71e45 01b71f01 01c71cf0 01c71df1 01c71ec5 01c71f01 02471c11 02471d60 02471e01 02471f01 02571c13 02571d20 02571e01 02571f01>

 

(flip-byte the pinconfigoverrideverbs from the Windows 7 registry)

 

HDAUDIO\FUNC_01&VEN_11D4&DEV_198B&SUBSYS_1043821F&REV_1003

 

Thanx for your help.

Link to comment
Share on other sites

I'm afraid AppleHDA editing is more complex than that, you also have to patch layoutXX.xml and Platforms.xml

 

The verbs go in ConfigData (AppleHDAHardwareConfigDriver.kext/Contents/Info.plist) but just copy/paste verbs from Windows registry won't work, there are many repeated values in default association

01171c30 01171d40 01171e21 01171f02 
01271c[b]1[/b]0 01271d40 01271e01 01271f01 
01371c[b]f[/b]0 01371d11 01371e17 01371f51 
01471c[b]2[/b]2 01471d90 01471ea1 01471f02 
01571c[b]2[/b]1 01571d30 01571e81 01571f01 
01671c[b]1[/b]2 01671d10 01671e01 01671f01 
01771c[b]2[/b]0 01771d90 01771ea1 01771f01 
01871c[b]2[/b]e 01871d11 01871e33 01871f99 
01a71c[b]f[/b]0 01a71d01 01a71ef3 01a71f99 
01b71c[b]f[/b]0 01b71df1 01b71e45 01b71f01 
01c71c[b]f[/b]0 01c71df1 01c71ec5 01c71f01 
02471c[b]1[/b]1 02471d60 02471e01 02471f01 
02571c[b]1[/b]3 02571d20 02571e01 02571f01

Link to comment
Share on other sites

It also happens here. I don't mind because I use the volume button in the receiver, but this can help you

http://code.google.com/p/soundflower/downloads/list

 

Captura_de_Tela_2011_10_04_a__s_16.31.30.png

 

I use 3 line-outs as an aggregate for 5.1, and still get no volume control (ALC888) i think this is a limitation of the aggregate devices.

But I came up with a little fix & i guess anyone else with this problem can use these steps to try to force software volume control:

1) Make sure each output you intend to use is set to full volume in sound preferences.

2) Set the aggregate device up as usual & assign speakers in Audio midi setup.

3) Using Soundflowerbed, set the 6 channels of the aggregate device to the first 6 of Soundflower16ch.

4) Select Soundflower16ch as default output & configure speakers for multichannel output in Audio midi setup.

5) Software volume control for your 5.1 enabled system

http://osx86.co/f36/audio-tricks-or-more-l.../post25245.html

Link to comment
Share on other sites

  • 7 months later...
 Share

×
×
  • Create New...