LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 03-10-2006, 06:37 PM   #1
yougene
Member
 
Registered: Oct 2005
Posts: 65

Rep: Reputation: 15
ACPI LCD permanently turns off when lid is shut Inspiron B120


I installed the 2.6 kernel on my Dell Inspiron B120 running Slackware 10.2 to get acpi and suspend to hard drive working. Everything is installed fine. The problem I am having now is whenever I close my lid the lcd screen turns off and won't come back on. I know the system is still working because I can toggle capslock, and when I press the power button the lcd turns back on before the computer shutsdown. What's the problem here?
 
Old 03-14-2006, 02:37 PM   #2
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Ok so I've been trying to figure out what's going on. I don't think the computer is going into suspend mode, because I can ctrl+alt+dlt when the screen goes blank.



The strange thing is I don't see anything in acpi telling my screen to turn off.

The only two files in /etc/acpi are

/etc/acpi/events/default


Quote:
# This is the ACPID default configuration, it takes all
# events and passes them to /etc/acpi/default.sh for further
# processing.

# event keeps a regular expression matching the event. To get
# power events only, just use something like "event=button power.*"
# to catch it.
# action keeps the command to be executed after an event occurs
# In case of the power event above, your entry may look this way:
#event=button power.*
#action=/sbin/init 0

# Optionally you can specify the placeholder %e. It will pass
# through the whole kernel event message to the program you've
# specified.

event=.*
action=/etc/acpi/acpi_handler.sh %e


and /etc/acpi/acpi_handler.sh

Quote:
#!/bin/sh
# Default acpi script that takes an entry for all actions

IFS=${IFS}/
set $@

case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac



Am I missing something here?
 
Old 03-14-2006, 10:32 PM   #3
shaunw
Member
 
Registered: Dec 2005
Posts: 77

Rep: Reputation: 15
Smile Acpi

It would help if you tell us which Linux distribution you are
using. I use Suse 10 and while I can get it to suspend to disk
I can't get it to turn on the LCD backlight when it comes out
of suspend. However I also have a similar problem with windows
XP which came pre-installed on this notebook.
 
Old 03-15-2006, 10:13 AM   #4
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Sorry, I'm running Slackware 10.2 on the 2.6.15.5 kernel.
 
Old 03-18-2006, 02:07 PM   #5
cmetelko
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
Hi,
so what did you have to do to get acpi working on an Inspiron B120 running
SUSE 10.0? When I try to boot up with it enabled, it hangs when looking for
the floppy drive.
 
Old 03-18-2006, 05:35 PM   #6
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
One more thing I found

If I'm running a window manager and close the lid, it doesn't come back on. But if I ctrl+alt+backspace to exit out of X the screen comes back on. This doesn't really work for when I close the screen while I'm just a command prompt though. Could this be pointing at some specific problem?
 
Old 03-19-2006, 04:52 AM   #7
huru
LQ Newbie
 
Registered: Mar 2006
Location: Trondheim - Norway
Distribution: Fedora Core 5
Posts: 16

Rep: Reputation: 0
You may need to "xset dpms force on" "vbetool dpms on" or if you have ATI gfx "radeontool light on". Put it in a acpi script
 
Old 03-20-2006, 01:28 PM   #8
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks. xset dpms force on didn't work when I tried to run from the command line. I don't have vbetool
 
Old 03-20-2006, 02:23 PM   #9
huru
LQ Newbie
 
Registered: Mar 2006
Location: Trondheim - Norway
Distribution: Fedora Core 5
Posts: 16

Rep: Reputation: 0
Check that you have
Code:
Option "dpms" "true"
under Section "Monitor" in your xorg.conf
Check which script is run when lid is closed in /var/log/acpid
 
  


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
ACPI lid close on Inspiron 6000 with ATI x300 vxd Linux - Laptop and Netbook 1 03-06-2006 03:04 PM
Blank screen when running new kernel on Inspiron B120 yougene Slackware 7 01-27-2006 03:49 PM
Inspiron 8500 LID switch with ACPI RBJohns Linux - Laptop and Netbook 8 05-21-2005 10:17 AM
screen stays on when lid shut, inspiron 9300 exodist Linux - Laptop and Netbook 4 04-30-2005 10:50 PM
fujitsu s6120 lifebook sometimes turns on when i open lid rgiggs Linux - Laptop and Netbook 7 01-24-2005 10:47 PM


All times are GMT -5. The time now is 09:34 AM.

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