#1
|
||||
|
||||
New ALC861-VD AppleHDA driver
I was so annoyed by the fact that hdapatcher couldn't make a driver mod out of my codec dump that I created a custom one myself...
The new driver supports: - Internal (built-in) microphone - External microphone - Internal (built-in) speakers - External speakers It should work for all ALC861-VD cards... (matches to class rather than vendor...) You can get the new driver from: http://rapidshare.com/files/22671863...C861VD_Leo.zip I've also devised a solution which doesn't require HDAEnabler for allow AppleHDA to attach properly... It involves modding the DSDT (renaming "AZLA" or "AZAL" to "HDEF" for enabling it to be shown in System Profiler) and a little EFI string... 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(0x1)/Pci(0x14,0x2)</key> <dict> <key>PinConfigurations</key> <string></string> <key>built-in</key> <string>0x01</string> <key>layout-id</key> <string>0x0000000c</string> </dict> </dict> </plist> If it is on a bridge, change it like this: Pci(0x2,0x0)/Pci(0x1,0x2)... If there is only one number listed, the second is 0x0. |
#2
|
||||
|
||||
Little piece of proof...
|
#3
|
||||
|
||||
Does this work with just the regular old ALC861 in my Toshiba laptop?
I tried installing the AppleHDA.kext file, and my sound still works (which is a plus) but it's no different that what I had before (basic sound out without any volume control or inputs) However, I am a bit of a newb (and chicken shit) when it comes to messing around with my OSX setup, and I had no idea what you meant by: Quote:
Because I didn't know how to do the above, I tried using a copy of an HDAEnabler.kext file that I found but it failed to load any sound driver when present, so I deleted it and am now back to square one. If you could please elaborate on how to do the second step of the instructions quoted above it would be greatly appreciated. As in how to I mod the DSDT? (no idea what your reffering to) and how do I add the EFI string? (using EFIStudio or something?) Thanks for your help!! |
#4
|
|||
|
|||
hello andyvand and thank you for the driver.
I've tested in my Asus F3JC and doesn't work. regards |
#5
|
||||
|
||||
Quote:
If you have DSDT patcher just use it and next edit the device AZAL or AZLA to HDEF in the dsdt_fixed.txt and run ./Tools/iasl -tc dsdt_fixed.txt and install the .aml file to /DSDT.aml (Cham V1 with DSDT override or Cham V2 needed) Next use IORegistryExplorer to look up PCI paths (or use EFI studio / OSX86Tools) after reboot for the EFI patch... add the options as shown in the codebox and write it to com.apple.Boot.plist after reboot the AppleHDA device should be attached to the HDEF device and the sound should work... |
#6
|
||||
|
||||
Quote:
Quote:
I will try out this solution tonight and see how I fair. Thanks for all your help! |
#7
|
||||
|
||||
Quote:
do a cat /proc/asound/.../codec... > codecdump.txt upload me that... |
#8
|
||||
|
||||
Okay, attached is the linux codec dump.
I also ran DSDT Patcher, then edited the dsdt_fixed.txt file, however there was no "ALZA" or "AZLA" entry, but rather an "HDEF" one instead. So I'm a little stuck on what I should do next. Therefore, I have also attached the dsdt_patched.txt file. Let me know if you can aid me with this, I'd love to get it working! I also loaded up IORegistryExplorer but have no idea what I am looking for. Which thing is it under? "IOService", "ACIPIPlane", "IODeviceTree" or something else? Which entry is it that I am looking for? HDEF@1B? No clue what the hell I am doing here Thanks again for your help, and sorry for my delayed response. Last edited by ouija; 05-29-2009 at 08:16 AM. |
#9
|
||||
|
||||
Thus Pci values are 0x1B,0x0
Greetz, Andy |
#10
|
|||
|
|||
Quote:
Could you please tell us how did you get it ? Fyi, my soundcard (alc888 | pci1002,4383 | codec: 0x10ec0888 | Address: 0) has these settings : Code:
| | | | | +-o SBAZ@14,2 <class IOPCIDevice, id 0x0, registered, matched, activ$ | | | { | | | "built-in" = <00> | | | "IODeviceMemory" = (({"address"=18446744073639231488,"length"=1$ | | | "acpi-pmcap-offset" = 80 | | | "layout-id" = <79030000> | | | "PinConfigurations" = <> | | | "device-id" = <83430000> | | | "name" = "pci1002,4383" | | | "acpi-path" = "IOACPIPlane:/_SB/PCI0@180000/SBAZ@140002" | | | "IOName" = "pci1002,4383" | | | "vendor-id" = <02100000> | | | "revision-id" = <00000000> | | | "IOPCIResourced" = Yes | | | "acpi-device" = "IOACPIPlatformDevice is not serializable" | | | "subsystem-vendor-id" = <65150000> | | | "IOInterruptControllers" = ("io-apic-0") | | | "IOPowerManagement" = {"CurrentPowerState"=2} | | | "class-code" = <00030400> | | | "compatible" = <"pci1565,821b","pci1002,4383","pciclass,040300"$ | | | "subsystem-id" = <1b820000> | | | "assigned-addresses" = <10a20082000000000000cffb000000000040000$ | | | "reg" = <00a200000000000000000000000000000000000010a20002000000$ | | | "IOInterruptSpecifiers" = (<1000000007000000>) | | | } | | | UPDATE : LOL... what a stupid question I've found the answer : Quote:
💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers. Last edited by m28ew; 05-29-2010 at 07:29 AM. |