http://bugzilla.kernel.org/show_bug.cgi?id=12249





------- Comment #5 from rui.zh...@intel.com  2008-12-18 19:32 -------
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=19366)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=19366&action=view) [details] 
[details]
> > patch: always update the props.brightness
> 
> OK, with this patch, I can now set the brightness correctly from sysfs.
good news. :)

> However, reading the "brightness" sysfs value still gives wrong values;
Never trust the brightness value read from "brightness"
If you want to get the current backlight level, run "cat
/sys/class/backlight/acpi_video0/actual_brightness"


> 
> By chance, do you know how hal/g-p-m might be incrementing or decrementing
> brightness?
No. :(

> My guess is that hald is writing some magic value to something in
> /sys/class/backlight/acpi_video0/ but I am not sure what it is...
> 
right.
please kill acpid, and run "cat /proc/acpi/event"
attach the output after pressing the brightness up/down hotkey.
please attach the dmesg output as well.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to