Package: i8kutils Version: 1.33 Severity: important Dear Maintainer,
The package i8kutils has been installed on an old DELL Latitude C610 computer running DEBIAN Wheezy. i8kmon has been configured to start automatically at boot time. Here is what the various i8k utilities report in succession. more /proc/i8k 1.0 A16 XXXXXXX 39 0 0 0 0 -1 0 Notice the value -1 corresponding to the AC/battery status. XXXXXXX replaces the id of the computer for privacy reasons. 1.0 A16 XXXXXXX 41 0 0 0 0 1 0 Notice the value 1 for the AC/battery status (AC on, correct). Launching manually i8kmon with i8kmon --nodaemon in a terminal window results in the following: i8kmon v1.27 17/06/2005 - Copyright (C) 2001 Massimo Dal Zotto <d...@debian.org> config(0) = {0 0} -1 48 -1 50 config(1) = {0 1} 37 58 39 60 config(2) = {0 2} 47 68 49 70 config(3) = {1 2} 57 128 59 128 config(auto) = 1 config(daemon) = 0 config(geometry) = config(i8kfan) = /usr/bin/i8kfan config(min_speed) = 2000 config(proc_ac24) = /proc/acpi/ac_adapter/0/status config(proc_ac26) = /proc/acpi/ac_adapter/AC/state config(proc_apm) = /proc/apm config(proc_i8k) = /proc/i8k config(sysconfig) = /etc/i8kmon.conf config(t_high) = 75 config(timeout) = 4 config(unit) = C config(use_conf) = 1 config(userconfig) = ~/.i8kmon config(verbose) = 1 1395949853 opening /proc/i8k 1395949853 1.0 A16 XXXXXXX 44 0 0 0 0 0 0 1395949854 1.0 A16 XXXXXXX 44 0 0 0 0 0 0 # (44>=-1), state=1, low=39, high=60 # exec /usr/bin/i8kfan {} 1 1395949858 1.0 A16 XXXXXXX 46 0 0 0 0 0 0 # exec /usr/bin/i8kfan {} 1 1395949862 1.0 A16 XXXXXXX 43 0 0 0 0 0 0 # exec /usr/bin/i8kfan {} 1 1395949866 1.0 A16 XXXXXXX 43 0 0 0 0 0 0 # exec /usr/bin/i8kfan {} 1 Notice the value 0 for the AC/battery status (battery on, incorrect), and the fact that the tool assumes the temperature control range corresponding to an unplugged machine (39 - 60 degrees). Notice that when launching this command in a terminal window, there is already a i8kmon daemon running in the background (but which does not seem to leave a log of its own). Repeating the whole exercise after unplugging the power cord, hence running on a battery, gives the following results. more /proc/i8k 1.0 A16 XXXXXXX 46 0 0 0 0 -1 0 Notice the value -1 corresponding to the AC/battery status. i8kctl 1.0 A16 XXXXXXX 46 0 0 0 0 0 0 Notice the value 0 corresponding to the AC/battery status (battery on, correct). Launching i8kmon --nodaemon: i8kmon v1.27 17/06/2005 - Copyright (C) 2001 Massimo Dal Zotto <d...@debian.org> config(0) = {0 0} -1 48 -1 50 config(1) = {0 1} 37 58 39 60 config(2) = {0 2} 47 68 49 70 config(3) = {1 2} 57 128 59 128 config(auto) = 1 config(daemon) = 0 config(geometry) = config(i8kfan) = /usr/bin/i8kfan config(min_speed) = 2000 config(proc_ac24) = /proc/acpi/ac_adapter/0/status config(proc_ac26) = /proc/acpi/ac_adapter/AC/state config(proc_apm) = /proc/apm config(proc_i8k) = /proc/i8k config(sysconfig) = /etc/i8kmon.conf config(t_high) = 75 config(timeout) = 4 config(unit) = C config(use_conf) = 1 config(userconfig) = ~/.i8kmon config(verbose) = 1 1395951005 opening /proc/i8k 1395951005 1.0 A16 XXXXXXX 46 0 0 0 0 0 0 1395951005 1.0 A16 XXXXXXX 46 0 0 0 0 0 0 # (46>=-1), state=1, low=39, high=60 # exec /usr/bin/i8kfan {} 1 1395951009 1.0 A16 XXXXXXX 45 0 0 0 0 0 0 Notice the value 0 for battery on, and the selection of temperature ranges corresponding to the battery (correctly this time). There is no user configuration file ~/.i8kmon. File /etc/modprobe.d/i8k.conf is as follows: options i8k force=1 File /etc/i8kmon.conf is as follows: # /etc/i8kmon.conf # Control fans automatically, but keep user interface set config(daemon) 1 set config(auto) 1 set config(verbose) 1 # Parameters for user interface set config(timeout) 4 set config(unit) C set config(t_high) 75 # Controls, derived from i8kfangui for Windows XP. # It seems that the C610 actually has one small (left, single speed) # and one large (right, two speeds) fan. set config(0) {{0 0} -1 48 -1 50 } set config(1) {{0 1} 37 58 39 60 } set config(2) {{0 2} 47 68 49 70 } set config(3) {{1 2} 57 128 59 128 } The following files or folders do not exist and have not been created during installation of Linux: config(proc_ac24) = /proc/acpi/ac_adapter/0/status config(proc_ac26) = /proc/acpi/ac_adapter/AC/state config(proc_apm) = /proc/apm It may be that there is a deficient setup of ACPI in DEBIAN Wheezy for that computer that results in a strange behaviour of i8kutils, but in any case: 1) If i8kutils depends on some unavailable component in the operating system power management setup, then it should warn explicitly about that dependency. 2) i8kctl seems to find the correct value of the AC/battery status, but i8kmon does not. How is this at all possible? 3) Why does /proc/i8k report a value of -1 whatever the AC/battery status? No newer version of i8kutils has been installed, the only stable version proposed by Synaptic being 1.33. I would be grateful for an explanation of this discrepancy, and if possible on how to make i8kmon detect the AC/battery status properly. Many thanks in advance E.Casais -- System Information: Debian Release: 7.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages i8kutils depends on: ii libc6 2.13-38+deb7u1 ii tk8.4 [wish] 8.4.19-5 i8kutils recommends no packages. i8kutils suggests no packages. -- Configuration Files: /etc/default/i8kmon changed: ENABLED=1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org