You are not logged in.

#1 2010-09-12 03:58:11

tamikana
Member
Registered: 2010-04-06
Posts: 17

[SOLVED] Last Arch Linux Problem (brightness @ boot)

Heya,

So I have this new laptop (HP Pavilion DM4-1050ca)
Everything is working perfectly except everytime I boot my laptop, when Arch boots, before I get to my desktop, all of sudden I can't see anything and I have to raise the brightness of my laptop manually with function keys. Can someone please help me out. Thanks in advance big_smile

Last edited by tamikana (2010-09-12 06:56:36)

Offline

#2 2010-09-12 06:10:12

kpbotbot
Member
From: Philippines
Registered: 2010-08-02
Posts: 93
Website

Re: [SOLVED] Last Arch Linux Problem (brightness @ boot)

Where exactly is the "before I get to my desktop" part? tty login? Starting of daemons?


Sex is not the answer.

Sex is the question, and Yes is the answer.

Offline

#3 2010-09-12 06:17:37

tamikana
Member
Registered: 2010-04-06
Posts: 17

Re: [SOLVED] Last Arch Linux Problem (brightness @ boot)

Starting of daemons when it gets to the middle of the list

Right after when I read
"waiting for udev"

Last edited by tamikana (2010-09-12 06:19:21)

Offline

#4 2010-09-12 06:22:40

kpbotbot
Member
From: Philippines
Registered: 2010-08-02
Posts: 93
Website

Re: [SOLVED] Last Arch Linux Problem (brightness @ boot)

Same problem as mine before! big_smile

Do you have an Intel IGP?

I used to solve this by adding "i915.modeset=0" or "nomodeset" on the grub entry that boots arch, but this won't let you start X.

so i tried the KMS thing on this wiki article.
http://wiki.archlinux.org/index.php/Int … Setting.29

[sorry if i keep on editing my post hmm ]

Last edited by kpbotbot (2010-09-12 06:27:25)


Sex is not the answer.

Sex is the question, and Yes is the answer.

Offline

#5 2010-09-12 06:43:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: [SOLVED] Last Arch Linux Problem (brightness @ boot)

On this DV4, I have a file in the proc directory as follows:

[root@odin applications]# cat /proc/acpi/video/OVGA/DD03/brightness
levels:  0 10 20 30 40 50 60 70 80 90 100
current: 100
[root@odin applications]# echo 50 > /proc/acpi/video/OVGA/DD03/brightness
[root@odin applications]# cat /proc/acpi/video/OVGA/DD03/brightness
levels:  0 10 20 30 40 50 60 70 80 90 100
current: 50

Note that I have 5 possible displays DD01 - DD05 (VGA, S-Video, LVDS, HDMI, and I don't know)  The only one that supports brightness is the LVDS, which is the internal LVDS LCD panel.

Find the correct file in proc to which you can write a brightness value and actually change the brightness.
Add a command like echo 50 > /proc/acpi/video/OVGA/DD03/brightness (modified as appropriate for your system) and add it to /etc/rc.local.  Hopefully, nothing turns down the brightness after that file runs.  If so, find what does it, or find a script that runs later in the startup process.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2010-09-12 06:55:49

tamikana
Member
Registered: 2010-04-06
Posts: 17

Re: [SOLVED] Last Arch Linux Problem (brightness @ boot)

echo 50 > /proc/acpi/video/GFX0/DD02/brightness
YOU ROCK thank you big_smile

Offline

Board footer

Powered by FluxBB