Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Laptop backlight control
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RMX
n00b
n00b


Joined: 22 Aug 2004
Posts: 66

PostPosted: Mon May 12, 2008 10:10 pm    Post subject: [SOLVED] Laptop backlight control Reply with quote

Hello,
I can't find how to adjust my HP Pavilion DV6610EN backlight. I have read many HOWTOs and forum post but I still can't get it to work. I have /sys/class/backlight directory, but it's empty. I have included these options to my kernel:
Code:
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_CORGI=y
CONFIG_BACKLIGHT_PROGEAR=y

Also, I don't have /proc/acpi/video directory. Can anyone help me? I want to adjust brightness for battery economics.
By the way, I noticed that screen is brighter when I unplug the power cable. This is strange, I think it should be otherway.


Last edited by RMX on Wed May 14, 2008 8:27 am; edited 1 time in total
Back to top
View user's profile Send private message
Cheesebaron
n00b
n00b


Joined: 19 Nov 2006
Posts: 24
Location: DTU, Denmark

PostPosted: Tue May 13, 2008 8:27 am    Post subject: Reply with quote

Try enabling

CONFIG_BACKLIGHT_LCD_SUPPORT
CONFIG_BACKLIGHT_CLASS_DEVICE

EDIT: Oh wait you did.

EDIT EDIT: This might be a stupid question. But do you even have acpid installed?
_________________
ThinkPad X60t | Gentoo ~x86 | Zen-sources
Back to top
View user's profile Send private message
RMX
n00b
n00b


Joined: 22 Aug 2004
Posts: 66

PostPosted: Tue May 13, 2008 1:07 pm    Post subject: Reply with quote

Yes, I have acpid and it's running. I can see battery's status and so on. When I close the lid, backlight automatically turns off.
Back to top
View user's profile Send private message
danvari
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2008
Posts: 130

PostPosted: Tue May 13, 2008 1:42 pm    Post subject: Reply with quote

did you activate acpi-video support into the kernel? your directory is empty so it might not be activated in the kernel. you will need that to control the backlight. if you cannot activate acpi-video (maybe it is not listed in the acpi section), then you have to activate some lcd brightness stuff in the kernel.
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue May 13, 2008 2:02 pm    Post subject: Reply with quote

I have exactly the same problem. I tried booting Ubuntu Hardy LiveCD and I can adjust the brightness easily using Fn keys and/or the gnome brightness applet. Can it be caused that the liveCD uses open xorg-ati-driver whereas I have fglrx on my Gentoo installation?
Cheers,

Wojtek
_________________
Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio
Back to top
View user's profile Send private message
RMX
n00b
n00b


Joined: 22 Aug 2004
Posts: 66

PostPosted: Tue May 13, 2008 2:20 pm    Post subject: Reply with quote

danvari wrote:
did you activate acpi-video support into the kernel? your directory is empty so it might not be activated in the kernel. you will need that to control the backlight. if you cannot activate acpi-video (maybe it is not listed in the acpi section), then you have to activate some lcd brightness stuff in the kernel.


Well I can't find that in kernel's menuconfig. When I press / and type acpi_video, I see:
Quote:
Symbol: ACPI_VIDEO [=n]
│ Prompt: Video
│ Defined at drivers/acpi/Kconfig:137
│ Depends on: !X86_VOYAGER && ACPI && X86 && BACKLIGHT_CLASS_DEVICE &&
│ Location:
│ -> Power management options
│ -> ACPI (Advanced Configuration and Power Interface) Support (ACP

But I can't find it in the menu. Maybe because it says Depends on: !X86_VOYAGER && ACPI && X86 && BACKLIGHT_CLASS_DEVICE && and my processor is x86_64?
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue May 13, 2008 6:06 pm    Post subject: Reply with quote

I managed to get brightness working by selecting VIDEO_OUTPUT_CONTROL && INPUT (ACPI_VIDEO showed up after selecting them). After rebooting the kernel I can regulate screen brightness using Fn keys and brightness panel (which never worked before). Thanks for help.
Cheers,

Wojtek
_________________
Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio
Back to top
View user's profile Send private message
RMX
n00b
n00b


Joined: 22 Aug 2004
Posts: 66

PostPosted: Tue May 13, 2008 7:17 pm    Post subject: Reply with quote

Oh, I had to select VIDEO_OUTPUT_CONTROL, everything works now.
Thank you.
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue May 13, 2008 7:30 pm    Post subject: Reply with quote

Please add [SOLVED] to the topic then.
Cheers,

Wojtek
_________________
Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio
Back to top
View user's profile Send private message
RMX
n00b
n00b


Joined: 22 Aug 2004
Posts: 66

PostPosted: Wed May 14, 2008 8:28 am    Post subject: Reply with quote

Oh, sorry, I forgot that :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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