Package Details: systemd-suspend-modules 1.0-2

Git Clone URL: (read-only, click to copy)
Package Base: systemd-suspend-modules
Description: Reload modules on suspend/hibernate with systemd
Upstream URL:
Licenses: GPL
Submitter: gdamjan
Maintainer: gdamjan
Last Packager: gdamjan
Votes: 15
Popularity: 0.000010
First Submitted: 2012-11-07 00:34
Last Updated: 2015-06-10 11:09

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

gdamjan commented on 2016-01-06 19:48

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

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:

Feel free to merge that upstream, or tell me how I should request for that. Thanks!

gdamjan commented on 2015-09-14 23:42

what version of systemd are you running now?

axfelix commented on 2015-09-14 22:50

I also use this for


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


Indeed. That was it.

So I am putting the following into the conf file:


Will then first iwldvm be removed/started and iwlwifi afterwards?

gdamjan commented on 2014-02-18 16:57

> 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

> 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

> 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


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

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?