Bug#761639: Option to also inhibit lid-suspend when AC or LAN cables are connected

martin f krafft madduck at debian.org
Mon Sep 15 10:57:13 BST 2014


Package: systemd
Version: 215-3
Severity: wishlist
File: /etc/systemd/logind.conf

lid handling already seems to be inhibited when docked or an
external monitor attached.

I think two other candidates are AC adapter and MII-status of the
LAN port.

Obviously, all of these should be configurable. Maybe the syntax
could involve some sort of bitwise logic, e.g.

  LidSwitchHandleCondition = dock | ( ac & lan )

Thanks,

-- Package-specific info:

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

Kernel: Linux 3.16-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-53.4
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1
ii  libblkid1       2.20.1-5.8
ii  libc6           2.19-11
ii  libcap2         1:2.24-4
ii  libcap2-bin     1:2.24-4
ii  libcryptsetup4  2:1.6.6-1
ii  libgcrypt11     1.5.4-3
ii  libkmod2        18-1
ii  liblzma5        5.1.1alpha+20120614-2
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-3
ii  sysv-rc         2.88dsf-53.4
ii  udev            208-8
ii  util-linux      2.20.1-5.8

Versions of packages systemd recommends:
ii  dbus            1.8.6-2
ii  libpam-systemd  215-3

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140915/b8276995/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list