Jump to content

Lion DSDT Sleep fix for HP DC7900


  • Please log in to reply
14 replies to this topic

#1
ebmesnow

ebmesnow

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Hope someone can help

I have a HP DC7900 with an ATI HD5670 GPU successfully running retail Lion the only extra kexts being fakeSMC, VoodooHDA and AppleIntelE1000e. I have made several modifications to the DSDT most important being HPET which stopped the USB ports working. The only remaining item being sleep not working, it goes into half sleep, though fans still running then it will not wake.

I did previously have it working, sort of under Snow leopard 10.6.8 using sleepenabler, although the first time it went to sleep it woke immediately, after that it worked perfectly. With Lion I get kernel panics when I use sleepenabler regardless of pmVersion settings.

If nothing else hope my DSDT helps someone else getting a HP DC7900 running, you do need to add a supported graphics card though. I have also included the original DSDT extracted from Win7.

Many thanks

Attached Files



#2
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,139 posts
  • Gender:Male
  • Location:Rio de Janeiro
Attached File  dsdt.ebmesnow.zip   19.54KB   70 downloads

#3
ebmesnow

ebmesnow

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
MaLd0n

Many thanks for the very quick reply, unfortunately I got a kernel panic in AppleIntelCPUPowerManagement 'No HPETs available CPU(s) configured incorrectly'

However got a little further comparing your DSDT with mine, made some changes on mine and have got sleep working although it still behaves a little strange first time.

One difference I see between the two is the IRQ's for HPET I have 4 defined whilst yours has 2 and they are different.

I will have a play over next couple of days and see what makes a difference.

Thanks again

#4
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,139 posts
  • Gender:Male
  • Location:Rio de Janeiro
enable HPET in bios setup

#5
ryanodabees

ryanodabees

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
I have a compaq/hp 6510b which I can get almost all features running correctly on a Lion Retail installapart from sleep using a supplied DSDT from kexts.com. I have similar problem where feels like it has gone to sleep but fans stay running and power light stays on. The graphics is 3100 with dual link 1400 x 900 and uses a Natit kext to get that functioning correctly. If there is achance I would love for someone to have a look at the dsdt and possibly get sleep working. thanks
RYan
DSDT.aml is attached wi th smbios and chameleon options thanks for looking

Attached Files



#6
ebmesnow

ebmesnow

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

enable HPET in bios setup


The HP DC7900 bios is a bit limited and does not allow the switching on/off of HPET. However I managed to fix my original DSDT by comparing with what you provided and at least I have working after a fashion. It does go to sleep and wake correctly now except the very first time it goes to sleep it goes through the process of sleep but then wakes immediately before going straight back to sleep again, after that it functions perfectly every time until next re boot, I can live with this extra few seconds.

In the end I think it was removing the IRQ from the RTC which I thought I had already done. The kernel panic in MaLd0n's DSDT was nothing to do with the IRQ for HPET which was my first thought.

If anyone is interested I have attached my DSDT, I also have an edited plist for voodooHDA as by default this does not work properly with the DC 7900.

MaLd0n many thanks for your help, and such a rapid reply.

Attached Files



#7
ivokik

ivokik

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Read news about OSX in Hackintosh world !

The HP DC7900 bios is a bit limited and does not allow the switching on/off of HPET. However I managed to fix my original DSDT by comparing with what you provided and at least I have working after a fashion. It does go to sleep and wake correctly now except the very first time it goes to sleep it goes through the process of sleep but then wakes immediately before going straight back to sleep again, after that it functions perfectly every time until next re boot, I can live with this extra few seconds.

In the end I think it was removing the IRQ from the RTC which I thought I had already done. The kernel panic in MaLd0n's DSDT was nothing to do with the IRQ for HPET which was my first thought.

If anyone is interested I have attached my DSDT, I also have an edited plist for voodooHDA as by default this does not work properly with the DC 7900.

MaLd0n many thanks for your help, and such a rapid reply.


Thanks for the info guys. I am installing the DSDT now, and hoping the sleep wil work properly and the audio.
Restarting now... :D

#8
PaddyBhoy

PaddyBhoy

    InsanelyMac Protégé

  • Members
  • Pip
  • 25 posts

Thanks for the info guys. I am installing the DSDT now, and hoping the sleep wil work properly and the audio.
Restarting now... :whistle:

did you get any joy?

#9
fpdesigner

fpdesigner

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 127 posts
  • Gender:Male
  • Location:italy
I prefer snowleopard
A questionm can you update to 10.6.8
i like nawcon
What the best distro ?

#10
Blacky

Blacky

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Hi everyone.

I am also working on getting OSX up and running on a DC 7900 using Lion 10.7.2. I've managed to get everything working well so far except for the sound.
The latest version of VoodooHDA (2.7.3) won't load at boot and if it does leads to kernel panic. If I load it manually the ports are not read correctly and I get no internal speaker and no sound volume control (I think I know how this can be fixed).

Now I am trying to get the sound working using AppleHDA from this link: http://www.osx86.net..._10.6.4%29.html, I know the sound card is an ADI 1884, but I have no idea how to add it either to AppleHDA or in the DSDT.

By the way, the above DSDT works great.

Any piece of advice would be great.

#11
fpdesigner

fpdesigner

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 127 posts
  • Gender:Male
  • Location:italy
DC7900 is CMT o SFF, Thnxs
What distro or bootcd have you used ?

#12
Blacky

Blacky

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
It's SFF.
I used iATKOS L2 to install OSX and than updated to Lion 10.7.4.
I've decided to use Voodoo HDA for now, which I manually load after OSX loads.
Still no internal speaker. Also if the computer sleeps for too long, it freezes when I log back in into OSX (it looks like it can't weak up the HDD even though I set the HDD to never sleep).
Apart from that, everything is working, including the video card (Nvidia GT 440) and the wireless card.

#13
fpdesigner

fpdesigner

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 127 posts
  • Gender:Male
  • Location:italy
Hi can you post a geekbench result thanks

#14
Blacky

Blacky

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Sure:

http://browser.prima...ekbench2/790463

#15
forbin

forbin

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
  • Gender:Male

The HP DC7900 bios is a bit limited and does not allow the switching on/off of HPET. However I managed to fix my original DSDT by comparing with what you provided and at least I have working after a fashion. It does go to sleep and wake correctly now except the very first time it goes to sleep it goes through the process of sleep but then wakes immediately before going straight back to sleep again, after that it functions perfectly every time until next re boot, I can live with this extra few seconds.

In the end I think it was removing the IRQ from the RTC which I thought I had already done. The kernel panic in MaLd0n's DSDT was nothing to do with the IRQ for HPET which was my first thought.

If anyone is interested I have attached my DSDT, I also have an edited plist for voodooHDA as by default this does not work properly with the DC 7900.

MaLd0n many thanks for your help, and such a rapid reply.


ebmesnow,

Thanks for your DSDT. Using it in conjunction with SleepEnabler has allowed me to put my DC7900 to sleep and to wake it up again by pressing the power button. However, when I do press the power button, only the display wakes up. The keyboard and mouse are no longer functional. Do you have an updated DSDT for the DC7900 system, or can you provide any advice?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy