Fixed: ThinkPad X130e reboots on shutdown

Had a problem with my Lenovo ThinkPad X130e, where instead of shutting down, it would run through the shutdown process, power off for a few seconds and then power back up again. I solved this months ago, when I first got the laptop, however it reoccurred yesterday after I upgraded to Mint 14 RC.

The solution was found on the Arch Linux forums; https://bbs.archlinux.org/viewtopic.php?id=138318

I've implemented something similar for Debian/Ubuntu/Mint:

/etc/init/power-control.conf

# power-control - disable power control on PCI bus prior to shutdown

description "disable PCI power management"

start on runlevel [016]

task

script
buslist="pci i2c"

for bus in $buslist; do
for i in /sys/bus/$bus/devices/*/power/control; do
echo on > $i
done
done
end script

Not too sure if the i2c bus requires this treatment as well, but I'll take a look at that after exams.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <strike> <u> <div> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <h1> <h2> <h3> <h4> <h5> <h6> <span> <br> <br /> <p> <pre>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Image CAPTCHA
Enter the characters shown in the image.