LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   laptop lid won't shut off when closed (https://www.linuxquestions.org/questions/slackware-14/laptop-lid-wont-shut-off-when-closed-356901/)

houler 08-25-2005 01:01 PM

laptop lcd won't shut off when closed
 
I have a dell Inspiron 600m laptop that I just got.

I just upgraded from the default 2.4.* kernel to the latest 2.6.12.5 kernel.

What I noticed is that when I press the small "switch" by the lid of the lcd, the lcd screen won't shut off. The 2.4.* kernel doesn't have this problem. I

know it has to be a kernel option, but I just can't seem to find it.

Any suggestions?

*EDIT*

This fix can be found here, follow these instruction, only if you have a radeon card:

http://www.linuxquestions.org/questi...t=acpi+scripts

it's about 6-7 posts down by: TFMegatron.

tuxdev 08-25-2005 01:06 PM

look under Power Mangement and esp. ACPI. I think it is something like "Panel Button Support", not sure what the name is, not on my Linux box.

houler 08-25-2005 01:22 PM

Thanks for the quick reply, unfortunately, I couldn't find anything related to "panel button support", nothing came close to those words under the ACPI or Power Management section.

dunric 08-25-2005 01:58 PM

look for button(CONFIG_ACPI_BUTTON) option

houler 08-25-2005 03:04 PM

Quote:

Originally posted by dunric
look for button(CONFIG_ACPI_BUTTON) option
I found that option in the .config file, and it's already set to "y".

houler 08-25-2005 03:28 PM

Just re-compiled it, and the lcd still won't shut off when I press the switch down. Any other remedies?

I just re-configured the ACPI section as modules, incl. "button". I'll let you guys know how it goes after I'm done compiling.

killerbob 08-25-2005 03:53 PM

While my laptop is not the same brand as yours, the lid switch on mine is actually BIOS controlled. It sends the lid_closed/open signal to the OS, but whether or not the backlight on the LCD turns off is handled by the BIOS.

Incidentally, that's all that happens. The LCD does not turn off, and if you shine a flashlight at the screen you can still see your characters.

houler 08-25-2005 04:33 PM

Well I just i just changed all the acpi options to modules, and it still didn't work. :(

chess 08-25-2005 05:15 PM

Are you just trying to blank the screen or are you trying to suspend to ram? I don't know if the default acpi scripts will do the trick. I have acpi/suspend to ram working fine on my dell 700m but I had to write a custom acpi event script. Also, if you changed the acpi options to modules, are those modules loaded -- i.e. button, lid, etc.?

I think -- but not sure -- that you need to do a little configuring of your acpi scripts to get it working.

houler 08-25-2005 06:36 PM

Quote:

Originally posted by Jackson1995
Are you just trying to blank the screen or are you trying to suspend to ram? I don't know if the default acpi scripts will do the trick. I have acpi/suspend to ram working fine on my dell 700m but I had to write a custom acpi event script. Also, if you changed the acpi options to modules, are those modules loaded -- i.e. button, lid, etc.?

I think -- but not sure -- that you need to do a little configuring of your acpi scripts to get it working.

I just want the screen to be "blanked or off" when I press the little "switch"...Like when you close the lcd lid of the laptop and it seems that the lcd has turned off...

I haven't figured it out yet...I'm still picking some kernel options and searching on google :study: :(

dunric 08-25-2005 07:34 PM

To check what event is invoked, press your "little switch" and then check bottom of /var/log/messages. If it sent some event, it should be easy to handle it in /etc/acpi/acpi_handler.sh script.

houler 08-25-2005 07:37 PM

Quote:

Originally posted by dunric
To check what event is invoked, press your "little switch" and then check bottom of /var/log/messages. If it sent some event, it should be easy to handle it in /etc/acpi/acpi_handler.sh script.
No event popped up, as if I didn't press it at all :o

chess 08-25-2005 08:06 PM

Are the lid, button, etc modules loaded? Also, did you restart acpid?

houler 08-25-2005 08:32 PM

Quote:

Originally posted by Jackson1995
Are the lid, button, etc modules loaded? Also, did you restart acpid?
I'm not really sure, I thought that the modules would load automatically? I don't know the names of the modules of the lid, button.... I checked rc.modules, and I couldn't find anything about acpi :scratch:

chess 08-25-2005 08:44 PM

"lsmod" will list the modules that have been loaded. Since you compiled them as modules, you should see lid, button etc. listed. If not, you need to modprobe them.


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