3 ms·
Funny enough, I actually had a plenty of issues with XPS and Linux. The machine would not go to sleep when I closed the lid and put it in the bag. The result -
by sega_sai 5y ago
Funny enough, I actually had a plenty of issues with XPS and Linux. The machine would not go to sleep when I closed the lid and put it in the bag. The result - an extremely hot and loud laptop. I think that may have been a BIOS issue, as it stopped happening after a year or so.
- ThePhysicist 5y agoOften it's a problem with the Linux ACPI settings. I had to write a script that checks entries in /proc/acpi/wakeup and disables them as the laptop will otherwise often immediately come back from sleep due to being woken by the ethernet card or another device. That's not specific to Dell devices. Otherwise checking syslog often reveals why going to sleep failed, sometimes it's a particular program that refuses to freeze. Here's the script btw for those that have the same problem, you'll need to modify the identifiers based on your hardware after identifying which devices cause the problem #!/bin/bash (cat /proc/acpi/wakeup | grep "GLAN" | grep "enabled") && echo "GLAN" > /proc/acpi/wakeup (cat /proc/acpi/wakeup | grep "XHC" | grep "enabled") && echo "XHC" > /proc/acpi/wakeup
- 5e92cb50239222b 5y agoHardly relevant to the topic at hand, but I'd simplify this to grep 'GLAN.*enabled' /proc/acpi/wakeup && echo GLAN >/proc/acpi/wakeup grep 'XHC.*enabled' /proc/acpi/wakeup && echo XHC >/proc/acpi/wakeup