Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] LCD brightness buttons don't work.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shlape
n00b
n00b


Joined: 04 Feb 2005
Posts: 29
Location: Cranny, Aus.

PostPosted: Thu Apr 02, 2009 11:53 pm    Post subject: [SOLVED] LCD brightness buttons don't work. Reply with quote

Having installed Gentoo 2008.0 on my new Vostro 1710 I noticed the brightness controls don't work as they did on my old Latitude D800 laptop. Before hassling Dell about the possibility that there was a problem with the laptop itself, I booted an Ubuntu live CD and found it worked perfectly.

Before anyone diverts this topic to "why don't you just install Ubuntu", I'll mention briefly that I think Ubuntu is a great Linux distro but my preference is Gentoo.

I believe the problem may be an incorrect kernel configuration. Any ideas?


Last edited by shlape on Sat Apr 04, 2009 12:28 am; edited 2 times in total
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Fri Apr 03, 2009 1:54 am    Post subject: Re: LCD brightness buttons don't work. Reply with quote

shlape wrote:
Before anyone diverts this topic to "why don't you just install Ubuntu"


:o That would never happen here!

I googled and found this page. There's some good information on there that you can try on your system, like the echo -n # /proc/acpi/video/VGA/LCD/brightness . Half way down there are a couple scripts that are offered up to replace some apparently useless acpi files, you should try that.
Back to top
View user's profile Send private message
shlape
n00b
n00b


Joined: 04 Feb 2005
Posts: 29
Location: Cranny, Aus.

PostPosted: Fri Apr 03, 2009 3:10 am    Post subject: Re: LCD brightness buttons don't work. Reply with quote

avieth wrote:

I googled and found this page. There's some good information on there that you can try on your system, like the echo -n # /proc/acpi/video/VGA/LCD/brightness . Half way down there are a couple scripts that are offered up to replace some apparently useless acpi files, you should try that.


Yeah, Google gave me results like that too. UnfortunatelyI have no "video" in my /proc/acpi directory.
The thing that has me believing it may be a kernel config problem is, after booting the Ubuntu live CD, I can see a /proc/acpi/video/...
While in Ubuntu, I copied the lsmod output to see what modules *may* be added, but instead of mindlessly adding modules which I'm not sure of, I'm hoping someone can direct me down a wiser path.

...or maybe I'm off in the wrong direction?

*help*

:?
Back to top
View user's profile Send private message
shlape
n00b
n00b


Joined: 04 Feb 2005
Posts: 29
Location: Cranny, Aus.

PostPosted: Fri Apr 03, 2009 8:04 pm    Post subject: How did he do it??? Reply with quote

I guess it's always useful to provide a 'how did I do it' after marking the post as SOLVED, so here it goes....

After finding out that the Ubuntu live CD was succeeding in configuring the laptop to use the brightness keys I thought I'd have a look at the .config it was using.
I found that CONFIG_ACPI_VIDEO was set, but in my kernel config it was no where to be found. Instead of doing a nasty cut-n-past to my .config file
I looked around and found this:
http://www.nabble.com/T61-Brightness-keys-with-2.6.26-not-working-(NVIDIA)-td18577619.html"
(sorry, the URL function just wasn't working for me this morning) :oops:

More importantly...

Quote:
In 2.6.26 the dependencies for video.c changed. please make sure you have
CONFIG_ACPI_VIDEO enabled (i think it requires CONFIG_VIDEO_OUTPUT_CONTROL
now).


and

Quote:
Previously I could not enable CONFIG_ACPI_VIDEO because it wasn't displayed in
menuconfig. After I enabled CONFIG_VIDEO_OUTPUT_CONTROL I finally could select it.


After doing this, and a quick reboot... problem solved.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sun Apr 05, 2009 2:10 am    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
durand101
n00b
n00b


Joined: 11 Nov 2007
Posts: 24
Location: Nottingham, UK

PostPosted: Thu Jul 23, 2009 10:36 pm    Post subject: Reply with quote

shlape, thanks for posting the solution!
Back to top
View user's profile Send private message
piponazo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2008
Posts: 102
Location: Córdoba - Spain

PostPosted: Wed Jul 29, 2009 11:49 pm    Post subject: Reply with quote

My eyes will be grateful to you forever :lol:. This solution works.
_________________
La plaga tux! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum