You are not logged in.
Hi!
I'm having trouble getting my ethernet card to work properly with suspend to ram (pm-suspend). Its a Qualcomm Atheros AR8161 Gigabit Ethernet Adapter (builtin ethernet-card of the Asus N56VZ) that I'm running with the alx-module that I build from the compat-drivers (compat-drivers-3.9-rc2-2-su, so version 1.2.3 of the alx module) on kernel 3.8.8-2. The driver works fine except it breaks suspend. A first suspend works fine (see suspend.log, upper part), however, after resuming, NetworkManager does not detect a cable being plugged in. Trying to suspend again fails results in the lower part of suspend.log. Removing and probing the module again (reload.log) seems to work fine and resets the whole thing (network works, one suspend works, all following do not work)
Logs see https://gist.github.com/anonymous/5467609
I created a file SUSPEND_MODULES="alx" /etc/pm/config.d/modules (rights 644) that as far as I understand is supposed to unload and load the module upon suspend and resume but for some reason this does not seem to work properly. Why is that, am I just missing a typo? How can I fix it?
Any help is appreciated!
Hannes
PS:
$ lspci -v
04:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
Subsystem: ASUSTeK Computer Inc. N56VZ
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at f7800000 (64-bit, non-prefetchable) [size=256K]
I/O ports at d000 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
Capabilities: [d8] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number [...]
Kernel driver in use: alx
PPS: This bug is related and it has been reported that SUSPEND_MODULES is a workaround: https://bugs.launchpad.net/ubuntu/+sour … ug/1130037. There has just been a bug filled that is kind of related: https://bugs.archlinux.org/task/34971 but I'm not sure if its of any use if I postmy information there.
PPPS: This is also kind of related but does not provide any information http://askubuntu.com/questions/263867/u … -lid-close (I just list it for documentation purpose)
Last edited by HaMF (2013-05-07 14:02:50)
Offline
„Sleep hooks
Systemd does not use pm-utils to put the machine to sleep when using systemctl suspend, systemctl hibernate or systemctl hybrid-sleep; pm-utils hooks, including any custom hooks, will not be run. However, systemd provides two similar mechanisms to run custom scripts on these events.” – from wiki, so the sad thing is it's not as easy as in Ubuntu.
But (I guess) it's not impossible. I've got the same problem with ALX so I'm gonna try to make my own hook based on Wiki tips. Currently this Wiki page https://wiki.archlinux.org/index.php/Pm-utilspm is outdated (for Systemd user), so I'll try this section https://wiki.archlinux.org/index.php/Sy … management .
Offline
I think I found solution
https://bbs.archlinux.org/viewtopic.php … 5#p1269055
Last edited by Druedain (2013-05-07 12:48:54)
Offline
that works well. thanks!
Offline
Check the new version of package dkms-alx from AUR. Now it has patch that fixes suspend / hibernation issues. Workaround is no longer needed.
Offline