LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 10-06-2009, 07:19 PM   #1
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Rep: Reputation: 15
Strange Suspend Issues


I have a Dell Latitude D830, running Ubuntu 9.04 64-bit. It used to suspend and hibernate fine, without any issues, but all of a sudden (I'm not sure when), it stopped waking up from both suspend and hibernate. When I "power" the computer back on, all I get (after the initial Dell screen) is a white flashing cursor in the top left corner of my screen.

I searched around pretty much everywhere and tried every fix I could find. Nothing works except (this is the strange part) when I enable suspend to ram "tracing." When I enable this option, suspend works perfectly...other than the side effect of my date/time being completely wrong at boot, so I have no way of logging what exactly is going wrong.

In case someone doesnt know, the "tracing" writes dmesg to the memory chip that keeps time/date so it can be saved when the system reboots.

Thanks in advance.
 
Old 10-07-2009, 04:35 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,576

Rep: Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580
When you type
cat /sys/power/state

what does it say?
 
Old 10-07-2009, 01:13 PM   #3
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by business_kid View Post
When you type
cat /sys/power/state

what does it say?
"mem disk"
 
Old 10-08-2009, 04:34 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,576

Rep: Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580
have you tried the -d option on acpid

/usr/sbin/acpid -d

This grabs a terminal and logs everything. Start with hibernate. I never bothered to get suspend sorted. You need resume= pointing to your swop partition (e.g. resume=/dev/sda9)

sync; echo -n > /sys/power/state

There is also a kernel bopot option for console debug 'no_ocnsole_suspend'
Add that to your boot line
 
Old 10-08-2009, 06:14 PM   #5
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, I got hibernate working.
Suspend is still the same. It appears that no_console_suspend doesn't anything, I still get the flashing dash when I try to resume.

"/usr/sbin/acpid -d"
returns: "acpid: can't open /proc/acpi/event: Device or resource busy"

and I'm not sure what you mean by "sync; echo -n > /sys/power/state" Should I be echoing something into that file?
 
Old 10-09-2009, 03:58 AM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,576

Rep: Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580
Quote:
Originally Posted by swordphsh View Post
Thanks, I got hibernate working.
Suspend is still the same. It appears that no_console_suspend doesn't anything, I still get the flashing dash when I try to resume.
Try in the logs, or google for it. I mentioned it because it appears after a successful suspend. Never used it myself

Quote:
Originally Posted by swordphsh View Post
"/usr/sbin/acpid -d"
returns: "acpid: can't open /proc/acpi/event: Device or resource busy"

That's because acpid is already running. stop the service first.
Quote:
Originally Posted by swordphsh View Post
and I'm not sure what you mean by "sync; echo -n > /sys/power/state" Should I be echoing something into that file?
Try pasting it into a console and see
 
Old 10-09-2009, 01:26 PM   #7
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
I did a bit more searching around and added "acpi_sleep=s4_nohwsig" (in addition to no_console_suspend) and also removed "quiet" and "splash", to see if it would show what it was doing and that fixed it. I tried replacing quiet and splash, but it will not work with them in the boot parameters. I have no idea why that would make a difference, but it works and doesn't mess anything up.

Thanks a lot for your help.
 
  


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
Suspend/Resume - custom scripts and mouse issues Arcalyth Linux - Laptop and Netbook 0 02-17-2009 06:30 PM
Suspend issues. UmneyDurak Fedora 1 11-24-2006 11:41 PM
Sound Issues with XMMS/ mpg123 strange (strange noises) thegreatbob Linux - Software 0 06-25-2004 04:18 PM
Zaurus running OZ having suspend issues Slebine Linux - Laptop and Netbook 3 01-05-2004 06:24 PM
PCMCIA/Network Issues after Suspend organgtool Linux - Networking 0 03-29-2003 03:40 PM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration