You are not logged in.
Pages: 1
Hey there! just set up my first arch laptop, and am loving it!! (ubuntu user before)
I have set up mostly everything for power savings and i am getting okay battery life. The only thing that i cannot fix is setting my backlight brightness. it is permanently on 100%.
I have been trying for a few days now reading forums etc and cant seem to get it working. My current setup is:
Acer 1830T-3425
Intel core i3 330UM processor (first gen)
4gb ddr3 ram
64gb SSD
11.6" Led screen
**Intel HD Graphics** (with xf86-video-intel-2.17.0-2 installed)
Wireless B/G/N
Archlinux x86
i cannot control my brightness settings. Once i have this running im sure my battery will last alot longer
ive tried:
setpci -s 00:02.0 F4.B=50
xbacklight gives:
No outputs have backlight property
lspci gives
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
any ideas? would be much appreciated!
Thanks
Offline
I use laptop-mode-tools to automatically set brightness level right after booting the system and it works exactly as it should.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
i checked the settings for laptop-mode and these are what i have:
#
# Should laptop mode tools control LCD brightness?
#
CONTROL_BRIGHTNESS=1
#
# Commands to execute to set the brightness on your LCD
#
BATT_BRIGHTNESS_COMMAND="echo 60"
LM_AC_BRIGHTNESS_COMMAND="echo 100"
NOLM_AC_BRIGHTNESS_COMMAND="echo 72"
BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"
(as i dont have a cat /proc/acpi/video/VID/LCD/brightness location)
also
ENABLE_LAPTOP_MODE_TOOLS=1
ENABLE_LAPTOP_MODE_ON_BATTERY=1
still no change in backlight.
Offline
what do you have in /sys/class/backlight?
Offline
Inside is a folder called acpi_video0
and inside that is
Offline
i also forgot to add that i am running Openbox, if that helps.
Offline
On my machine the value of max_brightness is 15. Check to see if the values you are attempting to use (60, 72 and 100) are within the allowed range.
Offline
Try doing what skunktrader suggests. For example, set the settings as follows:
BATT_BRIGHTNESS_COMMAND="echo 12"
LM_AC_BRIGHTNESS_COMMAND="echo 14"
NOLM_AC_BRIGHTNESS_COMMAND="echo 14"
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I set those to exactly that, 12 14 14 and still no difference. it seems its not responding to anything i throw at it. so very weird... any other ideas ??
i appreciate all the help by the way, and happy holidays!
Offline
Type rc.d list. Is laptop-mode running? If not, issue "rc.d start laptop-mode".
Last edited by Shark (2011-12-25 12:09:39)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Do you have the proper kernel driver loaded to support your LCD? If you had no problems running Ubuntu, you may do the following: boot Ubuntu LiveCD, and if you can control screen brightness there, run
lsmod > ubu-mods.txt
and compare with the output you get in Arch.
You can also enable DEBUG mode in lcd-brightness.conf and see if it helps track down the culprit.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
First, check /sys/class/backlight/acpi_video0/max_brightness to see the higest value; mine is 9, on an acer 5733... Then it goes from zero to the value in previously mentioned file.
Second, does your function keys work? If yes, then check if /sys/class/backlight/acpi_video0/brightness changes upon each key-press...
For my acer 5733, then the function keys dosen't work by default, and a workaround is needed ie. adding acpi_osi=Linux to your grub kernel bootline...
Still, I also have problems, since even though the file /sys/class/backlight/acpi_video0/brightness correctly changes with laptop-mode-tools, then the screen dosen't respond at bootup and just uses highest brightess anyways, and it's first when I press the function-key once for changing brightness, that the brightness actually notices the file /sys/class/backlight/acpi_video0/brightness, and changes brightness accordingly(+1 for the actual key-press made of the brightness function-key...)
Also, echoing a value into /sys/class/backlight/acpi_video0/brightness as root, also dosen't work...
Maybe you have the same issue, but unfortunetly, I haven't found a fix/workaround yet...
Last edited by mhertz (2011-12-26 17:33:46)
Offline
I'm a bit new to this stuff, so there may be some reason others haven't already suggested this, but have you tried adding 'acpi_osi=Linux' or 'backlight=vendor' to your grub kernel boot line? I had a similar issue with my backlight not being adjusted properly -- the first command was a suggestion I found everywhere, the second is what actually solved my problem -- though I had three folders in /sys/class/backlight, and the problem was just that my system was using the wrong one...
Also, have you tried echoing a value to /sys/class/backlight/acpi_video0/brightness, just to see if that'll actually do anything? For example:
echo 1 > /sys/class/backlight/acpi_video0/brightness
I would expect that wouldn't do a damn thing, otherwise xbrightness should probably be working, but it might be worth a shot...
Offline
I'm a bit new to this stuff, so there may be some reason others haven't already suggested this, but have you tried adding 'acpi_osi=Linux' or 'backlight=vendor' to your grub kernel boot line?
Well, I had suggested acpi_osi=Linux in the post just before yours... Anyway, on my acer 5733, then acpi_osi=Linux makes the function keys work for brightness, but if adding backlight=vendor additionally, then it will not work, but that's just my system...
[...] -- though I had three folders in /sys/class/backlight, and the problem was just that my system was using the wrong one...
Thank you so much for that comment, mate! I was going crazy about not getting any brightness changes when echoing to /sys/class/backlight/acpi_video0/brightness, and only the function keys worked.
The function keys also would make the system update previously mentioned file, but when manually echoing to it, then nothing!
I wanted laptop-mode-tools to adjust brightness automatically upon bootup by echoing to that file, but because of the above, then I couldn't, but now i've found out that it's actually /sys/class/backlight/intel_backlight/brightness, that's the file which responds to echoing to! (In contrary to available documentation which all states the acpi_video0 folder's brightness file!)
To the OP, if you have the same issue as me(we both have acer's with nearly same specs), then lowest value is 95 and highest 976, and the file to echo to is: "/sys/class/backlight/intel_backlight/brightness"
I have this in lcd-brightness.conf from laptop-mode-tools:
BATT_BRIGHTNESS_COMMAND="echo 95"
LM_AC_BRIGHTNESS_COMMAND="echo 976"
NOLM_AC_BRIGHTNESS_COMMAND="echo 976"
BRIGHTNESS_OUTPUT="/sys/class/backlight/intel_backlight/brightness"
Last edited by mhertz (2011-12-28 15:41:08)
Offline
hmm i do not have the intel_backlight that you are saying. only the acpi_video0
Offline
Do you use the i915 module (for framebuffer)?
Offline
hmm i do not have the intel_backlight that you are saying. only the acpi_video0
OK...
What about the rest of what i've suggested to you?
Again, check maxbrightness so we know the max value.
Check if the function keys for brightness works; if not, then add acpi_osi=Linux to bootline in grub(/boot/grub/menu.lst, just after 'ro'...).
Then check if the number in the brightness file changes upon each press of the brightness-function-keys(fn + left/right)...
Finally, not related, but these bootlines also gives some better battery on newer intel systems:
pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1
Offline
hey all,
i still could not get the brightness up and down buttons to work. but i did find out that during the post screen i can use the buttons to turn down the brightness. I do have to restart every time to change it but that is ok,
thanks mhertz for the information on the newer intel systems. i am currently running at about 5:53 mins (almost 6 hours!) on battery with lowered down brightness, laptop-mode and your additional settings.
Last edited by Acuros (2012-01-03 07:24:49)
Offline
Pages: 1