LinuxQuestions.org
Visit Jeremy's Blog.
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 06-30-2007, 04:03 PM   #1
ingrix
LQ Newbie
 
Registered: Mar 2007
Distribution: Slackware, Knoppix
Posts: 15

Rep: Reputation: 0
Suspend/resume in the console


To start off, I am running Slackware 11.0 with a custom compiled 2.6.21.5 kernel on a Gateway MX6448 laptop. I have ACPI enabled, and suspend/resume works just fine while X is running, but the problem that I am having is that if I suspend the computer from the terminal (as in tty0-6, and I use acpitool) it will suspend just fine, and it will even resume alright except that the backlight and/or framebuffer don't come back up. The interesting thing is that if I suspend the computer while the X server is running, I have absolutely no issues, and the display comes back up perfectly fine. It is just a console thing. NOTE: the following I might not have said too well: Now, the computer will resume back to the console, but the display will be shut down, so I can enter commands (e.g. startx will bring up the X server and I have a nice display after that, until I exit it), but I just can't see anything that I am typing. Sorry if this is confusing. If you need me to clarify I will be glad to. But now, the million dollar question:

Is there any way to fix this problem? Is there a way to turn on the backlight and/or rerun the video bios and/or reset the vesa framebuffer? I appreciate the help guys

EDIT: Also, I have tried appending the acpi_sleep=s3_mode/s3_bios/s3_bios,s3_mode parameters when booting my kernel (I used them seperately, of course). Those have successfully failed to work. Thanks again!

Last edited by ingrix; 06-30-2007 at 04:05 PM.
 
Old 07-03-2007, 07:13 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,689

Rep: Reputation: Disabled
There is something like acpiconf (done from memory) a "man acpiconf" might help...
 
Old 07-03-2007, 06:54 PM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,496

Rep: Reputation: 68
This question sounds hauntingly similar to a problem I had a year ago with the free ati video driver. It would lock up the computer without a kernel panic message or even a log created it was a real kernel bug that to my knowledge has yet to be fixed.

Some things to try.

Run the console with normal setting for vga in your boot loader.

if this fixes the problem then its probably something with the frame buffer driver you selected during your custom compile of the kernel. If so try just plain vesa that one seams to work the best anywhooo. (This will require you to recompile the kernel )

Note: The frame buffer driver you select in the kernel has absolutely no effect on the driver you use for X. execpt causing issues sometimes :P


If that does not solve the issue then its probably something with the video card coming out of suspend mode but I doubt this as X is able to suspend the video just fine. That or the devs for the video driver that your using in x are using some sort of trickery to get suspend to work correctly on the card <-- this is possible.

I really doubt that using plain vesa wont solve the issue as its probably the frame buffer driver not supporting acpi correctly.
 
Old 07-03-2007, 11:34 PM   #4
ingrix
LQ Newbie
 
Registered: Mar 2007
Distribution: Slackware, Knoppix
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JZL240I-U
There is something like acpiconf (done from memory) a "man acpiconf" might help...
Thanks for the reply, but there is no such program or manual page on my box.

Quote:
Originally Posted by exvor
Run the console with normal setting for vga in your boot loader.

if this fixes the problem then its probably something with the frame buffer driver you selected during your custom compile of the kernel. If so try just plain vesa that one seams to work the best anywhooo. (This will require you to recompile the kernel )

If that does not solve the issue then its probably something with the video card coming out of suspend mode but I doubt this as X is able to suspend the video just fine. That or the devs for the video driver that your using in x are using some sort of trickery to get suspend to work correctly on the card <-- this is possible.

I really doubt that using plain vesa wont solve the issue as its probably the frame buffer driver not supporting acpi correctly.
I tried your suggestions, booting into normal vga mode, and using the plain vesa driver (I was doing that anyways ). VGA mode failed, as did the vesa fb driver. I have a radeon xpress 1100 IGP card, and the only thing that I could think that would help would be to compile the radeonfb driver into the kernel/module, but the odd thing is that the driver doesn't seem to connect with the card, which is really odd since it is a RADEON card! AUGH! This is infuriating to levels beyond comprehension.

Did find something out though. The fglrx module (not the X driver, the module) would mess my suspend/resume process up. ATI needs to get their act together, I think.

I am going to try one more thing, which is to compile agpgart into the kernel which might have been the problem. We'll see though. Thanks for all the help guys, I appreciate it.
 
Old 07-04-2007, 03:51 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,689

Rep: Reputation: Disabled
Sorry, seems to be a (Free)BSD-only tool .
 
Old 07-05-2007, 04:57 AM   #6
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,496

Rep: Reputation: 68
hmmm strange. Yeah the radeonfb driver is for the older radeon cards not the newer ones. At least that was the case last time I checked.

I am kinda out of ideas on what would be causing your issue.
 
  


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
laptop does not resume after suspend coolpyrofreak Linux - Laptop and Netbook 6 01-07-2007 05:28 PM
Suspend Fails to Resume dengel Linux - Laptop and Netbook 0 11-27-2005 09:58 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 11:48 AM
ssh ->suspend and resume... alaios Linux - Networking 4 01-11-2005 12:57 AM
resume and suspend pthreads okhan Programming 3 07-30-2004 09:32 AM


All times are GMT -5. The time now is 12:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration