LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-15-2010, 07:59 PM   #1
kevin01123
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Rep: Reputation: 0
Does anyone have laptop-mode-tools screen brightness ability working in Slackware?


I'm currently trying to setup a minimal Slackware installation. Everything is well, except for screen brightness/hard disk control via laptop-mode-tools. I was wondering if anyone used it, and if they got it to work on their Slack systems, how they went about doing it.
 
Old 03-15-2010, 08:14 PM   #2
BILLYKANE
Member
 
Registered: Feb 2008
Location: Hefei,Anhui,China
Distribution: Slackware;chakra
Posts: 96

Rep: Reputation: 22
hello,kevin01123. see http://www.linuxquestions.org/questi...on-key-785010/. Maybe it would help you.
 
Old 03-16-2010, 04:59 PM   #3
kevin01123
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BILLYKANE View Post
hello,kevin01123. see http://www.linuxquestions.org/questi...on-key-785010/. Maybe it would help you.
My function key is working correctly. My problem is the automated brightness control provided by the laptop-mode-tools package doesn't work. I was wondering if anyone using Slackware was using laptop-mode-tools to control their brightness, and, if so, maybe provide insight on how they got it to work. I appreciate the help though.
 
Old 03-16-2010, 06:36 PM   #4
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
My screen auto darkens after ~30 seconds of no input, then brightens once a key is pressed, or touchpad is moved. The screen also auto brightens on AC power mode. I did absolutely nothing to invoke this condition. Though (I believe) it can be configured through your DE's power manager.
This is with a Dell d830, Nvidia binary drivers, kernel 2.6.33 (recompiled to only remove DRM, and compile in chipset/file system modules) running -current without Emacs updates, Xfce as the DE.

I always thought this was controlled through the BIOS and ACPI calls I know the kernel has tons of ACPI quirks for specific laptop modules. Post your laptop module, perhaps someone else has the same one, or knows what to do. If not, I'd Google it. Some laptop makers have their own Linux wiki (Think Wiki for IBM/Lenovo).
 
Old 03-16-2010, 07:14 PM   #5
kevin01123
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
The reason it dims like you say wouldn't happen to be because of xfce4-power-manager, would it? I'm trying to avoid anything bulky for power management, and laptop-mode-tools is the only thing that fits the bill.
 
Old 03-16-2010, 10:19 PM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
Originally Posted by kevin01123 View Post
The reason it dims like you say wouldn't happen to be because of xfce4-power-manager, would it? I'm trying to avoid anything bulky for power management, and laptop-mode-tools is the only thing that fits the bill.
In Fluxbox, the screen dims on its own as well. But, because I don't have any special acpi scripts installed (reminds me to do this ) closing the lid does not suspend. Plugging in the AC power does not auto-brighten the screen either.

I don't have any experience with laptop-mode-tools, but, on an older laptop I did all this the manual way. hdparm to control spin down, and /sys/devices/platform/* and/or a modified set of Eric's acpi scripts ( http://connie.slackware.com/~alien/tools/ )

Make sure laptop-mode-tools is installed and running correctly, and double check the configs.

Code:
/etc/laptop-mode/conf.d/lcd-brightness.conf

 
 The lcd-brightness module allows you to control the brightness of your LCD
 screen.
 
 
CONTROL_BRIGHTNESS

 When this option is enabled, laptop mode will adjust your LCD screen's
 brightness settings, if possible. You must configure the following settings
 for this to work.
 
 
BATT_BRIGHTNESS_COMMAND

 
LM_AC_BRIGHTNESS_COMMAND

 
NOLM_AC_BRIGHTNESS_COMMAND

 
BRIGHTNESS_OUTPUT

 The BRIGHTNESS_COMMAND settings specify commands that should be executed
 in order to set the brightness of your LCD. The BRIGHTNESS_OUTPUT setting
 specifies where the output of the command will be written. For instance,
 if your LCD's brightness is adjusted by writing a numeric value 3 to a file
 called /proc/brightness, you should set the command to "echo 3" and the
 output file to "/proc/brightness". If your LCD's brightness is adjusted
 using a utility like "toshset", you should include the entire toshset
 command line as the command, and set the output file to "/dev/null".
The program looks interesting, I may have to check it out in detail at a latter time
 
  


Reply

Tags
laptop, slackware


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
[SOLVED] adjusting screen brightness does not work in slackware 13.0 on asus laptop M70 series nezdravanul Linux - Laptop and Netbook 3 09-15-2009 05:39 AM
Laptop screen brightness; constantly reverts to minimum gbloon Slackware 7 01-23-2009 07:25 AM
unable to adjust screen brightness on my laptop after installing 10.3 vitalstrike82 Suse/Novell 7 07-26-2008 01:22 PM
thinkpad screen brightness increase/reduction not working hedpe Linux - Hardware 0 10-26-2007 02:49 AM


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