LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2005, 12:01 PM   #1
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Rep: Reputation: 30
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.

Last edited by houler; 08-27-2005 at 04:18 PM.
 
Old 08-25-2005, 12:06 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
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.
 
Old 08-25-2005, 12:22 PM   #3
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
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.
 
Old 08-25-2005, 12:58 PM   #4
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
look for button(CONFIG_ACPI_BUTTON) option
 
Old 08-25-2005, 02:04 PM   #5
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
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".
 
Old 08-25-2005, 02:28 PM   #6
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
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.

Last edited by houler; 08-25-2005 at 02:44 PM.
 
Old 08-25-2005, 02:53 PM   #7
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
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.
 
Old 08-25-2005, 03:33 PM   #8
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
Red face

Well I just i just changed all the acpi options to modules, and it still didn't work.
 
Old 08-25-2005, 04:15 PM   #9
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
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.
 
Old 08-25-2005, 05:36 PM   #10
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
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
 
Old 08-25-2005, 06:34 PM   #11
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
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.
 
Old 08-25-2005, 06:37 PM   #12
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
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
 
Old 08-25-2005, 07:06 PM   #13
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
Are the lid, button, etc modules loaded? Also, did you restart acpid?
 
Old 08-25-2005, 07:32 PM   #14
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
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
 
Old 08-25-2005, 07:44 PM   #15
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
"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.
 
  


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
Sytem hang when I close laptop lid Rosewing Linux - Laptop and Netbook 0 09-18-2005 02:11 PM
screen stays on when lid shut, inspiron 9300 exodist Linux - Laptop and Netbook 4 04-30-2005 10:50 PM
APM monitor shut off/closing lid and not suspending psycovic23 Linux - Hardware 1 07-22-2004 12:43 AM
Will not startup after lid is closed WindowsVeteran Linux - Laptop and Netbook 1 03-24-2004 08:59 PM
closing laptop lid causes display to go crazy disciple061 Linux - Laptop and Netbook 0 03-20-2004 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:25 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
Open Source Consulting | Domain Registration