Package: laptop-mode-tools
Version: 1.67-1
Severity: important

Dear Maintainer,

* What led up to the situation?
 
Many months ago, I noticed that after a few seconds that my
laptop (t410) was idle, the USB keyboard would lose the
first keystrokes, before registering keystrokes as expected,
until another pause in usage.

I searched and posted on mailing lists without finding a
solution.

Recently, I learned of the
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST setting in
/etc/laptop-mode/conf.d/runtime-pm.conf 

That solves the immediate keyboard and mouse issues. 

To help others avoid the lengthy period of unresolved
difficulties, doubts about hardware integrity, and ergonomic
awkwardness I experienced, I suggest that laptop-mode-tools
ought to go further to avoid the loss of mouse/keyboard
functionality, and/or to warn potentially naive installers
of this package that possible breakage could occur and user
study and customization may be necessary to avoid the
issues.

Perhaps the installer script could display the lsusb output
and prompt the user to select the keyboard and mouse IDs
from the lsusb output and configure the BLACKLIST entries
accordingly.

Perhaps driver type designations can or could allow users to blacklist
all keyboard and mouse devices by default.

Regards,


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages laptop-mode-tools depends on:
ii  init-system-helpers  1.21
ii  lsb-base             4.1+Debian13+nmu1
ii  psmisc               22.21-2
ii  util-linux           2.25.2-6

Versions of packages laptop-mode-tools recommends:
ii  ethtool         1:3.16-1
ii  hdparm          9.43-1.1
ii  net-tools       1.60-26+b1
ii  python-qt4      4.11.2+dfsg-1
pn  sdparm          <none>
ii  udev            215-5+b1
ii  wireless-tools  30~pre9-8

Versions of packages laptop-mode-tools suggests:
ii  acpid  1:2.0.23-2
ii  apmd   3.2.2-15

-- Configuration Files:
/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/intel-sata-powermgmt.conf changed:
DEBUG=0
CONTROL_INTEL_SATA_POWER="auto"
BATT_SATA_POLICY=min_power
LM_AC_SATA_POLICY=max_performance
NOLM_AC_SATA_POLICY=max_performance

/etc/laptop-mode/conf.d/runtime-pm.conf changed:
DEBUG=0
CONTROL_RUNTIME_AUTOSUSPEND=1
AUTOSUSPEND_USE_WHITELIST=0
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c52b 413c:2003"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST=""
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=1
AUTOSUSPEND_TIMEOUT=2

/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=0
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/* /dev/dm-*"
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

Reply via email to