Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running an ubuntu 12.04 on my laptop. And, I'm going to use it as a home server.

I have 3 TiB-hard disk connected through a usb port. This disk is necessary. But, every time I close the lid of the laptop, I can't use it because it is disconnected from the laptop.

How can I keep the usb-disk mounted on my laptop.

My laptop has an atom CPU, and it is 2 yrs old.

share|improve this question
Does the laptop enter some kind of sleep mode when you close the lid, or is it still fully up and running? – Michael Kjörling Jul 2 '12 at 13:18
In general, laptops tend to not be very well suited as (even low-powered) servers because of limited heat dissipation capability. This will almost certainly become a concern if you run it 24/7. – Michael Kjörling Jul 2 '12 at 13:19
I forgot I mentioned it. It doesn't fall into sleep since I prevent it from sleeping. I put my laptop upside down to help it cooled a little bit. It is still too warm as you mentioned. I'm looking for the coldest place in my house for now. – 19 Lee Jul 2 '12 at 14:46
up vote 2 down vote accepted
# disable external wake-up; do this only once
echo disabled > /sys/bus/usb/devices/usb1/power/wakeup
# turn USB power on
echo on > /sys/bus/usb/devices/usb1/power/level
# turn suspend off
echo suspend > /sys/bus/usb/devices/usb1/power/level

also go to bios and check usb settings.Some bios have option named always on usb. enable it. references:

share|improve this answer
You're a genius! I guess the following is working: echo disabled > sudo /sys/bus/usb/devices/usb5/power/wakeup – 19 Lee Jul 2 '12 at 13:26
Thank you dude. – ichathan Jul 2 '12 at 14:30

Your Answer


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.