Package Details: systemd-suspend-modules 1.2-1

Git Clone URL: https://aur.archlinux.org/systemd-suspend-modules.git (read-only, click to copy)
Package Base: systemd-suspend-modules
Description: Reload modules on suspend/hibernate with systemd
Upstream URL: https://aur.archlinux.org/packages/systemd-suspend-modules
Licenses: GPL
Submitter: gdamjan
Maintainer: gdamjan
Last Packager: gdamjan
Votes: 16
Popularity: 0.000026
First Submitted: 2012-11-07 00:34 (UTC)
Last Updated: 2023-03-22 02:39 (UTC)

Latest Comments

1 2 Next › Last »

gdamjan commented on 2016-01-06 19:48 (UTC) (edited on 2016-01-06 19:50 (UTC) by gdamjan)

it looks a bit complex. couldn't you just add the top-most modules in /etc/suspend-modules.conf?

parkouss commented on 2016-01-06 19:36 (UTC)

Hey there, Thanks for this package! I just needed something like that to blacklist the i8042 module, but it does not work because this module is a dependency of others. That was working well with pm-utils SUSPEND_MODULES variables, so I copy pasted the useful code in your package, and it works like a charm. Not sure how to request for a merge, but if you want to look at the changes: https://github.com/parkouss/systemd-suspend-modules Feel free to merge that upstream, or tell me how I should request for that. Thanks!

gdamjan commented on 2015-09-14 23:42 (UTC)

what version of systemd are you running now?

axfelix commented on 2015-09-14 22:50 (UTC)

I also use this for iwlmvm iwlwifi and it seems to have stopped working for me after the most recent pacman -Syu ... any chance there are upstream systemd changes?

orschiro commented on 2014-02-21 19:50 (UTC)

@gdamjan Indeed. That was it. So I am putting the following into the conf file: iwldvm iwlwifi Will then first iwldvm be removed/started and iwlwifi afterwards?

gdamjan commented on 2014-02-18 16:57 (UTC)

modprobe: FATAL: Module iwlwifi is in use.

that's your problem. I guess, you need to remove iwldvm

orschiro commented on 2014-02-18 16:56 (UTC)

> is iwlwifi removable? I am not sure. How can I check that? Yet shouldn't this be the case for any wifi driver? Running modprobe -r iwlwifi just shows me that the module is of course in use: modprobe: FATAL: Module iwlwifi is in use. lsmod | grep iwl iwldvm 168962 0 iwlwifi 139495 1 iwldvm mac80211 468058 1 iwldvm cfg80211 412662 3 iwlwifi,mac80211,iwldvm

gdamjan commented on 2014-02-18 16:31 (UTC)

Does your script take care of module dependencies?

no. it just does a simple rmmod for each module listed in /etc/suspend-modules.conf on suspend, and then a modprobe for each module in the same list on resume. Nothing fancy.

is iwlwifi removable?

orschiro commented on 2014-02-18 16:27 (UTC)

@gdamjan I added set -e one line after the shebang. But still not more information shown. Does your script take care of module dependencies?

gdamjan commented on 2014-02-18 16:03 (UTC)

hmm, I have no idea. maybe add "set -e" in the begining of the script too see if there will be more debugging output. or perhaps the module couldn't be unloaded?