01
May
07

GUIDE: OSX + Dell Latitude C840 - P4

Let's talk power management. This is a problematic issue with this machine because the Mac OS X operating system cannot distinguish / interact with the battery(s) in this laptop by default. This is going to require us to take some measures to ensure we're able to be aware of how much power we have left on the clock. This is a another article in this series which succeeds the first, “HOWTO: Mac OSX + Dell Latitude C840 - Part 1”, the second “HOWTO: Mac OSX + Dell Latitude C840 - Part 2“ and the third "HOWTO: Mac OSX + Dell Latitude C840 - Part 3". Quickly, once again, allow me to just state that theReformed and/or it's contributors are not responsible for any loss of data, systems, equipment or other unnamed damages and cannot be held liable pursuant to your actions taken in conjunction with those outlined in this article. Download the bundle here to your Desktop. This is an important feature hack by our good friend keithpk that has opened a door for us that was once locked solid. No more guessing games! So from here:

  1. Unarchive the *.tar.gz file that we've downloaded and extract it's contents to a folder on your Desktop. Inside of this folder we will find the PowerManagement.bundle that will support the use of the battery's capacity, power features and notification system for charging/battery drain.
  2. Once we've done this, let's open up our Terminal application, access the root user account using su once again, our root password and then type cd /System/Library/SystemConfiguration which will take us to the spot our current PowerManagement.bundle is being held hostage :) .
  3. At this point of course, I HIGHLY recommend backing up your previous PowerManagement.bundle. To do this, recalling what we did before, lets create a directory for bundles by typing mkdir /bundle_store .
  4. Now, let's move this old file to it by typing mv /System/Library/SystemConfiguration/PowerManagement.bundle /bundle_store/PowerManagement.bundle
  5. We need to move the new PowerManagement.bundle into it's place by typing mv /Users/yourhomedirectory/Desktop/PowerManagement.bundle /System/Library/SystemConfiguration/PowerManagement.bundle
  6. One last step, navigate to Go > Utilities > Disk Utility and "Repair Disk Permissions" once again through the Desktop interface.

Great! Now we're set to reboot. If you've followed my instructions well, you'll have new functionality in your Energy Saver panel. So let's go back and take a look at this by selecting Go > Applications > System Preferences and selecting "Energy Saver". Woohoo! You should see drop-downs at the top of the window that allow you to change the settings for the system on different power scenarios. You will need to go in again and change the hard disk options when you select new settings from the drop-down. Congratulations! You've got your system running on both AC adapter and battery schemas with a notification icon for the toolbar (optional selection). The next article I write should be more impacting for your system's performance than this one. So, once again, stay tuned!


13 Responses to “GUIDE: OSX + Dell Latitude C840 - P4”


  1. 1 apocalypso May 10th, 2007 at 11:09 am

    I hate to even comment on something I do not even have. e.g. a laptop (I so wish I had a 3.2GHZ mobile) lol but uh, if you think the MAC sucks the juice out of the batteries, I guess you haven’t heard what happens when you run VISTA!!! lol!!

    Anyways, I run many operating systems.

    Each has a purpose. I think that’s the number one question I ask people when they want me to service their b0rked dusty Garbaghahzzzsss. (can’t spell garbage e.g. gar-ba-jah - lol)

    IMO - power management hackers are good people. They spend time, saving things. I think it’s a boring profession personally, but I will personally kiss their ass, when they come up with something that saves energy, money and time!!! I have several stupid backup supplies for my (somewhat ancient boxen.) I have a few new boxes, but not many. They are used to make my TV show.

  2. 2 J. Longoria May 11th, 2007 at 1:36 am

    apocalypso,

    I would be inclined to agree with your assessments of the current OS’ inadequacies when it comes to proper power management.

    However, this article wasn’t drawing conclusions on the capabilities of the Mac OS X to properly manage the battery life/charge, but that the OS itself is INCAPABLE of supporting batteries of other manufacturers by default - simply because this OS wasn’t developed to run on non-Apple hardware.

    Was I unclear in this initially? Perhaps I should re-phrase? I appreciate your comments all the same though.

  3. 3 Sigurd May 12th, 2007 at 9:33 am

    Hello and thank`s for an exelent site and tutorial.
    I have only one problem and that is det display. My display only show 1024X768 and there is no other options. Do you have a fix on this problem? And upgrading til 10.4.9 with OSX update is not to recomend, I had to start start a fresh installation, again:-((

  4. 4 J. Longoria May 13th, 2007 at 6:24 pm

    Good morning Sigurd,

    Not a problem at all, I am happy to do this for those enthusiasts like myself that would like to experience the beautiful integration of Mac and BSD/Mach, supported on our Intel-based hardware.

    Regarding the detection of the LCD display - the laptop uses an older card called the nVidia GeForce 440 GO. It’s capabilities aren’t very attractive and it is probably the weakest link in our laptops.

    There are sorted reports with people claiming they got theirs to work using the MacVidia 1.8 drivers, while most say they cannot and have to default strictly to the default display resolution. QE/CI are disabled by default in this mode and the resolution won’t scale accordingly.

    DiegoMax himself stated on IRC that the support for the card with their driver was spotty at best and seemed to indicate that the hardware wasn’t vital due to it’s age. The graphics card had so many variants under the apparent umbrella name of nVidia GeForce 440 GO, that it was entirely a 50/50 gamble that we’d ever get that card up that was although recognized, but not initialized.

    I’ve tried 3 manual installations and two automatic installations of the MacVidia drivers to no avail with a deep editing of the kexts providing the kickstart to the hardware.

    Just as a notice, the driver architects are supposedly planning to remove support for this type of archaic card altogether, based on testimony from DiegoMax via IRC, in a potential new release of the MacVidia series of drivers that np_ is working on. There are confirmed reports of individuals being able to at least get better functionality from the card using Natit/Titan ‘injectors’ (more of a hardware assistant than a driver), but I’ve not yet personally had success with them.

    If I do find a solution, rest assured, I will post an article about it straightaway. It is one of the topics on my list to publish on regarding this OS on this specific hardware.

    Regarding the update to 10.4.9 - it can be done, but you should not do it through the OSX Software Updating service. You need to use a standalone installer package and type some commands in Terminal. I will be posting another article on this here in the coming future, so stay tuned.

    In the meantime, I do suggest visiting the MacSpeak IRC network and asking some questions about this on #OSx86 and the Insanely Mac forums to try some of the methods others have used. Perhaps you will have better luck than the rest of us. :)

  5. 5 apocalypso May 18th, 2007 at 3:20 pm

    yeah, I gotta admit I was concerned with …..
    Saving power.

    lol

    Much love anyway.

  6. 6 Dickinstein Jun 22nd, 2007 at 6:28 pm

    Hi Guys

    Wanted to say thanks for the walkthrough , I did wonder if i could ever get the mac os on such a old laptop but it worked a treat. The old problem i had and subsiquently the reason i uninstalled os x was the lack of display driver support. Osx it’s self worked fine but no decent drivers ment it lagged sometimes in performace and i could not use any games or the dvd player . You wrote on the end of this post that further parts of this will have more of an inpact on system performance if this problem is rectified or you have anyway you know i could rectify this myself to get the required performance then please tell me and i woud do it as i prefare o x to windows but don’t have the money for a mac just yet.

    Thanks Andy

  7. 7 phra1se Jun 24th, 2007 at 9:48 pm

    yeah great guide I didnt do Parts 3 or 4 since the laptops battery wont charge. I was wondering how easy is it to install Jas’s 10.4.9 Update? Is it just repair disk permissions? or alot more to it? The last time I tried I was on version 10.4.6 and it was a downhill battle from there. Well using this guide up till part 2 was all I needed but whats funny is I notice no ethernet is listed Kext edit time

  8. 8 J. Longoria Jul 7th, 2007 at 2:32 pm

    phra1se,

    Well, I’m a bit disappointed you didn’t read part three ( http://www.thereformed.org/2007/04/30/howto-mac-osx-dell-latitude-c840-part-3/ ), as I’ve specifically gone into how to resolve the built-Ethernet issue altogether.

    As for the update to 10.4.9, there are so many variants of the 10.4.9 update, it may or may not work. Personally, I just used the stand-alone Delta Installer from Apple’s software update website. You kind find some tutorials on how to do this on Insanely Mac and I might write one myself here at a later date.

  9. 9 J. Longoria Jul 7th, 2007 at 2:33 pm

    Dickinstein,

    If I find it, you can be assured it will make it into the part five article.

  10. 10 M. Lapp Jul 31st, 2007 at 5:07 am

    Hey man, I’m writing this to say, Thanks A Lot! I’ve been searching for a coherent guide to install OSX for my dell for quite a while and this guide is great!

    I’ve got a Dell Inspiron 8200, and Ive read that these two machines are 99% the same hardware so, I followed your guide, and VOILA, a beautiful osx screen staring me in the face, but might I say, too fuzzy at 1200*800.

    SO, I’ve figured a way to get macvidia drivers working on the GeForce4 440 Go, and it was a real pain to figure out, but easy once you know how. Here’s how I did it.

    To download MacVidia drivers, you need to register, sorry, I couldn’t find a way around it. Go to the download section and stay away from the installers, go directly to the driver releases. Download MacVidia NV Driver 1.0.7 (beta 2 build 2). This is the only driver I have been able to make work so far (PS, no cl or qe support in this version.)

    The files are NVidia.kext and NVdriver.kext. They need to go in /System/Library/Extensions/, and the IONDRVSupport.kext needs to find a new home somewhere else. So do this from the osx gui.

    Copy NVidia.kext and NVdriver.kext to /System/Library/Extensions/. It will nag about authentication, just put your admin password in.

    The Next step is to move IONDRVSupport.kext to someplace safe, in my example i moved it /kextsave because believe me, if this doesnt work for you, you’re going to be glad you saved it!

    in terminal:

    sudo bash
    (then enter your admin password)
    mkdir /kextsave
    mv /System/Library/Extensions/IONDRVSupport.kext /kextsave

    Now we have to repair permissions in terminal

    cd /System/Library/Extensions/
    chown -R root:wheel ./NV*
    chmod -R 755 ./NV*

    Now that we’re sure that the permissions are right, we clean up the extension caches so this baby will fire up when we reboot.

    rm -f /System/Library/Extensions*
    (ignore the directory error)

    After this, its really up to you what you’d like to do, reboot or test. I tested to see if the kext would load first and got some strange black screen, rebooted and my screen came back, with the new driver!
    What I did was,

    kextload -t /System/Library/Extensions/NVidia.kext

    at this point my screen went black. what we’re looking for is anything in the terminal that suggests the kext will load. if you have dependency errors, its definitely a permissions error, go back and follow my directions about permissions exactly.

    ok, i prayed for you, did the screen come back after a reboot? If it did, you can go to the system preferences > displays > set to 1600*1200. I hope so, but if it didnt, I’d like to un-screw up your computer because I feel guilty.

    boot into single user mode by hitting F8 and enter ” -s ” and let it do its thing, then type

    /sbin/mount -uw /
    cd /System/Library/Extensions/
    mv /kextsave/IONDRVSupport.kext/ ./
    rm -d ./NV*
    chown -R root:wheel ./IONDRVSupport.kext
    chmod -R 755 ./IONDRVSupport.kext
    rm -f /System/Library/Extensions*
    (ignore the error)
    rmdir /kextsave
    reboot
    wait a while

    I hope everybody loves the 1600*1200ness of your new dell. Now, somebody get this infernal Truemobile 1500 (Orinoco Gold) wireless card going!

    -Mike

  11. 11 M. Lapp Jul 31st, 2007 at 5:16 am

    correction to the last part guys

    instead of

    rm -d ./NV*

    it should be

    rm -rd ./NV*

    This is important

    -Mike

  12. 12 J. Longoria Jul 31st, 2007 at 3:18 pm

    @Mike

    Thanks for taking the time to sit down and work this out, I’ve previously done the same, but not found the time to post it up.

    So here is what I am going to do - my next article, Part 5 of this series, is going to be excerpts of your comments here, published and formatted appropriately as the blog entry. You’ll be credited, of course.

    Thanks again!

  13. 13 M. Lapp Jul 31st, 2007 at 5:25 pm

    Glad I could help! I wouldn’t worry too much about the credit, I couldn’t count the sources I used to figure this stuff out.

    -Mike

Leave a Reply




May 2007
M T W T F S S
« Apr   Jul »
 123456
78910111213
14151617181920
21222324252627
28293031