Comment 4 for bug 218889

Revision history for this message
Francisco Borges (francisco-borges) wrote : Re: [Bug 218889] Re: [hardy] brightness on KDE jumps from 100% -> 42% -> 0%

On Sat, Apr 19, 2008 at 5:19 PM, awen <email address hidden> wrote:
> Can you please test the attached version. It will report every
> brightness change that is done on stdout. Please try to press the
> brightness-up or -down button and see if you get one line of output, or
> if several lines are printed on stdout?

Running your script I will get:

press [ Fn + brightness-down ]

Brightness changed to 6
Brightness changed to 5
Brightness changed to 4
Brightness changed to 3

press [ Fn + brightness-down ]

Brightness changed to 2
Brightness changed to 1
Brightness changed to 0

The output of a single key press of [fn + brightness-down] on
/var/log/acpid is:

[Sat Apr 19 20:11:17 2008] received event "video LCD 00000087 00000000"
[Sat Apr 19 20:11:17 2008] notifying client 6173[0:0]
[Sat Apr 19 20:11:17 2008] notifying client 23179[107:112]
[Sat Apr 19 20:11:17 2008] executing action "/etc/acpi/video_brightnessdown.sh"
[Sat Apr 19 20:11:17 2008] BEGIN HANDLER MESSAGES
[Sat Apr 19 20:11:17 2008] END HANDLER MESSAGES
[Sat Apr 19 20:11:17 2008] action exited with status 0
[Sat Apr 19 20:11:17 2008] completed event "video LCD 00000087 00000000"
[Sat Apr 19 20:11:17 2008] received event "video LCD 00000087 00000000"
[Sat Apr 19 20:11:17 2008] notifying client 6173[0:0]
[Sat Apr 19 20:11:17 2008] notifying client 23179[107:112]
[Sat Apr 19 20:11:17 2008] executing action "/etc/acpi/video_brightnessdown.sh"
[Sat Apr 19 20:11:17 2008] BEGIN HANDLER MESSAGES
[Sat Apr 19 20:11:17 2008] END HANDLER MESSAGES
[Sat Apr 19 20:11:17 2008] action exited with status 0
[Sat Apr 19 20:11:17 2008] completed event "video LCD 00000087 00000000"

FWIW, I get the same jumps when I hit "Fn + brightness-up".

[...]

If I call ACPI directly, i.e., execute on the shell as root:

/etc/acpi/video_brightnessup.sh

Or

/etc/acpi/video_brightnessdown.sh

Then the levels will be changed one by one, i.e. 7 -> 6 -> 5 etc.

[...]

If I had "gpmhelper.py" running the brightness level will go from 100%
-> 0%, and from 0% -> 100%.

--
Francisco