Jump to content

Fix HPET in SSDT?


Riley Freeman
 Share

3 posts in this topic

Recommended Posts

To date I've been patching the DSDT on my P9X79. But I want to try and stop this and use a SSDT to inject my few patches instead. I spent most of yesterday putting together a SSDT through trial and (mostly) error and almost have it fully working.

 

Where I'm stuck is fixing HPET. I've managed to edit the TMR and RTC0 devices to free up the IRQs. I disabled the original devices and then inserted new devices with different names (TIMR, RTC) with the IRQNoFlags sections removed. From what I could find online I think this is the only way to edit devices via SSDT.

 

The problem with HPET is the device name is the same in OS X. If I try to disable the original HPET and insert a new one called HPET it won't work. I've tried inserting it as HPT0 but the system wouldn't boot. Basically I just need to add the couple of IRQs to the HPET so it uses those instead.

 

I can use Clover's FixHPET flag but I'd really like to know if this is possible via SSDT. That way Clover won't have to do anything with the DSDT except inject my SSDT.

 

According to the Clover wiki the HPET fix isn't required from Mavericks onwards but I'm still running Snow Leopard so I reckon I still need to use it.

Link to comment
Share on other sites

Curiosity mainly. Can't leave well enough alone. Initially I thought about moving my patches over to Clover but SSDT gives me more control over how things gets injected.

 

It's making less work in the long run as it means I can stop repatching my DSDT when there's a new BIOS update.

 

For now I have it working fine with FixHPET in Clover but hopefully there's some way to add those IRQ edits to the HPET so I can get it 100% done.

Link to comment
Share on other sites

 Share

×
×
  • Create New...