Tag Info

Hot answers tagged

7

When hibernating, the operating system is off and can't do anything. It's the computer's BIOS that does the waking up, so it's only possible if your computer's BIOS supports it. With some BIOSes, you can configure a scheduled wakeup quite easily. Press the key that gets you into "setup" or similar when the computer first boots up (often F2 or Del) and see ...


6

You can do (at least half of) this with Gnome Schedule. (sudo apt-get install gnome-schedule) (NB: it gets put in your launcher as Scheduled Tasks, though typing gnome-schedule still brings it up.) After launching it, "New" -> "Recurrent Task". Fill in the form as you see fit. The command to hibernate is /usr/sbin/pm-hibernate (Suspend is ...


6

pm-utils provides a bunch of scripts that run on sleep/resume, you could add your script there, but you'll need to be careful as screwing up will likely break resume. Look in /usr/lib/pm-utils/sleep.d, that's where the scripts are, you can look at the script called 95led as it's quite simple and will be a good model to start with. 95led provides cases for ...


4

What I found I am going to take the time to explain a few things that I found out. This should help people understand why this is such a complicated process, and what they can do to help make it better, at least for them. First, the Bluetooth radio on the MBP is a "USB" device. This is quite common on laptops and even some desktops. Because of that Linux ...


4

              How to Make Your Linux PC Wake From Sleep Automatically Want to put your Linux PC into sleep or hibernate mode and have it automatically wake at a specific time? You can easily do this with the rtcwake command, included by default with most Linux systems. This can be useful if you want your computer to do something at a specific time, but ...


4

This problem was probably caused by strange USB signals. gedit /proc/acpi/wakeup showed me, that wakeup was enabled for USB0 and USB2. sudo -s echo USB0 > /proc/acpi/wakeup echo USB2 > /proc/acpi/wakeup switched them to disabled (checked by gedit /proc/acpi/wakeup again or refreshing the file-view), and after that, the computer stays in suspend ...


4

Perhaps http://forum.xbmc.org/showthread.php?tid=121158 will help? This is what it says: For those who are updating to the 3.2 kernel (which should be everyone due to the recent root exploit), you'll notice your USB wakeup is probably broken. They changed the default wakeup policy (http://www.spinics.net/lists/linux-usb/msg53661.html), so you'll need to ...


3

Let's say you have a certain /path/to/your/soundfile.mp3 Try: sudo gedit /etc/pm/sleep.d/50playsound Add the folloowing lines into the file. case "$1" in hibernate|suspend) # Do nothing ;; thaw|resume) play /path/to/your/soundfile.mp3 ;; *) exit $NA ...


2

Preferably try to fix your Hibernation function if its not working too. because in similar cases with "sleep problem",seems hibernate is more handy and workable solution.refer to this post Test pci=noacpi as a boot parameter take a look at /etc/default/acpi-support , probably it needs some changes and if you are lucky, this command can help you: sudo ...


2

Like the other files at /proc/ the file /proc/acpi/wakeup is not a real file but an interface to some kernel functions. If you write something into it, the value you wrote isn't stored in a file but a kernel functions is called and does something with the value. If you read from it another kernel function is called that creates some output that appears as ...


2

I don't know if there is a way to run things after entering your password as you request and I doubt there will be since that is handled by the desktop environment (probably the screensaver daemon). However, it should work perfectly well if you add the right scripts to /etc/pm/sleep.d. Since you have not shown the scripts you've tried, my guess is that you ...


2

I found that it is difficult to wakeup Ubuntu from hibernation. So I use the following commands to boot Ubuntu at a predefined time: # Clear previously set wakeup time sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm" # Set the wakeup time at 2:02 am sudo sh -c "echo `date '+%s' -d '2am next day + 2 minutes'` > /sys/class/rtc/rtc0/wakealarm" ...


1

Check out the version released with Precise (wakeup 1.2). This version will also work in Oneiric, although at this point is not in the oneiric repositories. The newer one should be a lot more stable, and has been particularly updated with respect to the weather plugin: https://bugs.launchpad.net/wakeup/+bug/891033


1

I've seen this, and assumed it was simply showing the video buffer briefly before refreshing the screen. I assume that if you were to disable the option to lock the screen after some time (in the Screen settings dialog), that it would not do this. If it does, then there's definitely a problem. But I think it's probably normal, perhaps even a "feature" ...


1

I ran into this problem again on Ubuntu 12.10. The suggestions from user MTS unfortunately also did not work for me. However, you can write a script to automatically set the usb properties in /proc/acpi/wakeup right before every suspend. The solution is based on creating a suspend hook (based on this Archwiki article). Save the following as ...


1

Nothing is automatically waking your computer up from hibernate. If your computer is in the hibernate state, it is actually powered off. The only way to turn it back on, is to push the power button. If you mean from suspend, then most likely it is a configuration in your BIOS. There are no active programs running while the computer is in suspend mode. It's ...


1

The following worked for me: cat /proc/acpi/wakeup Look for any items with status enabled that look like they don't belong there (for me, anything except LID0). Then disable them by saying, for example: sudo echo XHC0 > /proc/acpi/wakeup Check that the corresponding entries have indeed been disabled, send the laptop into suspend and hope for the ...


1

this is how I got mine working (just done this this morning) I created a file as root/sudo in /etc/init.d/ called wakeonlanconfig with the following in it #! /bin/bash ethtool -s eth0 wol g exit then I set the permissions on this file to sudo chmod a+x wakeonlanconfig then to make sure it executed on startup I did sudo update-rc.d -f wakeonlanconfig ...


1

Your commands are close, but try this in command line: sudo ethtool -s <NIC> wol g or add this to your /etc/network/interfaces file: auto eth0 iface eth0 inet dhcp up ethtool -s eth0 wol g 'g' enables wake via "Magic Packet" Looks like if you are shutting down using the following command: sudo shutdown -h now then you will also need ...


1

Yes. Use the pm-utils package. From /usr/share/doc/pm-utils/README: === pm-utils === What is pm-utils? Pm-utils provides simple shell command line tools to suspend and hibernate computer that can be used to run vendor, distribution, or user supplied scripts on suspend and resume. Why do we need it? All the main distributions are ...



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