Package: laptop-mode-tools Version: 1.63-2 Severity: important Tags: patch Dear Maintainer, after the last laptop-mode-tool upgrade in testing I noticed that cpu governor was not correctly set after boot (it was my kernel default, not as set in /etc/laptop-mode/conf.d/cpufreq.conf). Manually restarting laptop-mode via invoke-rc.d restored the situation.
Now, I found out that in /usr/sbin/laptop_mode is taouched the file /var/run /laptop-mode/enabled just because $ENABLE_LAPTOP_MODE_TOOLS is '1', regardless of the fact that the script may have been called with 'stop' parameter. Since the same file is created/removed by the init.d script I tried to comment out the line in /usr/sbin/laptop_mode (643) and this fixed the problem for me. I'm not sure if this could break some other usecase though. regards Marco -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.35-custom-3 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages laptop-mode-tools depends on: ii lsb-base 4.1+Debian9 ii psmisc 22.20-1 ii util-linux 2.20.1-5.3 Versions of packages laptop-mode-tools recommends: ii ethtool 1:3.4.2-1 ii hdparm 9.43-1 ii net-tools 1.60-24.2 ii sdparm 1.07-1 ii udev 175-7.2 ii wireless-tools 30~pre9-8 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.18-1 ii apmd 3.2.2-14 ii hal 0.5.14-8 -- Configuration Files: /etc/laptop-mode/conf.d/cpufreq.conf changed: DEBUG=0 CONTROL_CPU_FREQUENCY=1 BATT_CPU_MAXFREQ=fastest BATT_CPU_MINFREQ=slowest BATT_CPU_GOVERNOR=ondemand BATT_CPU_IGNORE_NICE_LOAD=1 LM_AC_CPU_MAXFREQ=fastest LM_AC_CPU_MINFREQ=slowest LM_AC_CPU_GOVERNOR=ondemand LM_AC_CPU_IGNORE_NICE_LOAD=1 NOLM_AC_CPU_MAXFREQ=fastest NOLM_AC_CPU_MINFREQ=slowest NOLM_AC_CPU_GOVERNOR=ondemand NOLM_AC_CPU_IGNORE_NICE_LOAD=0 CONTROL_CPU_THROTTLING=0 BATT_CPU_THROTTLING=medium LM_AC_CPU_THROTTLING=medium NOLM_AC_CPU_THROTTLING=minimum /etc/laptop-mode/conf.d/hal-polling.conf changed: DEBUG=0 CONTROL_HAL_POLLING=0 BATT_DISABLE_HAL_POLLING=1 AC_DISABLE_HAL_POLLING=0 HAL_POLLING_DEVICES="/dev/scd?" /etc/laptop-mode/conf.d/wireless-ipw-power.conf changed: DEBUG=0 CONTROL_IPW_POWER=0 IPW3945_AC_POWER=6 IPW3945_BATT_POWER=7 IPW2100_AC_POWER=0 IPW2100_BATT_POWER=5 /etc/laptop-mode/conf.d/wireless-iwl-power.conf changed: DEBUG=0 CONTROL_IWL_POWER=0 IWL_AC_POWER=0 IWL_BATT_POWER=3 /etc/laptop-mode/conf.d/wireless-power.conf changed: DEBUG=0 CONTROL_WIRELESS_POWER_SAVING=0 WIRELESS_AC_POWER_SAVING=0 WIRELESS_BATT_POWER_SAVING=1 /etc/laptop-mode/laptop-mode.conf changed: ENABLE_LAPTOP_MODE_TOOLS=1 VERBOSE_OUTPUT=0 LOG_TO_SYSLOG=1 DEBUG=0 ENABLE_LAPTOP_MODE_ON_BATTERY=1 ENABLE_LAPTOP_MODE_ON_AC=1 ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0 ENABLE_AUTO_MODULES=1 MINIMUM_BATTERY_CHARGE_PERCENT=3 DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1 DISABLE_BATTERY_ALARM_CHECK=0 HD="/dev/[hs]d[abcdefgh]" PARTITIONS="auto /dev/mapper/*" ASSUME_SCSI_IS_SATA=1 LM_BATT_MAX_LOST_WORK_SECONDS=600 LM_AC_MAX_LOST_WORK_SECONDS=360 CONTROL_READAHEAD=1 LM_READAHEAD=3072 NOLM_READAHEAD=128 CONTROL_NOATIME=0 USE_RELATIME=1 CONTROL_HD_IDLE_TIMEOUT=1 LM_AC_HD_IDLE_TIMEOUT_SECONDS=20 LM_BATT_HD_IDLE_TIMEOUT_SECONDS=20 NOLM_HD_IDLE_TIMEOUT_SECONDS=7200 CONTROL_HD_POWERMGMT="auto" BATT_HD_POWERMGMT=1 LM_AC_HD_POWERMGMT=254 NOLM_AC_HD_POWERMGMT=254 CONTROL_HD_WRITECACHE=0 NOLM_AC_HD_WRITECACHE=1 NOLM_BATT_HD_WRITECACHE=0 LM_HD_WRITECACHE=0 CONTROL_MOUNT_OPTIONS=1 LM_DIRTY_RATIO=60 NOLM_DIRTY_RATIO=40 LM_DIRTY_BACKGROUND_RATIO=1 NOLM_DIRTY_BACKGROUND_RATIO=10 DEF_UPDATE=5 DEF_XFS_AGE_BUFFER=15 DEF_XFS_SYNC_INTERVAL=30 DEF_XFS_BUFD_INTERVAL=1 DEF_MAX_AGE=30 XFS_HZ=100 LM_SECONDS_BEFORE_SYNC=2 -- 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