[Pkg-acpi-devel] Bug#661709: acpitool does not recognize major version of kernel (3.2.5)

Sebastian Kricner webmaster at funwelt.de
Wed Feb 29 14:54:13 UTC 2012


Package: acpitool
Version: 0.5.1-2
Severity: important
Tags: squeeze

apcitool does not recognize major kernel version of 3.
Instead recognizes the kernel as 2.4.

Ugly fix:

src/acpitool.cpp

Change line 209 from if(strncmp(str,"2.6",3)==0) to if(strncmp(str,"2.6",3)==0 || strncmp(str, "3.2", 3) == 0


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.5 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpitool depends on:
ii  libc6                         2.11.3-2   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

Versions of packages acpitool recommends:
ii  acpid                  1:2.0.7-1squeeze3 Advanced Configuration and Power I

acpitool suggests no packages.

-- no debconf information





More information about the Pkg-acpi-devel mailing list