LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2010, 01:10 PM   #1
ronvegas
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
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?
 
Old 05-13-2010, 04:13 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,912

Rep: Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775
/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.
 
Old 05-14-2010, 01:12 PM   #3
ronvegas
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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!
 
Old 05-14-2010, 05:51 PM   #4
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 137

Rep: Reputation: 18
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
 
Old 05-14-2010, 05:56 PM   #5
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 137

Rep: Reputation: 18
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Server Wakeonlan Not Working When Laptop Lid Closed D11011101 Linux - Laptop and Netbook 1 03-27-2009 02:41 PM
hibernate button not working av.dubey Linux - Newbie 4 03-24-2008 02:31 PM
Wireless not working after Hibernate BogusTrumper Linux - Software 1 04-21-2007 05:18 PM
Hibernate not working on ubuntu anymore herd Ubuntu 3 04-27-2006 12:22 PM
hibernate not working any more jnsenit Linux - Laptop and Netbook 0 11-24-2004 02:26 PM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration