LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lid Hibernate not working (https://www.linuxquestions.org/questions/linux-newbie-8/lid-hibernate-not-working-807188/)

ronvegas 05-11-2010 01:10 PM

Lid Hibernate not working
 
Hi,

My laptop is a Dell Inspiron 510m. I can hibernate and resume OK with the hibernate option, but I cannot hibernate by closing my laptop lid. It just locks/crashes on a black screen and I have to do a forced shutdown. I've checked the settings in Power Management. One other thing I have tried is unloading my display driver i915 before hibernating by adding the instruction to acpi-support, but this doesn't work, I think the system won't allow that module to be unloaded as I've checked it with modprobe -r in the terminal and it says 'Fatal cant be unloaded in use'. Any suggestions?

business_kid 05-13-2010 04:13 AM

/etc/acpi/events has scripts named after events that run scripts in /etc/acpi
Find what script is run by the lid and fix it. Besides the comments, my script there simply has a few basic lines

#!/bin/sh
test -f /var/lock/acpisleep && exit 0
sync; sync; echo -n disk > /sys/power/state

I don't know too much what the first line is about, but it looked good, so I copied it from somewhere. The second does the business.

ronvegas 05-14-2010 01:12 PM

Hi Business Kid,

I tried changing my lid.sh to match the lines you entered above, but this didn't fix the problem.
I'm too new at Linux to know what else to add or how to fix the issue.
Can you offer anymore advice? Thanks.

I really do like Linux (Ubuntu) but the 2 major issues I am having (this one) and poorer quality sound than WinXP
are really becoming an issue to fix and I think that eventually I will have to pull the plug and go back to Dreaded Windows!

vansch76 05-14-2010 05:51 PM

Hi Ron

goto system\preferences\powermanagement

change the when lid is closed option to suspend instead of hibernate.
do the same on all the tabs.

this should take care of it.

Vanessa

vansch76 05-14-2010 05:56 PM

Ron

As for the sound issue check to see what the sound settings are on.
goto system\prefs\sound

try changing pulse audio to alsa
and test the sound again.

these are the two most common issues with Ubuntu and laptops

Vanessa


All times are GMT -5. The time now is 06:00 PM.