You are not logged in.

#1 2011-12-23 09:34:54

Acuros
Member
Registered: 2011-12-23
Posts: 8

Screen Brightness issues

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

#2 2011-12-23 09:42:47

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Screen Brightness issues

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

#3 2011-12-23 10:16:23

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

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

#4 2011-12-23 13:52:51

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

Re: Screen Brightness issues

what do you have in /sys/class/backlight?

Offline

#5 2011-12-23 15:50:59

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

Inside is a folder called acpi_video0
and inside that is
23hsnl3.jpg

Offline

#6 2011-12-24 07:25:07

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

i also forgot to add that i am running Openbox, if that helps.

Offline

#7 2011-12-24 07:32:53

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Screen Brightness issues

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

#8 2011-12-24 07:44:24

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Screen Brightness issues

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

#9 2011-12-25 08:58:26

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

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

#10 2011-12-25 12:09:04

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Screen Brightness issues

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

#11 2011-12-26 07:19:42

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

Hey so i checked rc.d list
and it appears to be running.


2011122613248837051024x.png

Offline

#12 2011-12-26 07:56:57

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Screen Brightness issues

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

#13 2011-12-26 16:15:56

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: Screen Brightness issues

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

#14 2011-12-27 19:55:15

urza9814
Member
Registered: 2010-06-05
Posts: 28

Re: Screen Brightness issues

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

#15 2011-12-28 15:37:33

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: Screen Brightness issues

urza9814 wrote:

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... wink 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

#16 2011-12-30 08:21:06

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

hmm i do not have the intel_backlight that you are saying. only the acpi_video0

Offline

#17 2011-12-30 19:19:11

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Screen Brightness issues

Do you use the i915 module (for framebuffer)?

Offline

#18 2011-12-31 01:23:41

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: Screen Brightness issues

Acuros wrote:

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

#19 2012-01-03 07:23:51

Acuros
Member
Registered: 2011-12-23
Posts: 8

Re: Screen Brightness issues

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

Board footer

Powered by FluxBB