LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-03-2010, 08:58 PM   #1
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 31
<Squeeze> Closing laptop lid renders computer unusable


I am currently running squeeze with the 2.6.32-trunk amd64 kernel.

If I close the laptop lid the screen will not turn back on and the laptop becomes unresponsive. The only way to get it functioning again is to hold the power button down until it dies.


Any leads on what might be the issue here?

Thanks
 
Old 02-03-2010, 09:37 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
it's trying to suspend/hibernate?
 
Old 02-03-2010, 09:38 PM   #3
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Wheezy (Fluxbox WM)
Posts: 1,363
Blog Entries: 52

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
My suggestion is that the lid close has been setup to suspend to memory, and that for some reason the recovery from suspend is failing.

You can do a suspend manually to test this (and see if it wakes up):
Code:
su
acpitool -s
If this is the problem (that it does not wake up from the suspend properly), then have a look at the triggers in /etc/acpi/events and the scripts in /etc/acpi/actions (or possibly just in /etc/acpi). These allow you to remove the event for the lid (or perhaps change it to a full shutdown, depending on your preference).
 
1 members found this post helpful.
Old 02-03-2010, 10:59 PM   #4
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 31
In the power preferences I have the laptop set to "Blank screen" when the lid is closed. So I'm not sure what that affects or where that setting is actually saved at
 
Old 02-03-2010, 11:36 PM   #5
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Wheezy (Fluxbox WM)
Posts: 1,363
Blog Entries: 52

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Another possibility is that the video driver is crashing when the blanking is turned on.

On many laptops it isn't all that critical to blank the video when the lid is closed, because they have a hardware lid switch on the backlight as well. Just turn off the power preferences "blank screen". To check that the backlight still goes off even if not forced to do so by the driver, you will need to manually press the lid button; you might need a paper clip to get to it. (It is advisable to have the backlight go off when the lid is closed so that the screen does not get too hot).

You can manually test dpms blanking from a terminal using:
Code:
xset dpms force off
If the original suggestion is correct (it is going into sleep mode), then this should be apparent from the front panel power light (it typically goes into a different state, for example a slow pulsing).
 
Old 02-04-2010, 02:01 AM   #6
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,822

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Since you are running quite a new kernel it is possible that your problems are cause by the kernel mode setting that is now enabled by default in newer Debian linux-image packages. Were you experiencing this problem with an older kernel?

Evo2.
 
Old 02-04-2010, 02:36 PM   #7
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 31
I was using 2.6.30 before and that worked just fine. I'll look at the dpms suggestion and see if that helps
 
Old 06-01-2010, 02:22 AM   #8
ergod
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by war1025 View Post
I am currently running squeeze with the 2.6.32-trunk amd64 kernel.

If I close the laptop lid the screen will not turn back on and the laptop becomes unresponsive. The only way to get it functioning again is to hold the power button down until it dies.


Any leads on what might be the issue here?

Thanks
I had the same issue with you.

my solution:

I find I didn't have the "acpitool" pakage installed. So, after installing the acpitool, the problem dispeared.

sudo apt-get install acpitool
 
1 members found this post helpful.
Old 07-13-2010, 02:29 AM   #9
gdneil
LQ Newbie
 
Registered: Jul 2010
Distribution: Debian Squeeze
Posts: 1

Rep: Reputation: 0
Was there ever a solution to laptop lid closing / blank screen problem?

I just upgraded to the current kernel... and am now having this same problem. Vaio and Toshiba both don't recover from lid closing with "blank screen" set as action. Was there ever a resolution to it?

Uhm... ergod? You must have done something other than installing acpitool, as it's a command line utility and doesn't actually do anything if you just install it... At least that's my understanding / experience...

Thanks,
-Neil
 
Old 07-17-2010, 03:48 AM   #10
fenwar
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
I've had this issue since upgrading from a fully working Lenny to Squeeze (via numerous hiccups which I am gradually ironing out...) Now using kernel 2.6.32-5-686 on an Acer Extensa 5510 laptop.


After opening the lid, I would get a frozen system. Sometimes it would respond to CTRL+ALT+F1; on one occasion ps -Al showed two gnome-screensaver processes; killing the first one unwedged GDM. However this was not always the case. Sometimes I could use SysRq to get out of it, sometimes even that wouldn't work.

After reading this thread, installing acpitool and running acpitool -s has now "magically" fixed something; when I open my lid now I briefly see a message about render error but then I get GDM back.

Code:
[  475.015368] render error detected, EIR: 0x00000010
[  475.015373] page table error
[  475.015377]   PGTBL_ER: 0x00000003
[  475.015383] [drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
[  475.015400] render error detected, EIR: 0x00000010
[  475.015404] page table error
[  475.015408]   PGTBL_ER: 0x00000003
Not too worried about this for now as the system is working.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
800x600 display renders some menus unusable Azul Rondo Linux - Desktop 4 08-02-2009 10:20 PM
System lock when closing laptop lid on 12.2 brixtoncalling Slackware 10 03-31-2009 06:51 AM
Wireless after closing the lid watcher69b Fedora 2 01-14-2009 10:24 PM
How to suspend on lid closing? jerrybasham Linux - Laptop and Netbook 4 06-29-2007 12:03 PM
closing laptop lid causes display to go crazy disciple061 Linux - Laptop and Netbook 0 03-20-2004 12:48 AM


All times are GMT -5. The time now is 01:53 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