[Bugme-janitors] [Bug 23472] 2.6.37-rc2 vs. 2.6.36 laptop backlight changes?
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Wed Nov 24 00:50:01 PST 2010
https://bugzilla.kernel.org/show_bug.cgi?id=23472
--- Comment #6 from Dan Carpenter <error27 at gmail.com> 2010-11-24 08:50:00 ---
I believe gnome uses this command to set the backlight:
bus-send --print-reply --system --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer_backlight \
org.freedesktop.Hal.Device.LaptopPanel.SetBrightness int32:<SETTING>
Where <SETTING> is the brightness level.
To view the current setting use:
bus-send --print-reply --system --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer_backlight \
org.freedesktop.Hal.Device.LaptopPanel.GetBrightness
(I have tested this on Ubuntu 10.4)
You can do this in a more simple way by going to:
/sys/devices/platform/eeepc/backlight/eeepc/
Except if you aren't using an eeepc then explore under your
/sys/devices/platform until you find the backlight settings.
cd /sys/devices/platform/eeepc/backlight/eeepc/
cat brightness
echo 4 > brightness
cat max_brightness > brightness
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the Bugme-janitors
mailing list