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