LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   ACPI LCD permanently turns off when lid is shut Inspiron B120 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/acpi-lcd-permanently-turns-off-when-lid-is-shut-inspiron-b120-423664/)

yougene 03-10-2006 06:37 PM

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?

yougene 03-14-2006 02:37 PM

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?

shaunw 03-14-2006 10:32 PM

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.

yougene 03-15-2006 10:13 AM

Sorry, I'm running Slackware 10.2 on the 2.6.15.5 kernel.

cmetelko 03-18-2006 02:07 PM

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.

yougene 03-18-2006 05:35 PM

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?

huru 03-19-2006 04:52 AM

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

yougene 03-20-2006 01:28 PM

Thanks. xset dpms force on didn't work when I tried to run from the command line. I don't have vbetool

huru 03-20-2006 02:23 PM

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


All times are GMT -5. The time now is 07:40 PM.