Jump to content

Lord Kamina
 Share

12 posts in this topic

Recommended Posts

I've been trying to produce a working AppleHDA for my new board (an MSI P67a-GD55) and so far have been met mostly with failure.

 

What I'm doing is trying to create a custom layout (and pathmap etc etc) from scratch and am using DigitalDJ's method to patch the layout hard-coded size in the Binary (https://digitaldj.net/blog/2013/07/09/take-my-layout-applehda/)

 

So far, it would appear my layout is being indeed read but I have no sound devices and I'm being plastered with assertions. Using IDA Pro I began trying to trace them as explained on that post... and have basically hit a wall with that.

 

I'm really getting A LOT of assertions but the first two are always

 

22-02-15 14:42:42,000 kernel[0]: Sound assertion in AppleHDAPath at line 1350
22-02-15 14:42:42,000 kernel[0]: Sound assertion in AppleHDAEngine at line 515

 

Something tells me I should try to correct them from the top-down as most likely one failure would lead to another.

 

Upon tracing those, I've gotten to the point where I know they're originated in AppleHDAEngine::getCurrentAmplifierGainRange(uint *,uint *,int *,int *) and AppleHDAPath::getWidgetAmplifierGainRange(uchar *,uchar *,uchar *,int *,int *,uint)

 

But I have not been able to get past that into a way to actually figuring out specifically what the issue is.

 

Any help or maybe somebody that has already figured it out?

 

 

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...