4

My laptop is Toshiba M840. When I suspend, my laptop auto resumes immediately. I used acpitool to check what devices made my computer waking up. After I disable the XHC, my computer suspends properly. But after restart, the XHC was enabled. How can I disable it forever?

Luke_0
  • 187
  • 1
  • 12
user251047
  • 41
  • 4

1 Answers1

3

You can try to disable it with a Upstart script every startup automatically:

Create a file etc/init/disable-XHC.conf

Content:

start on started dbus
stop on stopping dbus

script
   sudo -u root sh -c "echo 'XHC' > /proc/acpi/wakeup"
end script
TuKsn
  • 4,370
  • 2
  • 26
  • 43