[Pkg-acpi-devel] Bug#631629: /etc/init.d/acpi-support makes reference to a non-existent /proc file
Tadeu Martins
tadeu1 at gmail.com
Sat Jun 25 14:57:41 UTC 2011
Package: acpi-support
Version: 0.138-9
Lines 22 and 35 of the current version make reference to
"/proc/acpi/ac_adapter", but no such directory exists. It goes below
some information about the system. It is running on a laptop, so
the effects are noted by the lack of power management capabilities
during the startup.
% lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (wheezy)
Release: testing
Codename: wheezy
% dpkg-query -l | grep linux-image
ii linux-image-2.6-amd64 2.6.39+35.1 Linux 2.6 for 64-bit PCs
(meta-package)
ii linux-image-2.6.39-2-amd64 2.6.39-2 Linux 2.6.39 for 64-bit PCs
% uname -a
Linux (hostname) 2.6.39-2-amd64 #1 SMP Wed Jun 8 11:01:04 UTC 2011
x86_64 GNU/Linux
The absence of the directory may have something to do with kernel
configuration (I'm running the default Debian kernel listed above,
without any changes); according to the file /boot/config-2.6.39-2-amd64,
CONFIG_ACPI_PROCFS{,_POWER} are not set. A proposed workaround is the
substitution of the current test made at the lines pointed above for the
proper evaluation of "on_ac_power", an executable script present in
package powermgmt-base. That package is a dependence of pm-utils, that
by itself is a dependence of acpi-support.
--
Tadeu Martins
More information about the Pkg-acpi-devel
mailing list