Contribute
Register

No Sound on Wake from Sleep - Sound Assertion Error

Status
Not open for further replies.
Joined
Oct 14, 2011
Messages
7
Motherboard
EVGA X58 SLI 3
CPU
Intel Core i7 950 Bloomfield
Graphics
EVGA GTX 560 (non-Ti)
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. iOS
Hello! I am a long-time lurker of these forums who has benefited greatly from the various posts within. I usually don't post because if I have a question, I can find the answer 99.999% of the time just by searching. ^_^

Anyways, I'm having a problem with my audio. It doesn't want to come on after I wake the computer from sleep. I have looked for days for a solution, but I can't seem to find one. Here are the messages that Console spits out at me:

8/7/12 3:34:12.000 PM kernel[0]: /drv/ MacModule.cpp:304 powerStateWillChangeTo: flags=4 stateNumber=2
8/7/12 3:34:12.000 PM kernel[0]: /drv/ MacModule.cpp:309 powerStateWillChangeTo: found flag=kIOPMSleepCapability (4)
8/7/12 3:34:12.000 PM kernel[0]: [ffffff801b07dd00][AppleMultitouchDevice::willTerminate] entered
8/7/12 3:34:12.000 PM kernel[0]: [ffffff801b07dd00][AppleMultitouchDevice::stop] entered
8/7/12 3:34:12.000 PM kernel[0]: /drv/ MacModule.cpp:304 powerStateDidChangeTo: flags=4 stateNumber=2
8/7/12 3:34:12.000 PM kernel[0]: /drv/ MacModule.cpp:309 powerStateDidChangeTo: found flag=kIOPMSleepCapability (4)
8/7/12 3:34:12.000 PM kernel[0]: Wake reason: power-button (User)
8/7/12 3:34:21.000 PM kernel[0]: /drv/ MacModule.cpp:304 powerStateWillChangeTo: flags=2 stateNumber=3
8/7/12 3:34:21.000 PM kernel[0]: /drv/ MacModule.cpp:305 powerStateWillChangeTo: found flag=kIOPMPowerOn (2)
8/7/12 3:34:21.000 PM kernel[0]: /drv/ MacModule.cpp:304 powerStateDidChangeTo: flags=2 stateNumber=3
8/7/12 3:34:21.000 PM kernel[0]: /drv/ MacModule.cpp:305 powerStateDidChangeTo: found flag=kIOPMPowerOn (2)
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 3784
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(2, 0): fHwPstate = 2 fFB = 0xffffff801abec000
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...
8/7/12 3:34:21.000 PM kernel[0]: AGPM: GPU = display G-state set to 2 from 2, ControlID = 17. SW occupancy updated.
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(2, 0): fHwPstate = 2 fFB = 0xffffff801abec000
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...
8/7/12 3:34:21.000 PM kernel[0]: AGPM: GPU = display G-state set to 2 from 2, ControlID = 17. SW occupancy updated.
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(2, 0): fHwPstate = 2 fFB = 0xffffff801abec000
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...
8/7/12 3:34:21.000 PM kernel[0]: AGPM: GPU = display G-state set to 2 from 2, ControlID = 17. SW occupancy updated.
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(2, 0): fHwPstate = 2 fFB = 0xffffff801abec000
8/7/12 3:34:21.000 PM kernel[0]: AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...
8/7/12 3:34:21.000 PM kernel[0]: AGPM: GPU = display G-state set to 2 from 2, ControlID = 17. SW occupancy updated.
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.261 PM WindowServer[160]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6755
8/7/12 3:34:21.000 PM kernel[0]: Sound assertion in AppleHDAController at line 4473
8/7/12 3:34:21.615 PM blued[56]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
8/7/12 3:34:22.126 PM WindowServer[160]: Received display connect changed for display 0x3f003c
8/7/12 3:34:22.126 PM WindowServer[160]: Received display connect changed for display 0x19407201
8/7/12 3:34:22.656 PM configd[18]: setting hostname to "INSOMNIA.local"
8/7/12 3:34:23.000 PM kernel[0]: AGPM: updateGPUHwPstate(1, 0): fHwPstate = 2 fFB = 0xffffff801abec000
8/7/12 3:34:23.000 PM kernel[0]: AGPM: updateGPUHwPstate(): state = 1. Calling fFB->setAggressiveness()...
8/7/12 3:34:23.000 PM kernel[0]: AGPM: GPU = display G-state set to 1 from 2, ControlID = 17. SW occupancy updated.
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307229952, fCodecRequest->command->verb: 0x201720C0, fPoweredDown: 1
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion in AppleHDAFunctionGroup at line 1100
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion in AppleHDADriver at line 3055
8/7/12 3:34:24.000 PM kernel[0]: Sound assertion in AppleHDADriver at line 3009

Here are my specs:

Motherboard: EVGA X58 SLI 3 Motherboard (131-GT-E767-TR)
Processor: Intel Core i7-950 Bloomfield
Video: Nvidia Geforce GTX 560 (non-Ti)
Audio: Onboard HD Audio (Realtek ALC892) (VendorID: 0x10ec0892)
Operating System: Mac OS X 10.8 Mountain Lion

I had this issue when I was running Lion as well, and it seems to be the only issue holding me back from having a PERFECT Hackintosh (Everything else works wonderfully with little to no patches).

Any ideas?
 
Anyways, I'm having a problem with my audio. It doesn't want to come on after I wake the computer from sleep. I have looked for days for a solution, but I can't seem to find one. Here are the messages that Console spits out at me:
What audio solution are you using? Are you using a dsdt? If yes, what HDEF edits?
 
I ended up having to settle with the Patched AppleHDA (ALC892) in Multibeast 4.6.1, with the Non-DSDT HDAEnabler (also ALC892).

I've tried multiple solutions, using DSDT only with no patched kexts, using no DSDT, editing DSDT. But the only solution that gives me sound output, no matter what, is the patched AppleHDA mentioned above.

I have a hunch that if I can properly edit the HDEF section in my DSDT, and get the sound to work without the Patched AppleHDA, then I'd have no more issues. But I seem to have completely run out of solutions as far as DSDT edits are concerned. I tried using the DSDT edits from your guide (http://legacy.tonymacx86.com/viewtopic.php?f=16&t=59074&sid=ed596058b8f5608a0bdd2c1771b85555) but none of those edits seemed to work. :(

By the way, Thanks for taking the time to help me out. :)

EDIT: Attached is my current DSDT.aml, for your consideration.
 

Attachments

  • DSDT.aml
    19.6 KB · Views: 139
I ended up having to settle with the Patched AppleHDA (ALC892) in Multibeast 4.6.1, with the Non-DSDT HDAEnabler (also ALC892).

I've tried multiple solutions, using DSDT only with no patched kexts, using no DSDT, editing DSDT. But the only solution that gives me sound output, no matter what, is the patched AppleHDA mentioned above.

I have a hunch that if I can properly edit the HDEF section in my DSDT, and get the sound to work without the Patched AppleHDA, then I'd have no more issues.
The reason your audio doesn't work with the dsdt is the dsdt/HDEF/layout-id is wrong. All of the legacy threads are available on the new site. See Optimized AppleHDA for Realtek ALC 898 on Lion - New. When you correct the layout_id, remove S/L/E/HDAEnabler892.kext. Fix permissions and cache and restart. You'll find a proper installation is essential for avoiding audio issues.

Good luck getting audio to work without the patched AppleHDA.
 
THANK YOU! I was able to get my audio to work with those DSDT edits and the patched AppleHDA kext. I edited my layout-ID to read "0x7C, 0x03, 0x00, 0x00" (Under ALC892 audio guide) and it actually worked this time. That's one step in the right direction. :)

I'm still getting Sound assertion errors, though... Maybe this "sleep mode" thing just won't work out after all. :\

8/8/12 12:37:54.033 AM sandboxd[438]: ([437]) tccd(437) deny file-write-create /Users/Akaruikage/Library/Keychains/login.keychain.sb-4de36531-cadGzo
8/8/12 12:37:54.036 AM sandboxd[438]: ([437]) tccd(437) deny file-write-create /Users/Akaruikage/Library/Keychains/login.keychain.sb-4de36531-AXEuuq
8/8/12 12:37:54.038 AM sandboxd[438]: ([437]) tccd(437) deny file-write-create /Users/Akaruikage/Library/Keychains/login.keychain.sb-4de36531-2sSI0t
8/8/12 12:38:04.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 1615
8/8/12 12:38:05.698 AM com.apple.launchd.peruser.501[266]: (com.apple.FontWorker[439]) Could not setup Mach task special port 8: (os/kern) invalid argument
8/8/12 12:38:47.066 AM com.apple.launchd.peruser.501[266]: ([0x0-0x30030].com.apple.audio.AudioMIDISetup[440]) Could not setup Mach task special port 8: (os/kern) invalid argument
8/8/12 12:38:51.682 AM com.apple.launchd.peruser.501[266]: (com.apple.BezelUIServer[442]) Could not setup Mach task special port 8: (os/kern) invalid argument
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:38:58.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 1615
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:00.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:01.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:02.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:03.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:04.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:05.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:10.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549307983872, fCodecRequest->command->verb: 0x202BA000, fPoweredDown: 1
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4909
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in AppleHDAController at line 4910
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in IOHDACodecDevice at line 161
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in AppleHDAWidget at line 1050
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in AppleHDAPathControl at line 355
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3994
8/8/12 12:39:11.000 AM kernel[0]: Sound assertion in AppleHDAEngine at line 3859

Now I'm really out of ideas. :\
 
THANK YOU! I was able to get my audio to work with those DSDT edits and the patched AppleHDA kext. I edited my layout-ID to read "0x7C, 0x03, 0x00, 0x00" (Under ALC892 audio guide) and it actually worked this time. That's one step in the right direction. :)I'm still getting Sound assertion errors, though... Maybe this "sleep mode" thing just won't work out after all. :\
Delete the aggregate device in Audio MIDI setup. If that doesn't work, a clean install will.
 
A clean install as in, deleting and re-installing the AppleHDA.kext? Or do you mean I'll need to re-install Mountain Lion?
 
The reason your audio doesn't work with the dsdt is the dsdt/HDEF/layout-id is wrong. All of the legacy threads are available on the new site. See Optimized AppleHDA for Realtek ALC 898 on Lion - New. When you correct the layout_id, remove S/L/E/HDAEnabler892.kext. Fix permissions and cache and restart. You'll find a proper installation is essential for avoiding audio issues.

Good luck getting audio to work without the patched AppleHDA.

I had an audio issue that I could toggle on and off by changing nothing but the system definition. Check this thread:
[EDIT] corrected url:
http://www.tonymacx86.com/audio/696...rrors-sound-assertion-applehdacontroller.html

The issue was random pops noises, not audio issues related to sleep, but some error messages were very similar to those reported here:
------------------------
26-08-2012 19:42:01.000 kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -548945164288, fCodecRequest->command->verb: 0xFFF, fPoweredDown: 0
26-08-2012 19:42:01.000 kernel[0]: Sound assertion in AppleHDAController at line 4909
26-08-2012 19:42:01.000 kernel[0]: Sound assertion in AppleHDAController at line 4910
26-08-2012 19:42:01.000 kernel[0]: Sound assertion in AppleHDAController at line 8088
------------------------

Hope that helps troubleshooting...
 
I have been able to get audio working in ML using the Lion guide provided above using DSDT (HDEF) edits and a patched AppleHDA, but I too like the OP still have the problem with no audio after waking up from sleep. If possible can anybody 'sound' off on a solution? Thanks
Was HDEF in the native dsdt? If it wasn't, it is likely the BIOS has no idea it needs to wake HDEF.
 
Status
Not open for further replies.
Back
Top