Contribute
Register

No audio after Sleep/Wake when waking from Magic Mouse (ALC887 El Capitan)

Status
Not open for further replies.
Joined
Aug 5, 2015
Messages
19
Motherboard
Asus H97i Plus
CPU
i7-4790K
Graphics
Intel HD 4600
Mac
  1. MacBook
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. Android
  2. iOS
If I do sleep/wake using the Apple Wireless Keyboard there are no issues with the sound, but if I tap my Magic Mouse 2 to wake it there is only static (no audio). I can reproduce the issue, the first time I wake it from sleep using the mouse will always break the sound and the only way to fix it is to reboot.

My config without going into all the details:

- iMac 15.1
- Asus H97i-PLUS with ALC887
- El Capitan 10.11.1 installed using Clover 3320
- Realteak ALC887/888b audio driver from MultiBeast 8.0.1. Added mic boost for back mic jacket to kext.
- RehabMan-CodecCommander kext to have sound working from sleep/wake
- Patch/fixes for Intel USB 3.0
- Disabled wake from WiFi in system prefs.

Initially the sound was always gone (static) after sleep/wake but after I installed the RehabMan-CodecCommander kext the sound works after sleep when I'm waking it using the keyboard.

I've attached a copy of my config (View attachment my_config.plist) and a dump from IOJones (View attachment my_iojones.iojones) if that could help.

Could any one guide me where I should look and what I should look for? When I check the system logs there a some differences between waking from keyboard and mouse, e.g. wake reason, full wake promotion/request etc. But I have no idea if that's something that could affect this.




When I had Yosemite installed I had the same issue with no sound/static after sleep/wake. I used the MenuBar App "Reset AppleHDA" by Michael Clifford to reload AppleHDA.kext and restart CoreAudio from sleep which worked for all scenarios. But this app does not work for me on El Capitan, it just trows the error below when I try to unload the kext. That's why I'm now using RehabMan-CodecCommander instead.
Code:
[COLOR=#000000](kernel) Can't unload kext com.apple.driver.AppleHDA; classes have instances:[/COLOR]
[COLOR=#000000](kernel) Kext com.apple.driver.AppleHDA class AppleHDAStream has 2 instances.[/COLOR]
[COLOR=#000000]Failed to unload com.apple.driver.AppleHDA - (libkern/kext) kext is in use or retained (cannot unload).[/COLOR]
 
Same Issue With my ALC 892 El Capitan loosing sound after wake with Magic Mouse 2. Wake is perfect with any USB wake KB or even generic USB mouse. The culprit is Magic Mouse 2. I do not have BT keyboard to test so I can not say if its BT tooth issue in El Capitan but could be.
As for the Magic Mouse 2 Apple is now Design before Function you can not use the mouse while charging ... so you have to put aside and charge... and use your generic mouse.
 
When I have no sound I just go in sleep mode and wake with USB keyboard and get sound back, no need to reboot.
Thanks for sharing. :))
 
Status
Not open for further replies.
Back
Top