nuclearsandwich / surface3-archlinux

Archlinux on the Microsoft Surface Pro 3
69 stars 4 forks source link

Wireless network - Does not resume after suspend to SSD #2

Open nuclearsandwich opened 10 years ago

nuclearsandwich commented 10 years ago

Wifi worked out of the box with the mwifiex driver. I had none of the flakiness issues experienced by the Ubuntu users. The firmware was updated via windows on 2014-08-07 and has not been updated since. The latest marvell firmware has been installed via https://github.com/nuclearsandwich/mwifiex-firmware-git

Regardless of whether netctl or Network Manager is used wifi fails to work after resuming from hibernate via systemd. I tried manually disabling wifi via

# netctl-auto disable-all
# ip link set wlp1s0 down

but it failed to come back up nonetheless after restart.

nuclearsandwich commented 10 years ago

mwifiex_pcie 0000:01:00.0: cmd_wait_q terminated: 0 appears in console whenever I try to do anything with the wifi device after resuming from suspend and mwifiex_pcie 0000:01:00.0: None of the WOWLAN triggers enabled is in the logs during the hibernate process. I think the latter message is in regards to Wake on Wireless LAN, in which I am not terribly interested.

Vistaus commented 10 years ago

Hibernate is not really a problem though IMHO because hibernation is bad for SSD's, or so they say. So it's better to disable it anyway.

nuclearsandwich commented 10 years ago

@Vistaus because the hardware buttons don't respond to ACPI, suspend to ram doesn't work at all. Are you planning to just reboot all the time?

colorprint commented 9 years ago

Same issue - WiFi doesn't work after hibernate, bluetooth not works too (bluetooth adapter is not visible at all after hibernate)

Vistaus commented 9 years ago

Which is why I disabled hibernate. It's bad for SSD's anyway.

colorprint commented 9 years ago

I think it is ok for modern SSD drives... But the suspend-to-ram not works too anyway - can't resume, and it consumes energy in this state.

Lompik commented 9 years ago

apparently this issue is pretty common to all wireles drivers. I haven't tested it but see https://wiki.archlinux.org/index.php/pm-utils#Standby.2Fsuspend_to_RAM to disable the driver if you use pm-utils

wmertens commented 9 years ago

Seems like this is due to Hyper-V: http://winsupersite.com/mobile-devices/surface-pro-3-tip-hyper-v-vs-connected-standby

orion78fr commented 9 years ago

Seems like removing and probing back the module works : https://www.reddit.com/r/SurfaceLinux/comments/3nhjkn/hibernate_on_surface_pro_3/

colorprint commented 8 years ago

not works for me, module not works after reboot

gccpacman commented 6 years ago

@orion78fr 's method works for me. Just execute:

sudo modprobe -rv mwifiex_pcie
sudo modprobe -v mwifiex_pcie