Package: laptop-mode-tools
Version: 1.66-2
Severity: normal

The documentation about DISABLE_ETHERNET_ON_BATTERY disagrees about
whether it will choose to disable of the NIC based on carrier status:

In /etc/laptop-mode-tools/conf.d/ethernet.conf, it says:
---------
# In practise, most of the times a user is on battery, she is using the 
wireless device
# Under such cases, you might want to disable your ethernet interface 
completely, when
# on battery.
#
# Set below setting to 1, to disable ethernet interface when on battery and
# when no carrier is detected on the interface (e.g., no active cable is
# plugged in).
DISABLE_ETHERNET_ON_BATTERY=1
---------

but in laptop-mode.conf(8), it says:

--------
       DISABLE_ETHERNET_ON_BATTERY
                 Set this to 1 if you want to completely disable your ethernet
                 device when running on battery. Default is 0
--------

In practice, it looks like the manpage is correct, and the comments in
ethernet.conf are wrong.

This is too bad, because it would be nice to avoid disabling the link
when the carrier is still active.

Also, with this flag set (as it is by default, i think), the ethernet
does not get re-enabled after moving back from Battery to AC power.

Perhaps there's a cleanup step that needs to happen as well here?

        --dkg

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages laptop-mode-tools depends on:
ii  lsb-base    4.1+Debian13+nmu1
ii  psmisc      22.21-2
ii  util-linux  2.26.2-3

Versions of packages laptop-mode-tools recommends:
ii  ethtool         1:3.16-1
ii  hdparm          9.43-2
ii  net-tools       1.60-26+b1
ii  python-qt4      4.11.2+dfsg-1
ii  sdparm          1.08-1
ii  udev            215-17
ii  wireless-tools  30~pre9-8

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

-- Configuration Files:
/etc/laptop-mode/conf.d/usb-autosuspend.conf 5ec19c7a0c63c3f10002a9b8dc0928ed 
[Errno 2] No such file or directory: 
u'/etc/laptop-mode/conf.d/usb-autosuspend.conf 5ec19c7a0c63c3f10002a9b8dc0928ed'

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to