T450-Hackintosh icon indicating copy to clipboard operation
T450-Hackintosh copied to clipboard

Patched AppleHDA + CodecCommander Sleep Problem about device auto-switch

Open shmilee opened this issue 9 years ago • 12 comments

With Patched AppleHDA +and CodecCommander, Headphone(H) and internal speaker(S) work well before sleep. There is no static noise on headphone.

plug (H) status then pull out (H) then plug (H)
Yes (H) works, (S) no sound (S) works, (H) no sound XXXX
No (S) works, (H) no sound XXXX (H) works, (S) no sound

But, after wake up, the audio can't switch between the Headphone(H) and internal speaker(S).

plug (H) before sleep status Before Sleep status After wakeup pull out (H) After wakeup plug (H) After wakeup
Yes (H) works, (S) has no sound (H) works, (S) no sound Still (H) but no sound , (S) no sound XXXX
No (S) works, (H) no sound (S) works, (H) no sound XXXX Still (S) but no sound , (H) has no sound

TODO

  1. [x] check the verbs and pathmap.
  2. [x] edit settings of CodecCommander.
  3. [ ] check CC command for mic int, mic ext

shmilee avatar Dec 10 '15 12:12 shmilee

TODO

  1. check the verbs and pathmap.
  2. edit settings of CodecCommander.

shmilee avatar Dec 10 '15 13:12 shmilee

The VoodooHDA works great. Why do you want to patch the AppleHDA.kext? It takes a lot of time. XD

polarlights avatar Dec 11 '15 03:12 polarlights

@polarlights Just have a try.

shmilee avatar Dec 11 '15 14:12 shmilee

TODO

  • check CC command for mic int, mic ext

shmilee avatar Dec 17 '15 05:12 shmilee

I can confirm that I also have this issue on my T450s running the same patched AppleHDA

stevenmirabito avatar Jan 13 '16 20:01 stevenmirabito

hello shmilee first thank you for sharing your work. i have use your alc3232 patch on my thinkpad x1 carbon 2014, speaker, hdmi audio, dp audio work. only headphone port not work. i have read your readme many time but i dont understand. verbs.txt verbitdebug.txt i have dump my alc292/alc3232 from linux. and i can see the headphone code is different. but i dont konw how to fix it, i hope you can give some advise. thank you kim

kimip avatar May 17 '16 21:05 kimip

How to fix Verbs? Read reference1, reference2. And I recommend high-definition-audio-specification.pdf to you. Look at 7.3.3.31 Configuration Default, 7.3.3.13 Pin Widget Control, Table 141 Required Support for Verbs and so on.

shmilee avatar May 18 '16 03:05 shmilee

thank you for reply. after reading your reference i found my x1 code is same as yours. After all it was the microphone setting in Bios. After i enable it, i have headphone sound. thank you.

kimip avatar May 18 '16 05:05 kimip

i found AppleHDA + CodecCommander + VoodooHDA-287.kext and change ConfigData to <01271c00 01271d00 01271ea6 01271f99 01471c10 01471d00 01471e17 01471f99 01571c20 01571d10 01571e21 01571f01 01a71c30 01a71d10 01a71e81 01a71f01> sound work after sleep speak+headphone+hdwi+displayport+autodetect

kimip avatar Jun 04 '16 07:06 kimip

@kimip Could you provide a little more detail on how you got it working? Are you using a combination of AppleHDA and VoodooHDA? Did you have to change the AppleHDA patch in this repo?

stevenmirabito avatar Aug 24 '16 16:08 stevenmirabito

yes. add voodoohda.kext and patch the applehda with the code above.

kimip avatar Aug 25 '16 08:08 kimip

@kimip Could you please share your patched drivers?

transtone avatar Sep 12 '16 14:09 transtone