Let me add some more additionts to the problem.

Here is the output of lshal -m when i press the fn+f5 brightness up
keys.


# lshal -m

Start monitoring devicelist:
-------------------------------------------------
10:32:50.361: platform_i8042_i8042_KBD_port_logicaldev_input condition 
ButtonPressed = brightness-up
10:32:50.407: computer_logicaldev_input_0 condition ButtonPressed = 
brightness-up
10:32:50.486: platform_i8042_i8042_KBD_port_logicaldev_input condition 
ButtonPressed = brightness-up
10:32:50.563: platform_i8042_i8042_KBD_port_logicaldev_input condition 
ButtonPressed = brightness-up


and also the tail -f /var/log/acpid for the same action
[Tue Jul 22 10:33:48 2008] received event "video DD03 00000086 00000000"
[Tue Jul 22 10:33:48 2008] notifying client 5744[0:0]
[Tue Jul 22 10:33:48 2008] notifying client 5744[0:0]
[Tue Jul 22 10:33:48 2008] notifying client 24200[111:123]
[Tue Jul 22 10:33:48 2008] executing action "/etc/acpi/video_brightnessup.sh"
[Tue Jul 22 10:33:48 2008] BEGIN HANDLER MESSAGES
[Tue Jul 22 10:33:48 2008] END HANDLER MESSAGES
[Tue Jul 22 10:33:48 2008] action exited with status 0
[Tue Jul 22 10:33:48 2008] executing action "/etc/acpi/video_brightnessup.sh"
[Tue Jul 22 10:33:48 2008] BEGIN HANDLER MESSAGES
[Tue Jul 22 10:33:48 2008] END HANDLER MESSAGES
[Tue Jul 22 10:33:48 2008] action exited with status 0
[Tue Jul 22 10:33:48 2008] completed event "video DD03 00000086 00000000"


So although i press one time to hot key it executes itself twice.


Another thing is the events part. I changes the 
/etc/acpi/events/video_brightnessup as,

# /etc/acpi/events/video_brightnessup
event=video.* 00000086
action=/etc/acpi/nvidia_video_brightnessup.sh

nvidia_video_brightnessup.sh is just increasing the brightness using
nvidia-settings.

The thing is when i press the hot key i see video_brightness.up.sh is
executed also whic is the default value at the events file before i
change it.

# tail -f /var/log/acpid

[Tue Jul 22 10:40:46 2008] received event "video DD03 00000086 00000000"
[Tue Jul 22 10:40:46 2008] notifying client 5744[0:0]
[Tue Jul 22 10:40:46 2008] notifying client 24200[111:123]
[Tue Jul 22 10:40:46 2008] notifying client 5744[0:0]
[Tue Jul 22 10:40:46 2008] executing action 
"/etc/acpi/nvidia_video_brightnessup.sh"
[Tue Jul 22 10:40:46 2008] BEGIN HANDLER MESSAGES
running nvidia
before nvidia runs: 30
running nvidia
before nvidia runs: 30
nvidia ended
after nvidia finished: 30
[Tue Jul 22 10:40:46 2008] END HANDLER MESSAGES
[Tue Jul 22 10:40:46 2008] action exited with status 0
[Tue Jul 22 10:40:46 2008] executing action "/etc/acpi/video_brightnessup.sh"
[Tue Jul 22 10:40:46 2008] BEGIN HANDLER MESSAGES
[Tue Jul 22 10:40:46 2008] END HANDLER MESSAGES
[Tue Jul 22 10:40:46 2008] action exited with status 0
[Tue Jul 22 10:40:46 2008] completed event "video DD03 00000086 00000000"

So i still don't know what the problem is.


** Attachment added: "nvidia_video_brightnessup.sh"
   http://launchpadlibrarian.net/16227564/nvidia_video_brightnessup.sh

-- 
Power Manager Brightness Applet is not dimming the backlight
https://bugs.launchpad.net/bugs/250067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to