Jump to content
15 posts in this topic

Recommended Posts

I install and boot Yosemite finally but have two serious issues:

1. I can't get sound work at all.I tried to to install voodoohda but without success, sound devices appears in system report but sound doesn't work. I tried to fix it by adding device id into config.plist but i didn't find hdef device in IOService. I'm using clover so i tried to apply FixHDA, hide device appears in IOService, I put it id into config.plist but, after reboot voodoohda device disabled at all.

2. Mac writes something into CMOS after reset or shutdown that made dimm2 slot for ram on my motherboard not working . If i have ram stick in that slot i have memory errors and app crashes in windows, memtest86 even doesn't start test of ram stick in that slot. It's present until i reset CMOS. I try to apply etc fixes in Clover and replace AppleRTC.kext with patched one, CMOS doesn't reset but bug with dimm2 slot still present.

My kernel bootflags are: -v dart=0 npci=0x2000 kext-dev-mode=1

 

My specs are:

CPU: AMD Phenom II X4 810

MB: Gigabyte GA-MA790FXT-UD5P (sound codec: realtek alc889a)

GPU: ASUS HD7850-DC2-2GD5-V2

RAM: 8 Gb (4x2Gb)

Link to comment
https://www.insanelymac.com/forum/topic/305360-no-sound-and-cmos-issues/
Share on other sites

hi, 

 

the Codec ALC889a  work with the native AppleHDA.kext, you only need add HDEF Layout_id 12 or 0C to your DSDT , or try inject in clover layout_id

 

    "layout-id", 

                            Buffer (0x04)
                            {
                                 0x0C, 0x00, 0x00, 0x00
                            }, 
 
 

Concerning VoodooHDA: Do you have your speakers hooked to the back or the front? If so try switching them. Also, check under the VoodooHDA prefpane to see if you need to change any values to get sound to work. If that fails, if you have a 6 port audio, hook your audio to your black port.

I can't boot with RTC_legacy stuck on USBF:

I found patch that disables all cmos writes from AppleRTC for mac os x 10.9

This works for me on 10.9 Mavericks:

perl -pi -e 's|\x41\x89\xd7\x41\x89\xf4|\xe9\xb8\x00\x00\x00\x90|;' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

 

Verify your source file before patching: 

md5 AppleRTC 

MD5 (AppleRTC) = 4b1d28ac48a2a7b35ed6b2034e0fd912

 

This patch completely disables all CMOS writes from AppleRTC

Look for analogue for yosemite

post-1480862-0-04317700-1427657614_thumb.jpg

Solved problem with CMOS. I have to use ElliottForceLegacyRTC.kext in pare with original AppleRTC.kext. Mo more problems with RAM after reset or shutdown. I found new issue: ethernet link not always up on start, led on ethernet card not blink until i replug cable. I use onboard Realtek RTL8111 ethernet card with kext 1.2.3 from this thread. Sometimes when link is up on startup i can see in kernel start log line that says something about "Realtek RTL8111 1Gbit link is up on en0". 

I applied DTGP patch to my dsdt

# Add method DTGP to the main block, it's used by other patches#
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
    If (LEqual (Arg0, Buffer (0x10)\n
            {\n
                /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
                /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
            }))\n
    {\n
        If (LEqual (Arg1, One))\n
        {\n
            If (LEqual (Arg2, Zero))\n
            {\n
                Store (Buffer (One)\n
                    {\n
                        0x03\n
                    }, Arg4)\n
                Return (One)\n
            }\n
            If (LEqual (Arg2, One))\n
            {\n
                Return (One)\n
            }\n
        }\n
    }\n
    Store (Buffer (One)\n
        {\n
            0x00\n
        }, Arg4)\n
    Return (Zero)\n
}
end

then applied patch that adds HDEF device

into device name_adr 0x001B0000 parent_label PCI0 remove_entry;into device label PCI0 insert
begin
Device (HDEF)\n
{\n
    Name (_ADR, 0x001B0000)\n
    Method (_DSM, 4, NotSerialized)\n
    {\n
        Store (Package (0x04)\n
            {\n
                "layout-id", \n
                Buffer (0x04)\n
                {\n
                    0x0C, 0x00, 0x00, 0x00\n
                }, \n
                "PinConfigurations", \n
                Buffer (Zero) {}\n
            }, Local0)\n
        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
        Return (Local0)\n
    }\n
}
end

compiled and save dsdt then place it in root directory, reboot and get no result: no sound, no any sound device in system report. Here is my dsdt

DSDT.aml.zip

×
×
  • Create New...