Wednesday, January 21, 2009

loading Ubuntu Linux on Clamshell iBook - part 4

Previous posts in this series: Part 1, Part 2, Part 3.

USB mem-key automounting was pretty easy to add - just added ohci-hcd to the end of /etc/modules, and on next reboot, USB volumes were being automounted.

For the power management misreporting, did as suggested at applefritter, resetting PMU, PRAM and NVRAM followed by a full discharge. Copy-pasting from that post,
1) Reset the PMU again. With the computer off, use a straightened paper clip to push down the reset button "under the grille" near the power button for 5-10 seconds (the proper technique for this model). Your PMU has been reset.

2) Reset the PRAM. Start up the machine, then hold down the following 4-key combination immediately after the startup chime: [Apple]-[Option]-[letter P]-[letter R]. I usually find it helpful to hold [Apple]-[Option]-[letter R] with my left hand, press the power button with my right hand, then immediately press the [letter P]. Hold down all four keys until the Mac has chimed 3-4 times. When you let up, the Mac should start up normally. You'll have to shut it down again for the third step.

3) Reset the NVRAM. Start up the machine, then hold down the following 4-key combination immediately after the startup chime: [Apple]-[Option]-[letter O]-[letter F]. Hold down all four keys until the machine boots up to a grey screen with text: this is Open Firmware mode. NOTE: Be very careful what you do here! It's easy to mess things up in Open Firmware very quickly if you don't know what you're doing! Type the following commands exactly as they're written here, and follow each command by pressing the [Return] key:

reset-nvram
reset-all

Your NVRAM has been reset, and your Mac will now restart itself normally.

Now you can go about the task of completely draining, then recharging, your battery. Go to your Apple Menu>System Preferences>Energy Saver. Select "Battery" instead of "Power Adapter," and set the all the sliders to not sleep, ever. Period.

Now stick a CD in the drive and open iTunes. Turn on Repeat mode and play the CD indefinitely (you might want to pick a CD you actually like ...).

Unplug the power adapter and let the iBook run until it goes into low-power deep sleep. This could be the 5 minutes or so that you've been reporting, or it could be the full 2 hours that the battery should have been holding.

Once you're in deep-sleep mode, plug in the power adapter and allow the battery to charge for however long it takes -- overnight would be ideal. Then you can test the battery under normal use conditions and let us know what (if anything) has changed.

Sometimes, the PMU becomes confused and either (1) reports a charge higher than is actually on the battery, causing the charging circuit to turn off prematurely, (2) reports a charge lower than is actually on the battery, causing the computer to shut down or deep-sleep prematurely, or (3) some combination of these symptoms.

By resetting the PMU, the PRAM, and the NVRAM, the Mac should now have a clean slate and be forced to "relearn" when the battery is fully drained and fully charged. A full drain-and-charge cycle should help it find these parameters.

But unfortunately, after doing all that, still the battery shows only 44% charged, 1.15 hours remaining. Will have to dig some more.

No comments:

Post a Comment