wake-up enabled by acpi
Now call me an old traditionalist if you like, but when my laptop shuts down I would like it to 'disable' things not 'enable' them, and certainly not any wake-up device. I don't know for sure that this is the cause of these problems (incidentally it hasn't happened for a while), but armed with an error message I was at least able to Google a bit. The first bit of information I came up with was that if you run this command:
- Code: Select all
cat /proc/acpi/wakeup
You get a result something like:
- Code: Select all
Device S-state Status Sysfs node
HDEF S3 *disabled pci:0000:00:1b.0
LANE S4 *enabled pci:0000:08:00.0
USB1 S3 *disabled pci:0000:00:1d.0
USB2 S3 *disabled pci:0000:00:1d.1
USB3 S3 *disabled pci:0000:00:1d.2
EHC1 S3 *disabled pci:0000:00:1d.7
Which quite clearly states that 'LANE' (which I presume refers to wake on lan) is enabled by acpi despite the fact that it is very definitely disabled in my bios. So is acpi overriding bios settings now? I don't know but it would explain the problem.
Obviously my next search was for a way to disable this setting - but it isn't that easy. There is a program that you can download (you wont have it installed) called ethtool which will disable the setting, the command is:
- Code: Select all
ethtool -s eth1 wol d
This approach has two major drawbacks - first, is not permanent, the setting is re-enabled at the next boot or probably even if you restart the interface. The second is that it will not configure wireless interfaces and at the moment that is what I am using.
I did find a supposed solution to the first drawback which is to add the line:
- Code: Select all
post-up ethtool -s eth1 wol d
To /etc/network/interfaces, but this doesn't work for me presumably because I an not using an ethernet interface.
So that is as far as I have got at the moment. I may be completely on the wrong track, or I may have discovered the cause of the mysterious boots along with a serious bug in acpi I don't really know for sure. If anyone can take my line of research further, or just plain tell me I am wrong, feel free.








