Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] Laptop backlight control

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

[SOLVED] Laptop backlight control

  • Quote

Post by RMX » Mon May 12, 2008 10:10 pm

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: Select all

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.
Top
Cheesebaron
n00b
n00b
User avatar
Posts: 24
Joined: Sun Nov 19, 2006 10:15 am
Location: DTU, Denmark
Contact:
Contact Cheesebaron
Website

  • Quote

Post by Cheesebaron » Tue May 13, 2008 8:27 am

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
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Tue May 13, 2008 1:07 pm

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.
Top
danvari
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Fri Apr 04, 2008 10:57 am

  • Quote

Post by danvari » Tue May 13, 2008 1:42 pm

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.
Top
Wojtek_
Guru
Guru
User avatar
Posts: 397
Joined: Sun May 28, 2006 5:09 pm
Location: London

  • Quote

Post by Wojtek_ » Tue May 13, 2008 2:02 pm

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
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Tue May 13, 2008 2:20 pm

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:
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?
Top
Wojtek_
Guru
Guru
User avatar
Posts: 397
Joined: Sun May 28, 2006 5:09 pm
Location: London

  • Quote

Post by Wojtek_ » Tue May 13, 2008 6:06 pm

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
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Tue May 13, 2008 7:17 pm

Oh, I had to select VIDEO_OUTPUT_CONTROL, everything works now.
Thank you.
Top
Wojtek_
Guru
Guru
User avatar
Posts: 397
Joined: Sun May 28, 2006 5:09 pm
Location: London

  • Quote

Post by Wojtek_ » Tue May 13, 2008 7:30 pm

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
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Wed May 14, 2008 8:28 am

Oh, sorry, I forgot that :)
Top
Post Reply

10 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic