Fix Ubuntu (or Linux) Suspend/Hibernate Not Working Bug
I own an Asus N73JQ laptop, the spec is top notch. Since Windows has been long gone from my candidate OS, I installed Ubuntu 10.10 right away. So far the result is quite amazing. Smooth, reliable, and it feels just right. Although the OS itself is very impressive, I have 2 major issues with the hardware: (1) Function key that switches to external monitor does not work; (an update on the external monitor issue can be found here) (2) Suspend/Hibernate does not work. I have not found a solution for (1), which remains unsolved. I have, however, found a solution for (2). I am going to share this share this solution with those who having the same problem.
By googling around, I found this post. It seems that it will also work for other laptops that have similiar problem in Ubuntu 10.10. The credit belongs to the original poster and all others who contributed to that solution. Though I have thoroughly tested the script and it works for me, I do not guarantee it will work for you. So use it at your risk.
Step 1
Create a script under /etc/pm/sleep.d/. It can be any name, but to ensure the load order, use the prefix 20_.
gksudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd #or the way you would normally do when creating a file as superuser
Follow either Step 2 or Step 2 Old, but not both. The script in Step 2 appears to be more stable than the one in Step 2 Old.
Step 2
Note that if you use the code from "Step 2 Old" below, please skip this step. This script is contributed by commenter Danne.
Insert the following code into the file you have just created:
#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
#...and http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug
# tidied by tqzzaa :)
VERSION=1.1
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS="ehci xhci" # ehci_hcd, xhci_hcd
HEX="[[:xdigit:]]"
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1
unbindDev() {
echo -n > $DEV_LIST 2>/dev/null
for driver in $DRIVERS; do
DDIR=$DRIVERS_DIR/${driver}_hcd
for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
echo -n "$dev" > $DDIR/unbind
echo "$driver $dev" >> $DEV_LIST
done
done
}
bindDev() {
if [ -s $DEV_LIST ]; then
while read driver dev; do
DDIR=$DRIVERS_DIR/${driver}_hcd
while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
echo -n "$dev" > $DDIR/bind
if [ ! -L "$DDIR/$dev" ]; then
sleep $BIND_WAIT
else
break
fi
MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
done
done < $DEV_LIST
fi
rm $DEV_LIST 2>/dev/null
}
case "$1" in
hibernate|suspend) unbindDev;;
resume|thaw) bindDev;;
esac
Step 2 Old
Note that if you use the code from "Step 2" above, please skip this step.
Insert the following code into the file you have just created:
#!/bin/sh
TMPLIST_E=/tmp/ehci-dev-list
TMPLIST_X=/tmp/xhci-dev-list
E_DIR=/sys/bus/pci/drivers/ehci_hcd
X_DIR=/sys/bus/pci/drivers/xhci_hcd
E_BIND=$E_DIR""/bind
E_UNBIND=$E_DIR""/unbind
X_BIND=$X_DIR""/bind
X_UNBIND=$X_DIR""/unbind
#param1 = temp file, param2 = device dir, param3 = unbind
unbindDev (){
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
echo -n '' > $1
for i in `ls $2 | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do
echo -n "$i" | tee $3
echo "$i" >> $1
done
}
#param1 = tem file, param2 = bind
bindDev(){
[ -f $1 ] || return
for i in `cat $1`; do
echo -n "$i" | tee $2
done
rm $1
}
case "${1}" in
hibernate|suspend)
unbindDev $TMPLIST_E $E_DIR $E_UNBIND
unbindDev $TMPLIST_X $X_DIR $X_UNBIND
;;
resume|thaw)
bindDev $TMPLIST_E $E_BIND
bindDev $TMPLIST_X $X_BIND
;;
esac
Step 3
Add executable permission:
sudo chmod 755 /etc/pm/sleep.d/20_custom-ehci_hcd
Result
Your suspend/hibernate should be now working as expected. Suggestions on improving this script are welcome.
Other Thoughts
If this script has worked for you, please post the make/model, Ubuntu distribution, related hardware information of your laptop below.
Updated 2012/03/02
Making sure you have enough space for your swap partition, otherwise hibernate will not work. I have recently upgraded my RAM. In my case, I have 12GB of RAM, but only 6GB of swap space. After the upgrade, hibernation stop working. However, after following this guide (see "Making the swap partition work for hibernate" section), hibernation becomes functional again.
I create a 30GB swap partition, and instruct Ubuntu to use this partition. Hibernation works like a charm again. To verify your system is using the swap, do
free -m
Or
top
Update 2011/11/10
If this has been working for you, but stop working after upgrading to Ubuntu 11.10, you may try this method:
http://turbulentsky.com/resume-from-hibernate-failed-on-ubuntu.html
Other Tips:
This might give you some clues on the suspend/hibernate issue:
gedit /var/log/pm-suspend.log
Related Posts
Switch to External Monitor Connected via HDMI/VGA port in UbuntuUbuntu 11.10 Look Overhaul
More interesting posts ...
Leave a Comment
If you would like to make a comment, please fill out the form below.
To my beloved readers:
Please note that you may freely post comments here, but I will most likely not be able to reply to most them due to my current availability.

10.000 times thank you!
I also just bought the N73jq and am running 10.10 on it. Works great so far, except the suspend + audio didn't work quite out of the box.
I was wondering if you had the same issue with sound that I did? I figured out a workaround, and posted it here to someone else that also has the same laptop:
http://ubuntuforums.org/showthread.php?p=10394157
It'd be great to know if you had the same issue (or didn't) and came to the same workaround.
Also, I can't seem to fix the boot/shutdown splash screens. They are blank (it's a side-effect of installing the restricted Nvidia drivers) and all the "known" work arounds don't seem to work on my system. Any info you have would be greatly appreciated.
Thanks!
I don't use splash screen as I want to see the log when I turn on the system. Here's what I did to disable the splash screen:
1) Open /etc/default/grub, remove the "quiet splash", so it becomes like this:
GRUB_CMDLINE_LINUX_DEFAULT=""
2) Run sudo update-grub
I don't have any problem with during bootup/shutdown. Note that my GRUB_CMDLINE_LINUX_DEFAULT line is not empty, but it looks like this
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=Linux"
I think I've changed it some time earlier, but I don't remember what it does. Don't think you need to add acpi_osi=Linux.
Will investigate other issues when I have time.
I searched hours for a solutio to suspend,I tried about 20 solutions until I found yours :D
Thanks to you, I just favorited your website.
Greetings from Switzerland ;D
- Thonixx
I lost my faith in ubuntu suspending or hibernating my brande new Asus N61JQ. I tried many other fixes but none of them worked.
Thanks!
I am using Ubuntu 10.10 , kjernel 2.6.35.25 - generic Gnome 2.32.0
on a ASRock 880GMH-LE-USB3 880G USB3 DDR3 motherboard
(though I found resuming from hibernation takes longer than boot up!)
ASUS N73JQ
Ubuntu 10.10 Maverick Meerkat
Linux 2.6.35-25-generic 64bits
Thank you very much!
ASUS U30JC 10.10 64
it works perfectly on asus u30jc / ubuntu 10.10 i386
i tried n (n>10) solutions before and no-one worked
now finally i can use my asus like an ordinary notebook
THANK YOU !
To enable the Fn keys on an Asus EeePC 1005HA (possibly other models too) with Ubuntu 10.04 Lucid Lynx and 10.10 Maverick Meerkat, open a terminal and type:
sudo gedit /etc/default/grub
and search for the line that says:
GRUB_CMDLINE_LINUX_DEFAULT
This line should originally look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Add acpi_osi=Linux to the end of the line, before the closing quote. Basically after you edit it, the line should look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
Once you're done, save the file and run the following command:
sudo update-grub
Now reboot!
Update: I've added "Ubuntu 10.10" to the title as this seems to work with the latest Ubuntu 10.10 Maverick Meerkat too (thanks to Howls in the comments for confirming this!)
Let me know if it works for you!
hoe
Thank you very much for this.
Thanks a lot!
thank You
Thanks!
mow my N53J finally suspends!!
thanks!
On ubuntu 10.4 I successfully used to solution of:
http://ubuntuforums.org/showthread.php?t=1444822
However, this did not do the trick on 10.10.
Thanks!
/J
This worked great for my ASRock 880GMH/USB3 R2.0!
Thankyou!
Hibernation seems to take a lot of time, but it is reasonable.
Thanks!
French keywords (to spread this solution) :
problème résolu hibernation mise en veille asus u53j série
this helped me fixing suspend problem (blinking cursor) on my Arock ION 3d 152d with XBMC
Confirmed on following:
Ubuntu 10.10 64-bit
Ubuntu 10.04.2 LTS
Thanks!!!
Works on ASUS A52F running PinGuyOS 64-bit.
- Full sleep with S3 standby mode
Thank you!
Suspend/hibernate goes OK, but no way of getting out of it, reboot (using the power switch) is the only way,
Thanks for the trick!!! Works like a charm on the following device:
Lenovo ThinkPad SL500, Ubuntu 10.10, Kernel 2.6.35-28 PAE
Regards,
Marko M.
hp envy 17
ubuntu 10.10
kernel 2.6.35-28
Thanks :)
This fixed suspend and hibernate on my Asus 1018p, under Xubuntu 32bit.
My ASUS U33JC works well with this script!
Ubuntu 10.10
Kernel 2.6.35-28
Asus N53Jq, Ubuntu 10.10.
HP Elitebook 8560p
Linux Mint 10 Julia
Thanks alot.
Ubuntu 10.10 - 32 bit
Samsung R620 Laptop
Intel P8700 2.53
Ati HD4650
4 GBs of RAM
Unfortunately, Hibernate doesn't work yet but will figure it out somehow.
I wanted to ask if I may publish your post with link to it on my blog.
thanks about everything mate.
thanks!
Thank you!
Thanks for the code!
Thanks a lot !
I was actually thinking on removing 11.04 and install 10.10 to solve this, but tanks to you, I no longer need to do this.
Great Job!
There's just a tiny catch: when the computer goes back from sleep or hibarnate the Unity laucher is blured. But that just disappears when I put the cursor on it.
Asus K52JR
Ubuntu 11.04 X64
ATI Mobility Radeon HD 5000 series.
Problème de mise en veille et d'hibernation résolue !
Thank you !
This script worked perfectly for me;
I do have an ASUS U3S^ card which uses the xhci_hcd module and built in USB 2.0 which uses ehci_hcd - dont know which of these needed to be unloaded but this really did the trick.
Incidentally I use the nvidia-current proprietary driver from ubuntu.
This is a DESKTOP.
Thanks a lot...
this works great!
thank you!
* Ubuntu 10.10
It doesn't work. At the first try it looks great. A few minutes later the screen stays black.
Thanks for the post! I wish I had discovered this sooner. Had to live a year without hibernate since migrating from Windows. Thinking about the wasted energy just makes me frown.
THANK YOU THANK YOU THANK YOU
Does enter sleep but will not wake up, does not enter hibernate completely, fan stays on, then does not wake up, blinking cursor on black screen.
Hibernate obviously works, but swap is so slow I could save, leave a plaintext note, write out a post-it with instructions and power down and be pretty much in the same boat as if I shut down. Oh, yeah, it makes my uptime look awesome... it's a laptop, it's portable, I don't expect my uptime to ever get into the weeks let alone nerd nirvana like two-years.
tks.
The script works on my second laptop as well, a rebranded Airis/Progress Intel Core i5 with an nvidia geforce gt 335 m
I have SSD, cold boot/cold shut down takes about the same time as hibernation.
Superb!
Daniel
jss
DELL N5010
I have a Hp 6730B
thanks
This most likely related to the video card.
When you hibernate, don't use the GUI. It uses pm-hibernate without any options. Instead, in a terminal, log in as ROOT and issue:
pm-hibernate --store-quirks-as-lkw
In the manual of pm-hibernate, this option is described as follows:
Save the quirks the video adaptor required by pm-suspend or pm-suspend-hybrid as an .quirkdb file that is specific to this system. The file will be saved in /var/cache/pm-utils/last_known_working.quirkdb. This parameter will only save the actual quirks that were used to successfully suspend/resume a system, and will be specific to the exact configuration of that system, including the video hardware, video driver, and whether or not kernel modesetting was used. If the system configuration changes, like after a kernel upgrade, this file will be overwritten.
So technically is saves the successful configuration. Note, when your machine wakes up, it won't show you a log in screen, simply because you hibernated as root.
It's hard to believe that this fix has solved my problems!!
It works fine for both suspend & hibernate.
Thanks.
Running an Acer Aspire with an AMD E350 APU on 64bit 10.10.
Actually it suspends (well i think) but cannot wakeup.
Blank screen, nothing appears, and strangly the fan starts in 2-3 seconds. Have to force shutdown by pressing the power button.
This laptop comes with Microsoft Vista. It suspends and wakes in vista well. But no luck for ANY Linux OS's.
Thanks to you. But that didn't work for me either. :(
Have a nice day.
Packard Bell BU45-O-020
Ubuntu 11.04, 2.6.38-8-generic kernel.
Both sleep and hibernate working perfectly on an Asus N53S running Ubuntu 11.04.
hibernate doesn't work.
Asus N53SN Ubuntu 11.04 64-Bit 2.6.38-8-generic
using bumblebee (Optimus support for Linux)
ASUS U43JC-X1
Ubuntu 11.04 64 bits
ASUS30JC
Ubuntu 11.04 64 bits Unity
Suspend works, but on wakeup the screen stays black and nothing works. Forced reboot required.
On Hibernate the system doesn't even turn off.
Screen just goes blank, but can be reactivated by moving the mouse.
#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
#...and http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug
# tidied by tqzzaa :)
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS="ehci xhci" # ehci_hcd, xhci_hcd
HEX="[[:xdigit:]]"
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1
unbindDev() {
echo -n > $DEV_LIST 2>/dev/null
for driver in $DRIVERS; do
DDIR=$DRIVERS_DIR/${driver}_hcd
for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
echo -n "$dev" > $DDIR/unbind
echo "$driver $dev" >> $DEV_LIST
done
done
}
bindDev() {
if [ -s $DEV_LIST ]; then
while read driver dev; do
DDIR=$DRIVERS_DIR/${driver}_hcd
while [ $((MAX_BIND_ATTEMPTS--)) -gt 0 ]; do
echo -n "$dev" > $DDIR/bind
if [ ! -L "$DDIR/$dev" ]; then
sleep $BIND_WAIT
else
break
fi
done
done /dev/null
}
case "$1" in
hibernate|suspend) unbindDev;;
resume|thaw) bindDev;;
esac
Modified script: http://pastebin.com/ayvLzgh8
Interesting, I'll give it a try. If it's good, I'll add it the post section.
In this page is present the suspend script of Cuong and Dan
Original script works perfect on an ASUS X52J (K52JR) with UBUNTU 11.04
Thanks a lot
With your script usb devices no longer works after resume.
@Danne,
@Coung
With both script after resume the wifi led is off even if the wifi card is tourned on.
Someone else con canfirm this?
oops. dash vs bash mistake (arithmetic). fixed version here: http://pastebin.com/wqU8Y85c
I have no problem with wifi. Asus here. What's your made/model of your desktop/laptop? If you post it, someone else might be able to help you.
@Danne
I gave the script a try, it's working. With my script, I had the same problem, that is, the resuming fails randomly. I will test this for a week or so. If no more problem, I'll post the script to the main section.
My laptop is an Asus N53sv.
(i've also installed acpi4asus for get working the keyboard special keys and led)
New version http://pastebin.com/wqU8Y85c works fine! (Asus N53 - Ubuntu 11.04)
Got hibernate working with Asus B43 laptop, Ubuntu 11.04 64-bit. (haven't tried suspend yet, but I'm optimistic)
Thanks!
Seth
Asus U53JC. Ubuntu 11.04.
Not perfect but much more stable than the original one. In about a week of usage, I had one or two hibernation failure. Please see post section for update.
Thanks!
Thanks!
I'm going to link to this page from Ubuntu french documentation (http://doc.ubuntu-fr.org/asus_u30sd)
Thanks a lot.
THANK YOU very much. It does however get the screen to flash alternatingly between a light gray screen and a grey striped screen between 10 seconds and full login screen while coming back from hibernate. it's OK though. At first, it makes you think it's lost, but watching the hard drive light gave me confidence to wait, and it all came back fine.
Thanks a lot. really awsome solution... :)
luv u... :)
Thanks a bunch!
When going to suspend, all is fine, but the Targus laptopfan that is connected to the usb still works.
Is there a way to cut the power in the process?
Ubuntu 11.04 64-bit, Kernel 2.6.38.8-8-generic, Gnome 2.32.1
Used newer script tweaked by Danne.
Works on asus U30Jc on Ubuntu 11.04.
thanks alot
Looking in var/log/syslog, I originally found that my dvb stick was refusing to unbind. So my tweak was adding "sudo stop mythtv-backend" as the first line of the unbind procedure and "sudo start mythtv-backend" as the last line of the bind procedure. Mythtv seems to have been locking the usb stick!
It used to work without any problems before upgrading the kernel to version 2.6.35-30-generic. My laptop still hibernates properly. However now after I turn it on, the image loads successfully and then displays a message saying why it could not proceed (I did not get the chance to copy it. I'll do it next time I hibernate. All I remember is that it's related to udev).
This happens with both old and new scripts posted above.
Any suggestions?
Thanks!
Problem description:
====================
-Initially I had 2.6.35-28-generic.
-I upgraded to 2.6.35-30-generic.
-After the upgrade, my laptop would go to sleep but would not wakeup.
Solution (workaround):
======================
Prevent the new kernel from booting and revert to the old one. First I thought about uninstalling the new 2.6.35-30-generic. But then I changed my mind because I did not want to mess with my system (it has all my work on it). What I did, I changed the boot sequence in "grub" which is located in /etc/default/. Before you apply any changes, backup the old grub (as a superuser):
cd /etc/default/
cp grub grub.bak
then open the grub
gedit grub&
then find the entry "GRUB_DEFAULT".
The default value is "0" which means the latest kernel will be loaded while booting. If you want to change the kernel version to the previous one you have before upgrade, you need to change this value to "2". Note that the value "1" still corresponds to the latest kernel (recovery mode).
If you want the list of all available kernels displayed before booting, you can always set:
GRUB_HIDDEN_TIMEOUT=
GRUB_TIMEOUT = x
Note that there is NO value entered after the = sign for the GRUB_HIDDEN_TIMEOUT entry. "x" assigned for GRUB_TIMEOUT designates the number of seconds the list of kernels will be displayed before booting. Setting "x" to 60 will display the list to 60 seconds. The following time you boot you'll see a list of kernels that you can choose from.
NOTE
====
- After applying any changes to the grub make sure you update it using:
update-grub
- The changes will take effect upon next reboot. Use "uname -r" to confirm that you have reverted to the desired kernel version.
- If anything goes wrong, you can always replace the modified grub with the one you backed up (grub.bak).
- Both scripts (new and old) work fine. Thanks!
gedit grub&
instead of:
gedit grub&
Sorry about that!
This works on ASUS U36jc with Fedora 15.
Does not work.
HP Envy 17", Ubuntu 10.10, 2.6.32-33-generic
With the first script listed, both hibernate and suspend work!
Anyone found a fix for the track pad?
Mint 11
2.6.39.3 kernel custom build
The suspend properly works.
The hibernate looks like it is working, but restarts the machine as if it were a restore.
How can undo it?
Thanks a lot!
I've upgraded my BIOS and tried a wide variety of other suggested solutions or work-arounds for both the suspend/hibernate issue and also the internal bluetooth not working or even being detected on this netbook. A USB bluetooth dongle works fine, however. Thanks for at least giving me something else to try.
I've also tried various boot options, such as "nophet" and "noacpi apm=on noapic", etc.
Sure hope this gets finally fixed, wherever the real bug is.
GRUB_CMDLINE_LINUX="acpi_sleep=nonvs"
Ubuntu 11.04 64bits
Thanks a lot!!! =)
Tried both methods and Danne's version, neither suspend or hibernation works.. very sad :(
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Fedora 15 on 64-bit GNOME Version 3.0.1
Laptop Asus N53Sv - Ubuntu 11.04 x64
BIOS Information
Vendor: American Megatrends Inc.
Version: K42Jc.209
Release Date: 08/16/2010
Base Board Information
Manufacturer: ASUSTeK Computer Inc.
Product Name: K42Jc
Version: 1.0
Processor Information
Socket Designation: Socket 989
Type: Central Processor
Family: Core 2 Duo
Manufacturer: Intel
ID: 55 06 02 00 FF FB EB BF
Signature: Type 0, Family 6, Model 37, Stepping 5
asus u31f
ubuntu 11.04 64bit
I am using Ubuntu 11.04, 32bits, on a samsung R610 notebook
Thank you, Thank you, Thank you.
Asus N53J
Thanks.
Works in a Toshiba Satellite U500-1G8 (PSU9ME 00X00GEP) with Ubuntu 10.04LTS
Linux ms 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Thanks a lot!
http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug
Kernel 2.6.38-11-generic
Ubuntu 10.04 LTS 64 bit
This script works perfectly. Thank you!
sudo nano /etc/pm/config.d/madwifi
Add the next line:
SUSPEND_MODULES=ath9k
and save, ath9k can be changed by the module for making a dsmeg
Linux 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux
Thanks so much !
Linux 2.6.38-11-generic #48-Ubuntu SMP Jul 29 19:02:55 UTC 2011 x86_64
Thanks!
ASUS U36SD
Ubuntu 11.04
TOSHIBA dynabook CXE 47LE
Ubuntu 11.04
kubuntu 11.04 with Gnome 3
works like charm, tnks
ASUS T3P5G965
Core2Duo E6600
8GB Ram
Ubuntu 10.10 32bit
I tried both scripts but no result. Suspend flashes for a second when restoring and shuts down, hibernate simply shuts down completely.
:-(
10.10
samsung n250
Ubuntu 64 Bit 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:01:08 UTC 2011 x86_64 GNU/Linux
Quad Core 'something5' Intel, 8 gByte Ram.
Compal BLB2 (Second tier laptop mfr. Works great, except it doesn't like to have all 4 processors at 100%, will crash. Was doing that to compress a disk)
RESULTS
----------
The later version ~sort~ of worked, for awhile, and probably got defeated by later kernel changes.
However, when I went to the older wone, it now works well. THANK YOU.
It's terrible having a laptop that doesn't WORK like a laptop.
Thanks
<a href="http://www.xp-s6.com" rel="nofollow">diyabet ve kolesterol</a>
Laptop: Asus M51Va
Status: works perfectly
Thanx!
メモ インストールイメージの入手 DVD ネットインストールイメージ バグやパッチを探す方法 アプリケーション よくつかうアプリとライブラリの導入 サードパーティのバイナリアプリ acrobat(multimediaレポジトリから,おすすめ) acrobat......
Compal BL212
Ubuntu 11.04
Thanks again.
I used step 2
tnX alot :D
Asus U45jc
Ubuntu 10.04 LTS
Step 2
Acer 5738
Ubuntu 10.10
Thanks
Ubuntu 10.04
Thanks mate! Great solution.
hope it will help and thx max
i use ubuntu 11.04 x64
on Natty x86
thanks bro ;)
Asus P31F
THANKS! *hat tip*
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend:
0000:00:13.2
Notice that there is no "success". I then have to kill pm-suspend manually. Also, there are no relevant settings in BIOS. I have Asus A53U
Thank you very much!
Thank you very much!
Thanks a bunch. This is a lifesaver.
confirmed for 11.04 on asus u36jc.
much appreciated
This seems to be an issue with ASUS hardware...
Thanx a lot!
Thx :)
Thanks!!!
Ubuntu 11.04 Natty, ASUS K53E
Suspend - Works
Hibernate - not tested
ASUS U52F Linux Mint 11
Thanks!!
Laptop is Commodore A24A (argentine brand) i5 w/ 4GB dd3
DV6-6177LA + Debian 6 :)
Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.P0JC3V': No such file or directory
(gedit:6720): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:6720): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.LF9F3V': No such file or directory
(gedit:6720): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:6720): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.8CLM3V': No such file or directory
(gedit:6720): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
Could someone please guide me? I am new to Ubuntu.
I used the new version of the script, BTW.
Now I have upgraded to Ubuntu 11.10 and the script is not working. When I put my computer into hibernate it shuts down normaly (just like before) but when I start the computer, it goes to the Grub menu where I choose Ubuntu and then it restarts the computer. When I come back to Ubuntu everything is reset back to normal.
Does this have anything to do with Grub?
Prior to using this script, and shutting the lid, the screen would blank and then on reopening the screen would not unblank. This has been fixed - however, if i configure my system to "sleep" on lid close, then the same problem I had prior to installing the script resurfaces.
Also, can anyone tell me what the first while in the bindDev func is doing? I can't see where it's getting it's input from. The read cmd needs to get it from STDIN or a file - but i dont see how its doing either of those two things.
I.e there is no pipe to bindDev in it's use at the bottom of the script and there is no file specified for the 'read' cmd.
Cheers.
I have a ASUS G73JH Laptop running Ubuntu 11.10.
Just in case this matters I have my drive partitioned as:
/ btrfs
/home ext4
SWAP
The problem was for some reason, iwlagn. I figured it out by unloading as many modules as i could, then adding one by one back and trying the S3 Sleep button.
Sleeping was actually working, right up until i loaded iwlagn - which isn't working anyway.
So i modified the the DDIR variable by removing the _hcd on the end
> DDIR=$DRIVERS_DIR/${driver}
And then i modified the DRIVERS variable
> DRIVERS="ehci_hcd xhci_hcd iwlagn"
and it works fine :)
Incase anyone else is having these problems, My wireless card is a Intel Centrino Wireless-N + WiMax 6150. My laptop is Asus u56e-BBL5.
Create a new script which will execute at suspend and resume:
sudo gedit /etc/pm/sleep.d/00_wireless_sleep
Copy and paste this into it:
#!/bin/sh
case "$1" in
suspend|hibernate)
/sbin/rmmod ath9k
;;
resume|thaw)
/sbin/rmmod ath9k
/sbin/modprobe ath9k
;;
esac
exit 0
And make it executable:
sudo chmode 755 /etc/pm/sleep.d/00_wireless_sleep
All credit to this contributor on the Ubuntu Answers for the script: http://askubuntu.com/questions/67280/wireless-doesnt-connect-after-suspend-on-an-asus-k52f
suspend and hibernate work so far.
Machine Sony Vaio VGN-FZ11S.
Finally I can use my wireless mouse without rebooting.
Thx
I have a dell studio xps 1340 with Ubuntu 11.10 x64. I tried both steps and with step 2 the system suspends, but doesn't recover from suspend. The other doesn't suspend.
I have an Nvidia GeForce G210M video card and had to install the drivers from nvidia web site, because the system wouldn't boot with proprietary drivers.
Any other suggestions about what i should try next?
Thanks
(¡Finalmente encontré algo que funciona! Seguí el paso 2 y funciona perfectamente para mi Asus KJ52U, con Ubuntu 10.04.)
Thanks a lot friend! I was tired of turning off my laptop everytime I was gone for a short time and then turning on again. Also, I was looking for solutions everywhere and no answer until I came here!
Thank You! :D
Didn't work at first with HP Pavilion dv5 1110,
but after BIOS upgrade to F21 works perfectly.
* OS: Linux Ubuntu 11.10 64bit
Works perfect with my Lenovo IdeaPad Y530!
Thanks a lot :)
P.S.
I'm running Mint 11 Katya, it's by far the most suitable of all distributions I've tried on this netbook.
Asus U31F
Ubuntu 10.04
Laptop: Asus N53JQ
SO: Ubuntu 11.04 64bits
Asus K42J running with Backtrack5 r1 32bit
thanks !
Asus X53E-SX118V - Ubuntu 11.10 - Had to use "Step 2 Old" ("Step 2" didn't work for me) and Hibernate and Suspend both work fine.
Cheers!
Hardware: Asus X54L
OS: Ubuntu 11.10
kind regards,
Harry
It worked. Asus U43f-bba6 running Ubuntu 10.04. And that was the last major issue I had to fix on this computer. Such a fulfilling feeling...
Dell E5410, Ubuntu 11.10
on kubuntu 11.10
thanks a lot
Linux Mint 11.0
Asus K52J
Thank you very much :D
But please make a change to your article: you shouldn't use sudo with window-programms line gedit. Please use "gksu gedit" or "sudo vim".
thanks, I have updated the article.
Muito obrigado pela ajuda.
Great post!
Tnx very much for the help.
Thanks again for posting this, it saved me a lot of time in debugging it!
Asus U36SD-RX354V
Linux Mint Debian Edition Release 1
Kernel 3.0.0-1-amd64
Thanks a lot
HP EliteBook 8540w
Ubuntu 10.04 LTS
M.
blacklist nouveau
Hibernate makes the screen garbled though it worked in squeeze.
Step 2 'old' version gave me working suspend and hibernate, but I had no luck with the updated step 2.
I have no idea why, but there have been quite a few updates recently.
Ubuntu 11.10 upgrade from 9.04 per USB
Step 2 Old works on this machine for both hibernate and suspend.
(Step 2 does not work, messes with screen upon wake up bot hibernate and suspend.)
Thanks a lot!
Debian Wheezy (kernel 3.1.0-1), ASUS N43JF.
Thanks a lot.
Ubuntu 11.10, Asus G74Sx. Also you method resolved the problem with keyboard backlight on my notebook.
Thanks a lot!
I'm running on an ASUS N53Jq laptop.
Thank you man!
Thanks !!!!
Sweet fix imusing Ubuntu 11.10
Got wireless to work with the help of Chris' script 00_wireless_sleep
I have an Asus N61j with Linux Mint 12
My problem (now fixed): The screen would turn off, black led keyboard too.
But, the fan would not and either the rest of the hardware still on.
Saved me many hours of frustrated keystrokes.
It worked fine on my Asus laptop g74sx
Thanks a lot !
It worked fine on my Asus laptop g74sx with ubuntu 11.10
Thanks a lot !
I use Ubuntu 11.10 on a Asus u13
Thanks
I have the same problem and this seems to have fixed it.
This is on a Dell 1545 running Linux Mint 12, Cinnamon DE.
Cliff
The "new" method worked fine for me running Linux Mint 12 on an ASUS U31SD
The "new" method worked fine for me running Linux Mint 12 on an ASUS U31SD
The script is still being executed according to /var/log/pm-suspend.log. I'm looking into whether it actually does anything (I've also tried dropping the script but that didn't help).
Thanks a lot for that code, you have earned a place in heaven! ;) lots of love.
ASUS G73SW-A1, Debian/Aptosid 2012-01-20 release: Linux 3.2 for 64-bit PCs
linux-image-3.2-5.slh.1-aptosid-amd64
(Same issue on many Linux releases and versions. I just went with Aptosid as it seemed to work better than most and support better CPU/GPU function.)
Another known issues for ASUS that I use scripts for is the keyboard backlight (LEDs under the keys.) See attached code...not mine...but it works and I load it by calling the script when the desktop loads.)
.ASUS_KB_LED.sh
echo 3 > /sys/class/leds/asus::kbd_backlight/brightness
That's it. One simple line. The number, in this case 3, is the brightness. I've seen a few other solutions that work for older OS v2.6 kernels but I couldn't get stable results. Other than the issue of up/down button control this seems fine.
By default on this OS and other versions it's always these keys that fail and are managed by ATK in windows.
Regards
Lenovo IdeaPad V360, LA Version.
Linux Mint 12.
I have Sony Vaio FZ 340 E , It works & my problem solved
Thanks
ASUS U36JC-B1
RAM 8GB
Ubuntu 11.10 64 bit
Just purchased an ASUS X53E-RH52
Initially resume did not work. After dropping in the script, worked like a charm.
Thank you very much!
Lucia
great, after several days without solution
Tried your approach to fix the sleep-hibernate problem in my HP a1730n desktop running Kubuntu 10.10 64 bit. I used the Step 2 script, did more or less work.
First time, I had to press the power button on the DT to get it to awake, would not respond to mouse or Kbd.
When it slept one more time it froze. So I had to reboot.
This computer must have some hardware problem, when I used Windows, it could never wake-up, so I am not surprised that it would not work.
Thanks anyhow.
Worked great for an ASUS A53E running 11.10.
Manyt thanks!
Ralf.
thanxxxxxxxxxxxxxxxxxxxxxxxx !!!!!!!!!!
works as a charm in Lenovo IdeaPad Y530 with Ubuntu 11.10
THANKS!
Thanks a lot!!!
I'm happy ;-)
Make/Model: Asus G73-JH with ATI 5870 graphics card
Solution: Step 2
Thanks for the shell script. Much appreciated.
I haven't tested it for a long time, but I didn't encounter bigs problems at the moment.
The first suspend to RAM in a session seems not working, but after it's okay.
Suspend was working fine - so I disabled the script on suspend to avoid resetting my printer (it makes a loud noise).
Cela fonctionne superbement bien pour moi sur mon ordinateur ASUS K53E-DH31 (série k53e), qui roule sur Linux Mint 12 lui même basé sur ubuntu 11.10
Merci!
Thanks!
Perfectly works on Toshiba U500-1DV
Muchas Gracias, Thanks a lot!!!
Suspend just worked for the first time since I bought my laptop
thanks a ton
running ubuntu 12.04 just for the record
thx a lot from Germany
Dell Inspiron 600 motherboard 0GDG8Y
Thanks a lot.
tested under UBUNTU 11.10 & 12.04 (both x64)
Found your solution and it worked!
thnx!!
Linking to this post on launchpad https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/991492
Thanks :)
Works on Asus ul30jt, Ubuntu 12.04
Using steps 1, 2, 3
+
added the following line: blacklist nouveau
to file: /etc/modprobe.d/blacklist.conf
ASUS
MODEL: A53S
MB VER.: K53SD
A53SD-TS72
Thanks :)
It's works in my laptop Asus X44H
Thanks, you're the man!
Your solution works on Ubuntu 12.04 with Asus eeepc 1201N
I just had to change
DRIVERS="ehci xhci"
to
DRIVERS="ehci ohci"
Machine details:
Toshiba Satellite L770-11G
Ubuntu 12.04 LTS
Linux leonardo-port 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
MemTotal: 8157948 kB
MemFree: 4964772 kB
SwapTotal: 8367100 kB
SwapFree: 8367100 kB
Fedora 16
Thank you!
Samsung Series 7 Chronos
Ubuntu 12.04 LTS
"step 2" as is
The "new" method works just great on Asus U31S model in Ubuntu 12.04.
Thanks again!
thank you for your help
Initial commandline parameters:
Sun May 6 20:16:32 EDT 2012: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
Linux HP-dv5000 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
Module Size Used by
nls_iso8859_1 12617 0
nls_cp437 12751 0
vfat 17308 0
fat 55577 1 vfat
usb_storage 44173 0
uas 17699 0
rfcomm 38408 0
bnep 17923 2
bluetooth 148839 10 rfcomm,bnep
joydev 17393 0
parport_pc 32114 0
ppdev 12849 0
vesafb 13489 1
nvidia 10390874 33
binfmt_misc 17292 1
snd_hda_codec_conexant 52418 1
snd_hda_intel 24262 2
snd_hda_codec 91754 2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 13276 1 snd_hda_codec
snd_pcm 80468 2 snd_hda_intel,snd_hda_codec
hp_wmi 13652 0
sparse_keymap 13658 1 hp_wmi
snd_seq_midi 13132 0
pcmcia 39822 0
snd_rawmidi 25241 1 snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
arc4 12473 2
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
iwl3945 73329 0
iwl_legacy 71499 1 iwl3945
mac80211 272785 2 iwl3945,iwl_legacy
snd_timer 28932 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
tifm_7xx1 12937 0
psmouse 73673 0
tifm_core 15040 1 tifm_7xx1
serio_raw 12990 0
snd 55902 13 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
yenta_socket 27428 0
pcmcia_rsrc 18367 1 yenta_socket
cfg80211 172392 3 iwl3945,iwl_legacy,mac80211
pcmcia_core 21511 3 pcmcia,yenta_socket,pcmcia_rsrc
soundcore 12600 1 snd
snd_page_alloc 14115 2 snd_hda_intel,snd_pcm
wmi 18744 1 hp_wmi
video 18908 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
firewire_ohci 35854 0
firewire_core 56937 1 firewire_ohci
e100 36289 0
crc_itu_t 12627 1 firewire_core
sdhci_pci 13658 0
sdhci 27360 1 sdhci_pci
ahci 21634 2
libahci 25727 1 ahci
total used free shared buffers cached
Mem: 1542676 759972 782704 0 99368 427484
-/+ buffers/cache: 233120 1309556
Swap: 1044188 0 1044188
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:
Thanks!
Jim
Does that have any impact on the how the script will work?
My system is a Sony Vaio VPCEB1E0E.
This is the listing I got from ls /sys/bus/pci/drivers:
agpgart-amdk7 ata_generic HDA Intel mei pcieport uhci_hcd
agpgart-intel ata_piix i915 ohci_hcd pci-stub
agpgart-nvidia ath9k imsttfb parport_pc pdc_adma
agpgart-via ce4100_i2c intel ips pata_acpi sdhci-pci
ahci ce4100_spi ioapic pata_sis serial
asiliantfb ehci_hcd langwell_gpio pci_eisa sky2
THANKS!!
Asus N53J Ubuntu 12.04 x64
I had to edit /etc/default/grub and I put GRUB_CMDLINE_LINUX="acpi_sleep=nonvs"...on most systems, the 'GRUB_CMDLINE_LINUX' parameter will be left empty ie. "" just add the above in there and run a 'sudo update-grub'.
My system is a Sony Vaio VPCEB1EOE. Hope it helps!
see -- http://askubuntu.com/questions/24048/answer/submit
[url=http://wheretounlockiphone4tech.info]info here[/url]
soundly simply by discovering rules http://wheretounlockiphone4tech.info ,