[pkg-wicd-maint] Bug#863143: wicd pm script prevents wireless wake on lan (WoWLAN) from working

Scott Barker scott at mostlylinux.ca
Mon May 22 16:41:56 UTC 2017

Package: wicd
Version: 1.7.4+tb2-3
Severity: normal

Dear Maintainer,

The pm-utils script provided with wicd prevents wireless wake on lan from working:

  - /usr/lib/pm-utils/sleep.d/55wicd runs /usr/share/wicd/daemon/suspend.py

  - /usr/share/wicd/daemon/suspend.py invokes the Disconnect and SetSuspend methods
    in /usr/share/wicd/daemon/wicd-daemon.py

  - The SetSuspend method in /usr/share/wicd/daemon/wicd-daemon.py also
    invokes the Disconnect method in /usr/share/wicd/daemon/wicd-daemon.py

  - The Disconnect method in /usr/share/wicd/daemon/wicd-daemon.py invokes
    the Wireless.Disconnect() method in /usr/lib/python2.7/dist-packages/wicd/networking.py
  - The Wireless.Disconnect() method in /usr/lib/python2.7/dist-packages/wicd/networking.py
    takes down the wireless interface, which disassociates it from the
    access point, making wireless wake on lan impossible.

Over-riding or blacklisting 55wicd fixes the problem, but it would probably
be better to change one of the python methods involved to check the state of
wireless wake on lan (as set by sudo iw phy0 wowlan enable ...) before
taking the interface down completely.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages wicd depends on:
ii  wicd-daemon             1.7.4+tb2-3
ii  wicd-gtk [wicd-client]  1.7.4+tb2-3

wicd recommends no packages.

wicd suggests no packages.

Versions of packages wicd-gtk depends on:
ii  python-glade2  2.24.0-5.1
ii  python-gtk2    2.24.0-5.1
pn  python:any     <none>
ii  wicd-daemon    1.7.4+tb2-3

Versions of packages wicd-gtk recommends:
ii  gksu           2.0.2-9+b1
pn  python-notify  <none>

Versions of packages wicd-daemon depends on:
ii  adduser          3.115
ii  dbus             1.10.18-1
ii  debconf          1.5.60
ii  ethtool          1:4.8-1+b1
ii  iproute2         4.9.0-1
ii  iputils-ping     3:20161105-1
ii  isc-dhcp-client  4.3.5-3
ii  lsb-base         9.20161125
ii  net-tools        1.60+git20161116.90da8a0-1
ii  psmisc           22.21-2.1+b2
ii  python-dbus      1.2.4-1+b1
ii  python-gobject   3.22.0-2
ii  python-wicd      1.7.4+tb2-3
pn  python:any       <none>
ii  wireless-tools   30~pre9-12+b1
ii  wpasupplicant    2:2.4-1

Versions of packages wicd-daemon recommends:
ii  rfkill                  0.5-1+b1
ii  wicd-gtk [wicd-client]  1.7.4+tb2-3

Versions of packages wicd-daemon suggests:
ii  pm-utils  1.4.1-17

Versions of packages python-wicd depends on:
pn  python:any  <none>

-- debconf information:
* wicd/users:

More information about the pkg-wicd-maint mailing list