[Pkg-acpi-devel] Bug#555603: panasonic brightness acpi scripts fix
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Nov 10 11:46:26 UTC 2009
Package: acpi-support
Version: 0.123-1
Hi,
during the update of my debian on my CF R4 I've found that the
brightness acpi script specify the minimun brightness at 20
which is the max that we can have. And 0 is the correct min
--- /etc/acpi/panabright.sh 2009-11-10 13:35:47.000000000 +0100
+++ /etc/acpi/panabright.sh.old 2009-11-10 13:37:02.000000000 +0100
@@ -22,7 +22,7 @@
then
BRIGHTNESS="`cat /sys/class/backlight/panasonic/brightness`"
MAXBRIGHT="`cat /sys/class/backlight/panasonic/max_brightness`"
- MINBRIGHT="0"
+ MINBRIGHT="20"
BRIGHTNESS_ADJUST="/sys/class/backlight/panasonic/brightness"
else
BRIGHTNESS=$(( `cat /proc/acpi/pcc/$INTERFACE` ))
---
Best Regards,
J.
More information about the Pkg-acpi-devel
mailing list