Brightness control on Lenovo S10-2

Wu Zhangjin wuzhangjin at gmail.com
Fri Aug 14 00:25:53 PDT 2009


Hi,

this works for me(thinkpad SL400),

$ echo 11 > /sys/class/backlight/acpi_video0/brightness
$ cat /sys/class/backlight/acpi_video0/brightness 
11
$ echo 3 > /sys/class/backlight/acpi_video0/brightness
$ cat /sys/class/backlight/acpi_video0/brightness 
3
$ echo 85 > /proc/acpi/video/VGA1/LCDD/brightness 
$ cat /proc/acpi/video/VGA1/LCDD/brightness
levels:  20 25 30 35 40 45 50 55 60 65 70 75 80 85
current: 85

and the brightness of the LCD is also changed.

If it not work on your SL10-2, it should be the problem of kernel
support to your SL10-2(because HAL is based on the low-level interfaces,
if the interfaces not function, HAL can not give any help). and you need
to ensure your SL10-2 support brightness controlling and your kernel is
new enough.

my kernel version is:

$ uname -a
Linux falcon 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:54:56 UTC
2009 i686 GNU/Linux

On Fri, 2009-08-14 at 11:11 +0700, Tịnh Nguyễn Thanh wrote:
> Hi all!
> I'm using Lenovo S10-2
> When I use HAL & DBUS to set a new LCD brightness level, now the
> brightness level has been changed successfully.
> But I see that the actual brightness of LCD isn't changed.
> When I run the following command as root to change brightness level of
> LCD:
> $ echo 3 > /sys/class/backlight/acpi_video0/brightness
> now the brightness level has been changed to 3.
> But the brightness of LCD isn't changed too.
> I got the same result when I control brightness via procfs
> (/proc/acpi/video/...).
> 
> Does HAL not support to control LCD device of Lenovo S10-2?
> please help me! 
> Thank you so much...
> 
> -- 
> Tinh, Nguyen Thanh
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal



More information about the hal mailing list