View Single Post
 
Old 05-20-2009, 02:41 AM
WinLinMac01 WinLinMac01 is offline
Lion
 
Join Date: Feb 2008
Posts: 1,140
AD1984 *Working* in Thinkpad X61, L61, & R61 (Share your feedback/experience)

Okay I just stumbled upon the following thread and now have high hopes of getting audio output via headphone jack working on a Lenovo R61 notebook (AD1984 audio)

Thanks to priitv8 (a grateful user on InsanelyMac) =)

[quote name='priitv8' date='Apr 11 2009, 12:25 AM' post='1129566']
Hello and welcome to everyone. This is my first post in this forum. It has been an immense source of knowledge for getting the iPC 10.5.6 up and working on my Lenovo ThinkPad T61 Widescreen.
As for many, the AD1984 HD Audio Codec has been a real PITA to get working.
Currently I am that far, that I have Internal speakers, Headphone-, SPDIF-out and Mic In working.
What I have failed to get working is the internal mic.
I am using the iPC 10.5.6 installation, EFI and AppleHDA.kext with modded plists inside.
The breakthrough came after reading chapter 4 of Intel book titled "High Definition Audio for the Digital Home Proven Techniques for Getting It Right the First Time". Upon little searching you'll find an electronic copy in the web.
That chapter copies most of the HDA spec document but in a more readable form. Also it was the only one to explain the importance and conventions of the pin configuration parameters "Default Association" and "Sequence".
The pin config defaults from Vista are 100% from this book. And that is the problem under Leopard, as it does not seem to like pin configs where multiple pins share the same Def. Association number.
Therefore I modded the pin config defaults in AppleHDAController.kext's Info.plist and created a Layout and Pathmap in AppleHDAPlatformDriver.kext's Info.plist
Although the internal mic on T61 should be analog (not digital) and connected to port C (pin 0x15), the path setup (0x09 <- 0x0D <- 0x15) is 100% analogous to external mic, neither do I get level slider for it, nor comes any sound through. I'd be delighted to get more details about the physical setup of this mic on T61.
To get the AD1984 ID correctly showed up in System Profiler and IO Registry, the EFI needs to be set up as follows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
    <dict>
        <key>PinConfigurations</key>
        <string></string>
        <key>built-in</key>
        <string>0x00</string>
        <key>layout-id</key>
        <string>0x0000000a</string>
        <key>revision-id</key>
        <string>0x00000001</string>
        <key>subsystem-id</key>
        <string>0x00001984</string>
        <key>subsystem-vendor-id</key>
        <string>0x000011d4</string>
        <key>vendor-id</key>
        <string>0x00008086</string>
    </dict>
</dict>
</plist>
Pay attention to rather bizarre and misleading use of keys "subsystem-id", "subsystem-vendor-id" and "vendor-id".
And here's the AppleHDA, feel free to try it out!
[/quote]

http://www.insanelymac.com/forum/ind...howtopic=92676

Associated files to download:

http://rapidshare.com/files/235011681/AppleHDA.kext.zip

http://rapidshare.com/files/235011613/Archiv.zip

Apple Archiv.zip, use PCWiz's OSx86 Utility (EFIStudio to creative the new device), restart and audio/headphone output should finally work.

One word: Jackpot!

Share you experience and feedback here.

Good Luck. =)
WinLinMac is back!
Reply With Quote