MBP 17″ Lid Switch Issues


My MacBook Pro 17″ has the common issue of waking up from sleep during transportation. Despite owning it for 7-8 months, I did not want to take it back as it is a relatively common problem with many people reporting that taking it back did not resolve this issue. To avoid shutting it down, I have been putting the machine to ‘deep sleep’ for every time it needed to be transported using the ‘deep sleep’ widget. Eventually, I really grew tired of this drill as with two gigs of memory, MBP requires long times to write and subsequently read from the disk for going to and waking up from deep sleep.

My problem is an obvious one. When you close the lid the machine goes to sleep. But when I apply pressure to the closed lid a number of different ways just like it might just happen while being carried in a bag, the machine wakes up. This problem appears to be related to the sensitivity and the position of the lid switch.

Just before I opened up the MBP in hopes of repositioning or shiming the sensor, I discovered that you can actually turn off the switch using the following command in the terminal (assuming that you have enabled the root account in netinfo manager):

sudo pmset lidwake 0

The beauty of this is closing the lid puts the machine to regular sleep. Opening the lid does NOT wake it up. Pressing any button or power button wakes the machine up once the lid is open. Problem solved!

Note: reverting back is accomplished by using the following command:

sudo pmset lidwake 1

©2007 EthnoSync.com. All Rights Reserved.