I tried this, but it didn't help for me. I don't have wired LAN in use
(eth0 is not connected), so I also tried to adapt change for wlan0, but
ethtool doesn't give any info for wlan0 and setting wol mode doesn't
work:

$ sudo ethtool wlan0
Settings for wlan0:
No data available

Based on network manager prints in journal, I can see that it takes the
branch with "device_is_wake_on_lan" for wlan0 disabling device *after*
resume. So, it might be that wol support/status is somehow incorrectly
defined (I'm not trying to use wake on wlan):

kesä 16 18:41:48 juha-MacBook NetworkManager[670]: <info> wake requested 
(sleeping: yes  enabled: yes)
kesä 16 18:41:48 juha-MacBook NetworkManager[670]: <info> waking up...
kesä 16 18:41:48 juha-MacBook NetworkManager[670]: <info> (wlan0): device state 
change: activated -> unmanaged (reason 'sleeping') [100 10 37]
kesä 16 18:41:48 juha-MacBook NetworkManager[670]: <info> (wlan0): deactivating 
device (reason 'sleeping') [37]

After forcing nm_platform_link_get_wake_on_lan() to return false for wifi:
heinä 14 23:04:19 juha-MacBook NetworkManager[685]: <info> wake requested 
(sleeping: yes  enabled: yes)
heinä 14 23:04:19 juha-MacBook NetworkManager[685]: <info> waking up...
heinä 14 23:04:19 juha-MacBook NetworkManager[685]: <info> (wlan0): device 
state change: unmanaged -> unavailable (reason 'managed') [
heinä 14 23:04:19 juha-MacBook NetworkManager[685]: <info> (wlan0): preparing 
device

Used kernel driver is wl:
$ lspci -v -s 2:0.0
02:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
        Subsystem: Apple Inc. AirPort Extreme
        Physical Slot: 4
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at 90500000 (64-bit, non-prefetchable) [size=16K]
        Memory at 90000000 (64-bit, prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: wl

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1270257

Title:
  NetworkManager failed to function after suspend and resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1270257/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to