Jump to content

VoodooHDA AD1988B 7.1


  • Please log in to reply
25 replies to this topic

#1
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
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.insanelym...howtopic=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

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

Posted Image

Posted Image

Posted Image

#2
applegate

applegate

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
-> 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!

#3
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
Your codec is probably different than mine, here is my dump (from getDump), compare with yours
Attached File  dump.txt.zip   6.84KB   39 downloads

I can't test SPDIF (don't have cable or receiver) and my SPDIF-in (nid 28) is disabled by default (0x41c5f160) so I didn't touch it.

#4
applegate

applegate

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
This my dump: but I have no clue what will make the difference between yours.

Attached File  AD1988BDUMP.txt.zip   6.59KB   31 downloads

#5
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
Just compare the files, there are many differences.

Try to set SPDIF in and out with different default association (verb 71c)
f0 as 15 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x01c5f1f0 as 15 seq 0 SPDIF-in Jack jack 5 loc 1 color Other misc 1 _linenums:0'>nid 27 0x0145f1f0 as 15 seq 0 SPDIF-out Jack jack 5 loc 1 color Other misc 1 nid 28 0x01c5f1f0 as 15 seq 0 SPDIF-in Jack jack 5 loc 1 color Other misc 1

See here
http://www.insanelym...howtopic=267905

#6
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
i want to help also
mobo is P5K premium , chipset is the same
tell me what you need
still testing, i'll post my results later

#7
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
If your card has SPDIF-in you can try this

VoodooHDA-AD1988B-SPDIF-in.kext.zip

#8
applegate

applegate

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

Just compare the files, there are many differences.

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

f0 as 15 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x01c5f1f0 as 15 seq 0 SPDIF-in Jack jack 5 loc 1 color Other misc 1 _linenums:0'>nid 27 0x0145f1f0 as 15 seq 0 SPDIF-out Jack jack 5 loc 1 color Other misc 1 nid 28 0x01c5f1f0 as 15 seq 0 SPDIF-in Jack jack 5 loc 1 color Other misc 1

See here
http://www.insanelym...howtopic=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.

#9
applegate

applegate

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

If your card has SPDIF-in you can try this

VoodooHDA-AD1988B-SPDIF-in.kext.zip



No luck with this one to: still no SPDIF-out.

#10
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
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.



#11
applegate

applegate

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

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

#12
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

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

See here
http://www.projectos...p?showtopic=465

#13
applegate

applegate

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

See here
http://www.projectos...p?showtopic=465


Used the command cat /proc/asound/card0/codec#0 > codec_dump.txt on ubuntu 11.04

Attached File  codec_dump.txt   17.48KB   13 downloads
Is it possible for you to create a fixed voodooHDA?

Headphone and SPDIF-out are working in Ubuntu.

Would be great if you could do. Thx applegate

#14
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
Sorry, I can't help you with that, as I said I have no cable or receiver to test SPDIF.

What I thought that could help (post #7) didn't work.

#15
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
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
bf1a0 as 15 seq  0	 SPDIF-out  Jack jack  5 loc  1 color   Other misc 1
nid 28 0x01cbf160 as 15 seq 0 SPDIF-in Jack jack 5 loc 1 color Other misc 1 _linenums:0'>nid 27 0x014bf1a0 as 15 seq 0 SPDIF-out Jack jack 5 loc 1 color Other misc 1 nid 28 0x01cbf160 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.projectos...?...ost&p=15563

#16
verdant

verdant

    InsanelyMac V.I.P.

  • Gurus
  • 5,527 posts
  • Gender:Male
  • Interests:At home, I have the following computers......
    >
    >
    >
@ 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)

#17
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
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?

#18
verdant

verdant

    InsanelyMac V.I.P.

  • Gurus
  • 5,527 posts
  • Gender:Male
  • Interests:At home, I have the following computers......
    >
    >
    >

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: Attached File  verdant_VoodooHDA_Dumps.zip   9.27KB   9 downloads

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: Attached File  codec_dump.txt   17.2KB   2 downloads

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, 17 September 2011 - 08:15 PM.


#19
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
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
50</string>
<key>Node</key>
<integer>17</integer>
</dict> _linenums:0'><dict> <key>Codec</key> <integer>0</integer> <key>Config</key> <string>0x02214050</string> <key>Node</key> <integer>17</integer></dict>


#20
verdant

verdant

    InsanelyMac V.I.P.

  • Gurus
  • 5,527 posts
  • Gender:Male
  • Interests:At home, I have the following computers......
    >
    >
    >

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

50</string>
<key>Node</key>
<integer>17</integer>
</dict> _linenums:0'><dict> <key>Codec</key> <integer>0</integer> <key>Config</key> <string>0x02214050</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....... :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy