Jump to content

Lord Kamina

Lord Kamina

Member Since 04 Jun 2012
Offline Last Active Jan 02 2016 07:58 PM

Topics I've Started

Help tracing AppleHDA assertions?

23 February 2015 - 12:23 AM

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.ne...ayout-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?



HWMonitor fan control.

28 January 2015 - 10:06 PM

So... I know HWMonitor has a fan controlling module, which can be accessed by hovering over the fans on the list of sensors. I also know this dialog does not generally show on hackintosh. There is evidently something the program is looking for, and that something determines whether to show it or not.

I'm trying to figure out what that check is... Anybody familiar with the HWMonitor code, that might give me a hand with this?.
© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy