Your message dated Wed, 22 Apr 2009 11:02:04 +0000
with message-id <[email protected]>
and subject line Bug#524838: fixed in acpi-support 0.121-1
has caused the Debian Bug report #524838,
regarding Patch panabright.sh to work with the new panasonic_laptop driver
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
524838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpi-support
Version: 0.109-11
Severity: important
Tags: patch
And here is the patch that should have been attached to my first mail *cough*
--
Matthias Hentges
Cologne / Germany
GPG -> gpg --keyserver gpg-keyserver.de --recv-keys 0xAF3030D9
My OS: Debian SID: Geek by Nature, Linux by Choice
--- ./panabright.sh.orig 2009-04-19 18:24:27.000000000 +0000
+++ ./panabright.sh 2009-04-19 18:29:39.000000000 +0000
@@ -16,10 +16,20 @@
fi
# get brightness parameters
-
-BRIGHTNESS=$(( `cat /proc/acpi/pcc/$INTERFACE` ))
-MAXBRIGHT=$(( `cat /proc/acpi/pcc/"$INTERFACE"_max` ))
-MINBRIGHT=$(( `cat /proc/acpi/pcc/"$INTERFACE"_min` ))
+# The new in-kernel driver uses /sys/.../panasonic, while the old
+# pcc_acpi driver uses /proc/acpi/pcc
+if test -d "/sys/class/backlight/panasonic"
+then
+ BRIGHTNESS="`cat /sys/class/backlight/panasonic/brightness`"
+ MAXBRIGHT="`cat /sys/class/backlight/panasonic/max_brightness`"
+ MINBRIGHT="20"
+ BRIGHTNESS_ADJUST="/sys/class/backlight/panasonic/brightness"
+else
+ BRIGHTNESS=$(( `cat /proc/acpi/pcc/$INTERFACE` ))
+ MAXBRIGHT=$(( `cat /proc/acpi/pcc/"$INTERFACE"_max` ))
+ MINBRIGHT=$(( `cat /proc/acpi/pcc/"$INTERFACE"_min` ))
+ BRIGHTNESS_ADJUST="/proc/acpi/pcc/$INTERFACE"
+fi
# adjust span so that there are 10 brightness increments
@@ -34,7 +44,7 @@
else
BRIGHTNESS=$(( $MINBRIGHT ))
fi
- echo $BRIGHTNESS > /proc/acpi/pcc/$INTERFACE
+ echo $BRIGHTNESS > "${BRIGHTNESS_ADJUST}"
elif [ "x$1" = "xup" ]; then
LIMIT=$(( $MAXBRIGHT - $SPAN ))
if [ $BRIGHTNESS -lt $LIMIT ]; then
@@ -42,7 +52,7 @@
else
BRIGHTNESS=$(( $MAXBRIGHT ))
fi
- echo $BRIGHTNESS > /proc/acpi/pcc/$INTERFACE
+ echo $BRIGHTNESS > "${BRIGHTNESS_ADJUST}"
else
echo >&2 Unknown argument $1
fi
--- End Message ---
--- Begin Message ---
Source: acpi-support
Source-Version: 0.121-1
We believe that the bug you reported is fixed in the latest version of
acpi-support, which is due to be installed in the Debian FTP archive:
acpi-support-base_0.121-1_all.deb
to pool/main/a/acpi-support/acpi-support-base_0.121-1_all.deb
acpi-support_0.121-1.diff.gz
to pool/main/a/acpi-support/acpi-support_0.121-1.diff.gz
acpi-support_0.121-1.dsc
to pool/main/a/acpi-support/acpi-support_0.121-1.dsc
acpi-support_0.121-1_amd64.deb
to pool/main/a/acpi-support/acpi-support_0.121-1_amd64.deb
acpi-support_0.121.orig.tar.gz
to pool/main/a/acpi-support/acpi-support_0.121.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated acpi-support package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 22 Apr 2009 12:53:08 +0200
Source: acpi-support
Binary: acpi-support acpi-support-base
Architecture: source amd64 all
Version: 0.121-1
Distribution: unstable
Urgency: low
Maintainer: Debian Acpi Team <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description:
acpi-support - scripts for handling many ACPI events
acpi-support-base - scripts for handling base ACPI events such as the power
button
Closes: 456778 484934 496570 497377 501607 502141 503320 504012 509588 510619
515784 515794 516662 518570 520669 524838 524841 524986
Changes:
acpi-support (0.121-1) unstable; urgency=low
.
* New upstream version:
* Correct suspend.d/55-down-interfaces.sh to point to
/var/run/network/ifstate rather than /etc/network/run/ifstate.
* Drop events/asus-mail: On newer Asus, like the eeePc, this is an
ACPI event generated by pulling out the power chord, not pressing
a mail key. The latter should be handled by hal-info now; if you
have an Acer laptop with a mail key, please report a bug against
hal-info, closes: #516662
* Drop acpi_fakekey translations for keys that are correctly handled
in the kernel input layer:
- events/ibm-sleepbtn
- events/ibm-lockbtn, thinkpad-lockorbattery.sh
- events/ibm-hibernatebtn
- events/lenovo-lockbtn
- events/ibm-videobtn, closes: #456778, #515794
- events/thinkpad-mute, always-mute.sh
- events/thinkpad-volume-down
- events/thinkpad-volume-up
- events/thinkpad-thinklight, thinkpad-thinklight.sh
- events/tosh-brightness-up
- events/tosh-brightness-down, toshbright.sh
- events/tosh-mute
- events/tosh-sleep
- events/sony-hibernate
- events/sony-brightness-up, events/sony-brightness-down, sonybright.sh
- events/thinkpad-brightness-down, events/thinkpad-brightness-up,
thinkpad-brightness-up.sh, thinkpad-brightness-down.sh
* Also drop events/thinkpad-zoom, thinkpad-zoom.sh because this key
isn't working correctly with or without this script and should be
fixed up in hal.
* Simplified packaging.
* Removed obsolete config files if they are unchanged.
* Do not install 90-hdparm.sh four times, closes: #509588
* Thinkpad_acpi.modprobe was removed upstream because it is said to be not
needed anymore, closes: #518570
* Restore old scripts that were incorrectly merged, closes: #524986
* Made getXuser() use pinky instead of w, closes: #502141, #510619, #515784
* Added patch to adjust panabright.sh for new panasonic_laptop driver that
uses /sys instead of /proc, closes: #524838, #524841
* Deconfigure wireless devices before powering them down, closes: #496570
* Fixed incorrect variable usage in madwifi handling, closes: #501607
* Clarified documentation about acpi-support method, closes: #484934, #497377
* Recognize 901 as an EeePC as well, closes: #504012
* Added a sync call to suspendorhibernate, closes: #503320
* Also check for KDE4 powerdevil in CheckPolicy, closes: #520669
* Added real package console-tools to dependency on virtual package
console-utilities.
* Made all scripts use invoke-rc.d where possible.
Checksums-Sha1:
31f42a8ca3d2edf32c4b830547397688e1902ca2 1203 acpi-support_0.121-1.dsc
654da27b17c618fab061370a43e67a85ddc3c84a 28001 acpi-support_0.121.orig.tar.gz
432ad700f2bb042c8b6da983861e20e692319a54 25937 acpi-support_0.121-1.diff.gz
02d2c782bf041a4bdbf9ed89e9212ef4a373bb45 44088 acpi-support_0.121-1_amd64.deb
bdf9294aa5ac03a800f59fe2fb28d9ccde8c60d8 14432
acpi-support-base_0.121-1_all.deb
Checksums-Sha256:
2fb84220fb56a4d09c4328d0737ba8c9f33554ce5295ea5c9d6f2786b726fd13 1203
acpi-support_0.121-1.dsc
57d900f37d1bba0032a5df52699972e4aaec6f9f462d2b3eed77b4bdf0de18b0 28001
acpi-support_0.121.orig.tar.gz
f9bafb67dd6d0219b2bb4f1aee5f1ee91f05fdf983898cbe900030d81b70c413 25937
acpi-support_0.121-1.diff.gz
0cd9ddd098c64235ae102db2e1bdfbc233a9970ad61f987736c94ac4d4f81f3c 44088
acpi-support_0.121-1_amd64.deb
a3492cbe2aa6dec626c1349d7ccbb469045c607a0499ec1b31c0d792e4ef7dfd 14432
acpi-support-base_0.121-1_all.deb
Files:
16fb0fdc71c0b12ae6e6333e5bea34e3 1203 admin optional acpi-support_0.121-1.dsc
84a5d2620ed2432d26a6dd1dde5f1c75 28001 admin optional
acpi-support_0.121.orig.tar.gz
94d3d402544aa03253f49dde7cb635da 25937 admin optional
acpi-support_0.121-1.diff.gz
fc0653519326d2ab9d5b8124a25a2a93 44088 admin optional
acpi-support_0.121-1_amd64.deb
42f1552ebab81f7fbe7ef2177e9fa1ba 14432 admin optional
acpi-support-base_0.121-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJ7vgIVkEm8inxm9ERAtI4AJ9sTCINF9U5GvXXvehEX56/210CRwCfYsMt
RxMY62zKHZM9VAytk2bFCK4=
=7IqH
-----END PGP SIGNATURE-----
--- End Message ---