Hi guys,
Just recently installed Mint 10 on my Asus UL30JT laptop dual-booting with Win 7.
Long story short neither suspend or hibernate works.
When I suspend the computer it goes back to what looks like a login prompt (tty1) but no response from the keyboard.
if I run s2ram -n it says computer unknown and s2ram --force does the same thing (brings up tty1 but freezes).
I found this thread: http://forums.linuxmint.com/viewtopic.p ... 1&p=369793, and have checked that my UUID is correct in fstab, resume and blkid.
I tried doing the reinit of the resume file but still to no avail.
I really like Mint 10 as my second attempt into Linux world and it just works.. except for sleep help?
Mint 10 and suspend/hibernate fail on Asus UL30JT
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Mint 10 and suspend/hibernate fail on Asus UL30JT
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Mint 10 and suspend/hibernate fail on Asus UL30JT
I would suggest checking your log files: dmesg and pm-suspend.log You can do this from the command line
or you can check the log file viewer. > Menu > Administration > Log File Viewer
Using suspend to ram should not be affected by swap partition size like suspend to disk would. If you are having trouble with hibernate, make sure your swap partition is larger than your amount of ram, probably 1.5 to 2x the size of ram.
Code: Select all
dmesg
cat /var/log/pm-suspend.log
Using suspend to ram should not be affected by swap partition size like suspend to disk would. If you are having trouble with hibernate, make sure your swap partition is larger than your amount of ram, probably 1.5 to 2x the size of ram.
Re: Mint 10 and suspend/hibernate fail on Asus UL30JT
I've attached the message from the pm-suspend log below.
I understand the hibernate swap size thing. For some reason the Mint install only created a 1.6GB Swap partition. I've got 4GB in the notebook, is it a simple process of resizing the swap? Sorry haven't worked on Linux for a while.
I understand the hibernate swap size thing. For some reason the Mint install only created a 1.6GB Swap partition. I've got 4GB in the notebook, is it a simple process of resizing the swap? Sorry haven't worked on Linux for a while.
Code: Select all
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/70action_wpa suspend suspend:
/usr/lib/pm-utils/sleep.d/70action_wpa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:
stop: Unknown instance:
/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Fri Feb 4 15:22:34 EST 2011: performing suspend
Re: Mint 10 and suspend/hibernate fail on Asus UL30JT
Hi guys,
I think I'll give Linux world a pass for now. From what I read Optimus isn't supported atm and from all the googling it seems this is related to the suspend issues. Thanks for your efforts anyway.
I think I'll give Linux world a pass for now. From what I read Optimus isn't supported atm and from all the googling it seems this is related to the suspend issues. Thanks for your efforts anyway.
Re: Mint 10 and suspend/hibernate fail on Asus UL30JT
I have an ASUS A52F and this worked for me...
Taken from Code Central http://thecodecentral.com/2011/01/18/fi ... orking-bug
Text pasted below in case link doesn't work.
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_.
sudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd &
Step 2
Insert the following code into the file you have just created:
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.
Taken from Code Central http://thecodecentral.com/2011/01/18/fi ... orking-bug
Text pasted below in case link doesn't work.
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_.
sudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd &
Step 2
Insert the following code into the file you have just created:
Code: Select all
#!/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
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.
Re: Mint 10 and suspend/hibernate fail on Asus UL30JT
Just wanted to say that this pretty much worked for me on my ASUS G51JX-A1.
The only thing that was really odd was that the keyboard started flickering uncontrollably, and the computer didn't seem to enter a true "sleep" mode...
Any suggestions are welcomed... this script is a great start!
The only thing that was really odd was that the keyboard started flickering uncontrollably, and the computer didn't seem to enter a true "sleep" mode...
Any suggestions are welcomed... this script is a great start!
Re: Mint 10 and suspend/hibernate fail on Asus UL30JT
This is what worked for me on my U35F with Mint 10 gnome 64bit:
http://thecodecentral.com/2011/01/18/fi ... orking-bug
It also seems to have worked for a heck of a lot of other people and other laptop models (especially ASUSes) judging from the comments.
M
http://thecodecentral.com/2011/01/18/fi ... orking-bug
It also seems to have worked for a heck of a lot of other people and other laptop models (especially ASUSes) judging from the comments.
M