Hot answers tagged

4

It turns out this is now a documented problem with the MacbookPro 11,4 and 11,5 within the latest mainline linux kernel (I think up until 4.6 at the time of writing this). There is a work-around that requires patching/compiling a custom kernel. It's located at Comment #172 of https://bugzilla.kernel.org/show_bug.cgi?id=103211. Specifically, diff --git a/...


3

When a machine goes into the suspend state the kernel freezes (stops) user space programs and kernel threads. Then the kernel will traverse all the devices and calls the suspend methods on each driver. Each driver has the know-how to put the hardware into a deep sleep state (or even power it off) (and the converse to bring it back to a sane running state ...


2

Here is a workaround that uses the idea from Malith's answer, but automates a few steps, let me know if it works for you, and if not, I have some other ideas that may work. Create a file named /etc/systemd/system/suspend-workaround.service, with the following content: [Unit] Description=suspend lightdm workaround Before=sleep.target StopWhenUnneeded=yes [...


2

While trying everything again, I seem to have found a combination of kernel instructions that works. I had tried all 6 or 7 together, and each one individually, but not this particular combination of three arguments. I added just these three: i8042.noloop i8042.nopnp i8042.reset to the line GRUB_CMDLINE_LINUX_DEFAULT="" in the file: /etc/default/grub ...


2

Toggle- dim a specific screen The command to dim the screen (not switch off, but not "sleep" either) would be: xrandr --output $monitor --brightness 0 You can however easily toggle- dim the targeted screen with a keyboard shortcut. Add the script below to a shortcut: #!/bin/bash # --- set your monitor below monitor=VGA-0 # --- if [ -z "$(xrandr --...


1

I did a Google on "WD Caviar Green 2TB disable energy saving" and found a number of hits. It probably has to do with the WD's attempt at saving energy by parking the heads, or spinning down the drive. You might look at: http://forums.whirlpool.net.au/archive/1367904 http://serverfault.com/questions/242891/disable-caviar-green-drives-spinning-down which ...


1

This problem happens on my Ubuntu system as well. When it does, log in again, open a terminal, and run $ ps aux | grep suspend If you have the same problem I do, you will see a failed/hanging suspend process. That's what causes the system to start right again, because the suspend isn't finishing itself. If in the same terminal you try this $ sudo /...


1

I found the answer here. Apparently you had to go into NetworkManager.conf and edit the file from managed=false to managed=true and then open up Ctrl+Alt+T and type in sudo service network-manager restart


1

If the external keyboard is USB, you probably can, although it depends on your motherboard. Check /proc/acpi/wakeup it shows all supported wakeup sources and their states. To toggle the state, simply echo the wakeupsource name back to the same file. Example, to enable/disable wakeup from a usb device on my system, i do: # cat /proc/acpi/wakeup |grep HC ...


1

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604 Check out Post #143 in that thread. Argh, missed a “”→"" (I stupidly copy-pasted my script from another place I'd posted it instead of from the actual file …). Trying again: sudo mkdir -p /usr/local/bin echo '#!/bin/sh n="$(fgconsole)" || exit 1 case "$...


1

Your missing the DISPLAY definition. Also, making it depend on Network connection is better. For me on arch linux works: /etc/NetworkManager/dispatcher.d/20-owncloud #!/bin/sh case "$2" in up) # is called as soon as connection is up env DISPLAY=:0 sudo -u yourusername owncloud ;; down) # ...


1

When you needed to suspend, do it using the shell opened by Ctrl + Alt + F2 login to that shell using your username and password. Then type sudo pm-suspend to suspend the machine. (If not, try installing pm-utils using sudo apt-get install pm-utils) To resume, press any key and you will see the last shell window. Now you can press Ctrl + Alt + F7 to get your ...



Only top voted, non community-wiki answers of a minimum length are eligible