Acer Aspire Reboots on Ubuntu Shutdown

I had a problem using Ubuntu and an Acer Aspire V5-571G. Every time I opted to shutdown, the laptop would reboot again after a few seconds. I found this article with the answer for Fedora and to make it work on Ubuntu I chose to replace the shutdown command as follows:

sudo mv /sbin/shutdown /sbin/shutdown-default

Now that the default shutdown command is moved safely out of the way create a new one:

sudo gedit /sbin/shutdown

Add the following code to the /sbin/shutdown file:

#!/bin/bash
for i in /sys/bus/usb/devices/*/power/control;
    do echo on > $i
done
/sbin/shutdown-default -h now

Make the file executable:

sudo chmod +x /sbin/shutdown

 

 

One Response to “Acer Aspire Reboots on Ubuntu Shutdown”

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>