Package: laptop-mode-tools Version: 1.62-1 Severity: important This also affects Version: 1.61-1
As you can see i have enabled verbose output. When i start laptop-mode-tools and unplug my AC everything works fine (laptop_mode is enabled). Then when i plug my AC once again and unplug it the setting are as if there is still an AC plugged in. When running laptop_mode from command line i am getting this output: root@claw-t430:claw# laptop_mode Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping. Determining power state from /sys/class/power_supply/AC/online. Not trying other options, already found a power supply. Battery level polling is disabled. Prelim lock acquisition on descriptor 8 with pid 18499 Couldn't acquire prelim lock on descriptor 9 with pid 18499 Now invoking lock_retry with arguments -- Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID is 18499 When i remove the lock files ( /var/lock/lmt-*) 'on my own' it works for one more time. I guess there is some problem on deleting the lock files when plugging the AC again. Anybody can reproduce this error on another system then mine ? Note that there are some modifications on the configuration files i have attached. Thank you for your attention. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (250, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) 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 laptop-mode-tools depends on: ii lsb-base 4.1+Debian7 ii psmisc 22.19-1 ii util-linux 2.20.1-5.2 Versions of packages laptop-mode-tools recommends: ii ethtool 1:3.4.2-1 ii hdparm 9.39-1+b1 ii net-tools 1.60-24.2 ii sdparm 1.07-1 ii udev 175-7 ii wireless-tools 30~pre9-8 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.16-1 pn hal <none> -- Configuration Files: /etc/laptop-mode/conf.d/bluetooth.conf changed: DEBUG=0 CONTROL_BLUETOOTH=1 BATT_ENABLE_BLUETOOTH=0 AC_ENABLE_BLUETOOTH=1 BLUETOOTH_INTERFACES="hci0" /etc/laptop-mode/conf.d/ethernet.conf changed: DEBUG=0 CONTROL_ETHERNET="auto" BATT_THROTTLE_ETHERNET=0 LM_AC_THROTTLE_ETHERNET=0 NOLM_AC_THROTTLE_ETHERNET=0 THROTTLE_SPEED="fastest" DISABLE_WAKEUP_ON_LAN=1 ETHERNET_DEVICES="eth0" DISABLE_ETHERNET_ON_BATTERY=0 /etc/laptop-mode/conf.d/intel-hda-powersave.conf changed: DEBUG=0 CONTROL_INTEL_HDA_POWER="auto" BATT_INTEL_HDA_POWERSAVE=1 LM_AC_INTEL_HDA_POWERSAVE=0 NOLM_AC_INTEL_HDA_POWERSAVE=0 INTEL_HDA_DEVICE_TIMEOUT=2 INTEL_HDA_DEVICE_CONTROLLER=1 /etc/laptop-mode/conf.d/usb-autosuspend.conf changed: DEBUG=0 CONTROL_USB_AUTOSUSPEND="auto" AUTOSUSPEND_USE_WHITELIST=0 AUTOSUSPEND_USBID_BLACKLIST="" AUTOSUSPEND_USBTYPE_BLACKLIST="" AUTOSUSPEND_USBID_WHITELIST="" AUTOSUSPEND_USBTYPE_WHITELIST="" BATT_SUSPEND_USB=1 LM_AC_SUSPEND_USB=1 NOLM_AC_SUSPEND_USB=0 AUTOSUSPEND_TIMEOUT=2 /etc/laptop-mode/conf.d/video-out.conf changed: DEBUG=0 CONTROL_VIDEO_OUTPUTS=1 BATT_DISABLE_VIDEO_OUTPUTS="TMDS VGA" LM_AC_DISABLE_VIDEO_OUTPUTS="TMDS VGA" NOLM_AC_DISABLE_VIDEO_OUTPUTS="" /etc/laptop-mode/conf.d/wireless-iwl-power.conf changed: DEBUG=0 CONTROL_IWL_POWER="auto" IWL_AC_POWER=0 IWL_BATT_POWER=5 /etc/laptop-mode/laptop-mode.conf changed: ENABLE_LAPTOP_MODE_TOOLS=1 VERBOSE_OUTPUT=1 LOG_TO_SYSLOG=1 DEBUG=0 ENABLE_LAPTOP_MODE_ON_BATTERY=1 ENABLE_LAPTOP_MODE_ON_AC=0 ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0 ENABLE_AUTO_MODULES=1 MINIMUM_BATTERY_CHARGE_PERCENT=5 DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1 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=8192 NOLM_READAHEAD=128 CONTROL_NOATIME=1 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 -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org