[Bug 145337] Re: Brightness key stopped working after update [Gutsy]

mikelopez e at mikelopez.info
Sat Oct 27 14:49:26 UTC 2007


Hi I'm running Kubuntu Gutsy on a Gateway ML6720 laptop and it doesn't
work either.  Based on the comments here, I decided to write a short
bash script as a temporary workaround.  It looks like that acpi_fakekey
is not working properly.  I did however notice that echoing a value to
/proc/acpi/video/VGA/LCD/brightness does change the brightness of my
LCD.

Not sure if this is the place to upload workarounds so I'm sorry if I'm
making a mistake here.  Just hoping to help those who wants to get it
done without having to wait for the next upgrade.

The attached bash script works with the following syntax (run as root):
Increase brightness: lcdbryt.sh up
Decrease brightness: lcdbryt.sh dn

I placed the script in /usr/bin then edited
/etc/acpi/video_brightnessup.sh and video_brightnessdown.sh to call the
script I wrote.

my video_brightnessup.sh now looks:
#!/bin/bash
. /usr/share/acpi-support/key-constants
#acpi_fakekey $KEY_BRIGHTNESSUP
lcdbryt.sh up

and my video_brightnessdown.sh now looks:
#!/bin/bash
. /usr/share/acpi-support/key-constants
#acpi_fakekey $KEY_BRIGHTNESSDOWN
lcdbryt.sh dn


** Attachment added: "Workaround script"
   http://launchpadlibrarian.net/10186309/lcdbryt.sh

-- 
Brightness key stopped working after update [Gutsy]
https://bugs.launchpad.net/bugs/145337
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.




More information about the kubuntu-bugs mailing list