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





------- Comment #26 from rui.zh...@intel.com  2008-12-22 23:40 -------
(In reply to comment #25)
> (In reply to comment #23)
> > Created an attachment (id=19443)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=19443&action=view) [details] 
[details]
> > customized DSDT: fix another BIOS bug
> > 
> > _BQC should return the current backlight levels rather than an index in the
> > PCTG package.
> 
> With this DSDT, incrementing brightness above 100% will flip-flop from 25% to
> 100%: ... -> 80 -> 85 -> 90 -> 100 -> 25 -> 100 -> 25 -> ...
> And same thing when decrementing below 20%.
weird, please apply the debug patch I attached below
and attach the dmesg output after doing the same test, and you'd better add
some comments in the dmesg like this:

...
...
pressing the hotkey
...
...
cat /proc/acpi/video/VGA/LCDD/brightness
...
...
pressing the hotkey
...
...

> 
> Start with brightness at 100%
> 
> # cat /sys/class/backlight/acpi_video0/actual_brightness
> 0
echo 0 > /sys/class/backlight/acpi_video0/brightness at this time,
and cat /sys/class/backlight/acpi_video0/actual_brightness
what does dmesg say?
BTW: do remember to apply the patch in comment #3 when doing this test.

> # dmesg | tail
> <...>
> [  893.870775] Rui: current level is 20, brightness count is 18
> # echo 6 > /sys/class/backlight/acpi_video0/brightness
> /* brightness goes to 50% */
> # cat /sys/class/backlight/acpi_video0/actual_brightness
> 9
> # dmesg | tail
> <...>
> [  893.870775] Rui: current level is 20, brightness count is 18
> [  929.443643] Rui: current level is 65, brightness count is 18
> 
> /* Note: according to my eyes and /proc/acpi/video/VGA/LCDD/brightness ,
> brightness is now 50%, not 65% */
> 
hmm, what does "/proc/acpi/video/VGA/LCDD/brightness" say in this case?
there should be something like "current: 65" I think.


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

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to