Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When moving my macbook it sometimes switch off unexpectedly (black screen) and switch on again after several seconds.

I remember solving the problem several month ago by changing a internal MacOS X settings with such a command:

defaults write com.apple.??????

This command disabled the automatic shock detection system that prevent hard drive damage.

Does someone knows this command? a better alternative?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Disable the Sudden Motion Sensor to avoid the harddrive heads parking them due to loud noise in a club.

To check if Sudden Motion Sensor is activated, use the following command and look for the sms setting (1 = enabled) :

# sudo pmset -g

To disable Sudden Motion Sensor, use the following command :

# sudo pmset -a sms 0

To enable Sudden Motion Sensor, use the following command :

# sudo pmset -a sms 1

From http://rc.vc/files/traktor/optimizing_macbook_for_traktor.txt

Hope this helps!

share|improve this answer
    
thank you for that but I have one question: what is the first line for : sudo pmset -g ? –  Martin Delille Feb 8 '13 at 14:25
    
I found by myself : this is to check the current value. –  Martin Delille Feb 8 '13 at 14:27
1  
I edit your answer for further reading. –  Martin Delille Feb 8 '13 at 14:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.