Jump to content

Help with installing Lion on D830


Recommended Posts

Sorry it has been awhile since I have posted.

I ran into a problem where the ~` key registered as §± instead. For most people this probably is not a huge deal, but as a programmer and also someone who uses latex on a daily basis not having that key was painful. I tried Ukelele after reading about it on https://osxlatitude.com/index.php?/topic/700-on-d430-133-no-tilde-key-%C2%A7%C2%B1-instead/?hl=tildeand http://www.osxlatitude.com/remapping-keys-in-osx/, but it didn't work. Eventually I stumbled across this https://github.com/tekezo/Karabiner/issues/82. I installed and configured KeyRemap4MacBook and that did the trick! It took me a bit to figure out how to get it configured, so in case anyone else is wondering all you need to do is go to the "misc&uninstall" tab, click "Open private.xml", open the file and paste the following into it.

<?xml version="1.0"?>
<name>Fix Tilde</name>
<autogen>--KeyToKey-- KeyCode::UK_SECTION, KeyCode::BACKQUOTE</autogen>

I could never get the atheros wireless card to work. I'm not sure why. I ended up buying a dell broadcom wireless card that was on your list as being compatible, installed it and it works perfectly.  Doesn't to 5Ghz or have bluetooth, but neither of those are deal breakers for me.

I upgraded my memory from 2GB to 4GB and that has helped a lot with the performance. I also bought a new battery since the one that came with the computer has long since died. The cheap battery I bought is already dead, next time I will spend more then $15. Does anyone have any recommendations for a good source for quality d830 batteries?

The issue I'm currently fighting with is getting the machine to sleep - or rather getting the machine to stay asleep. I ran the commands to disable hibernate, and now the computer will go into sleep but it wakes up again immediately. I don't think I'm using the NullCPUPowerManagement, or at least it is not in my /Extras directory. I have "wake from usb" and "wake from lan" both disabled in BIOS, as well as the modem, parallel port, and serial port. Seems like a similar problem to https://osxlatitude.com/index.php?/topic/971-d830intel-lion-instability-when-upgrading/?hl=sleep, but I don't know if that was ever resolved. It sounds like at least one person has tried removing AppleACPIPlatform.kext that is in S/L/E, but that was the fix for 10.9.2 and I'm running 10.7.5 so I don't know if that is advisable (https://osxlatitude.com/index.php?/topic/6311-d830-nvidia-1092-broke-sleep-any-fix-or-downgrade/?hl=sleep). I tried running myHack's full version of myFix just for good measure. Any suggestions for fixing sleep?

Link to comment
Share on other sites

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

  • Administrators

Re: keyboard layout, you may want to consider the ISO layout of your VoodooPS2Controller if that's what you use:



In Lion 10.7.5, you have to run AppleACPIPlatform kext v1.3.5 or v1.3.6 from SL, otherwise your laptop would KP. Check your hibernation mode, your power savings settings in the PrefPane and verify that you do have native CPU SpeedStepping in place (correct tuned FakeSMC kext + correct SMBIOS profile).



If you have all that but still experience issues with sleep causing immediate wake, then the issue is DSDT related and I'd suggest you post your current DSDT.

Link to comment
Share on other sites

About the keyboard:
What I currently have is serviceable, if suboptimal. That said, I am certainly up for trying to improve the situation. It doesn't look like I am using the VoodooPS2Controller - at least it is not in my /Extra directory. Basically, if it wasn't included in the D630 lion fullpack then I don't have it  - my hackintosh-foo is not  high yet to have done anything like mixing and matching kext files :P. I've posted the contents of my /Extra directory below. Should I consider switching to the VoodooPS2Controller? I have an ANSI layout, but are there other benefits to the Voodoo version? Based on the install instructions at https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/wiki/How-to-InstallIt looks like it would replace my ApplePS2Controller.kext and AppliceACPIPS2Nub.kext files. It also mentions something very specific about "RehabMan's branch of kozlek's FakeSMC" for ProBook users - I understand what software branches are but I don't understand the significance of this or if it would also apply to someone with a D830.

For Sleep:
I'm not sure what you mean by check the "hibernation mode", but I've re-run following commands

sudo pmset hibernatemode 0
sudo touch /var/vm/sleepimage
sudo rm /var/vm/sleepimage

One thing I should point out is that on that same page the first step is to check "use secure virtual memory" under "Preferences Panel > Security > General " - but I don't have that option. I'm guessing it was something in SL that isn't in Lion? Unless by "Preferences Panel" they didn't "System Preferences" in which case I don't know what they are talking about.

With regard to the performance tuning with fakesmc - I'm afraid I'm rather lost as to what I'm supposed to do.

  •  I'm pretty sure that I don't have CPUMonitor, NullCPUPowerManagement,VoodooPState, VoodooTStateSync, or SleepEnabler kexts because they are not in my /Extras.
  • I do have SpeedStep enabled in bios. My FakeSMC's Info.plist says it is version 5.2.678 and it has a "Plugins" directory with "ACPISensors", "CPUSensors", "GPUSensors", and "LPCSensors" inside it.
  • My /Extra/smbios.plist has the Model Number set to MacBook(5,1)
  • I don't know what "SMC compatible -> use "smc-mcp"" means or what I'm supposed to do.
  • I don't know what "Native SpeedStep fully supported through entire cpu speed range" means - is this a setting I should be checking?
  • Same for "Native Sleep/Wake…" and "X3100 monitoring…" - are these settings I should be checking or just telling me what should be supported?

Just in case I've inadvertently answered your question about having certain things in place, I've gone ahead and attached my DSDT file.

/Extra/Extensions/ Patched_10.7_AppleRTC.kext/

Thanks for your help! Also - is the paypal to [email protected] method still a good way to donate?

Link to comment
Share on other sites

  • Administrators

Forget the VoodooPS2Controller then. Keep the ApplePS2Controller you currently use. What you can do though is add your country Logitech layout if it's available in Ukulele package. Use the older version v2.2.8 rather than newer version v3.0.4. Simply copy the 2 files for your country layout in /Library/Keyboard Layouts and reboot.


Keyboard mapping is an old matter and has been mentioned before on the forum: https://osxlatitude.com/index.php?/topic/2616-non-mac-keyboard-maps/

Link to comment
Share on other sites

Hmmm - well I did try Ukulele before, but I didn't use a Logitech layout so I will give that another go.


Any ideas about why my laptop won't sleep given the information I posted above? 


I forgot to mention my settings under "System Preferences -> Energy Saver". Under "Power Adapter"

  • Computer Sleep = 1Hr
  • Display Sleep = 15 Min
  • Put the hard disks to sleep = TRUE
  • Wake for network access = FALSE
  • Start up Auto after power failure = FALSE
  • restart automatically if the computer freezes  = FALSE

And under "Battery"

  • Computer Sleep = 1Hr
  • Display Sleep = 15 Min
  • Put the hard disks to sleep = TRUE
  • Slightly dim display = TRUE
  • Auto reduce brightness before sleep = TRUE
  • Restart Automatically if the computer freezes = FALSE
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...