UNSOLVED

eugene55

updated

11 years ago

E

eugene55

31 Posts

0

17314

June 30th, 2015 15:00

XPS 13 DE unwanted awakening with the lid closed

This problem has been reported by many people. Is there a good solution to it?

Today I put the laptop to sleep manually, then closed the lid and put it in a bag. Getting it out from the bag 20 minutes later I noticed that it was quite warm. The file /var/log/pm-suspend.log indicated that it got awake about 5s after it was suspended, probably just after I closed the lid. I assume that closing the lid triggered the wrong action.

Now, how to force it to ignore the lid?

I tried to modify the "System Setting - Power", then the file /etc/systemd/loginn.conf, then /etc/UPower/UPower.conf. Now at the lid closing indeed nothing happens, but at opening it still gets awake. 

I have  U 14.04, 3.19 kernel, the Dell patches, and the 7265 wifi.

  • Mike A2

    39 Posts

    924

    0

    Posted July 8th, 2015 12:00

    You have to disable mei and mei_me kernel modules. It seems to be a problem related to the Intel Management Enging.

    Add these lines to /etc/modprobe.d/blacklist.conf

    blacklist mei

    blacklist mei_me

    then run sudo update-initramfs -u and reboot. This helped with most of the issues I had just like yours.

  • eugene55

    31 Posts

    924

    0

    Posted July 8th, 2015 12:00

    Again, I found the laptop cooking up in the bag, a couple of hours after I manualy suspended it and put in that bag. The pm-suspend.log file indicated that the laptop woke up 40s after it was suspended. The suspend function on the lid closing had been already disabled.

    Now, I disabled the wake up function on the lid opening. I could not find a regular way to do it, but a sort of a hack:

    echo "LID0 ">/proc/acpi/wakeup

    I'll see if it helps.

  • Mike A2

    39 Posts

    924

    0

    Posted July 8th, 2015 15:00

    Interesting. I dont think my issues were related to the lid at all. It would do the exact same behaviour of waking up from sleep even if the laptop was flat on a table and not moving. I'm fairly certain its all software related. I can tell you with 100% certainty that with the 7265 card, Kernel 4.1.1, and BIOS A04 my problems with it waking from sleep with the lid closed are gone, even with it banging around in my bag. Perhaps try upgrading to kernel 4.1.1?

  • eugene55

    31 Posts

    924

    0

    Posted July 8th, 2015 15:00

    I know of 2 sources of the wake up signal - the lid and the button. But you may be right that there could also be a bug in software. If the effect persists I'll have to look for other solutions. I hope that the sound/microphone issue with the 4... kernels will soon be resolved.  

  • eugene55

    31 Posts

    924

    0

    Posted July 8th, 2015 15:00

    I did it (blacklisting mei...) about 2 weeks ago. Since then I have seen saw 2 events of waking up with the lid closed. Such an effect is not uncommon, in particular with old laptops.  Perhaps, it depends on the quality/alignment of the lid sensor.