Description of problem:
rmmod is used in /etc/pm/hooks/50modules for removing moudles at suspend (and
not modprobe -r). As far as I know this has as a side-effect that you have to
specify modules to be removed at suspend (and to be loaded at resume) as they
appear in /proc/modules (their "real" name). If 'modprobe -r' would be used one
could also use aliases for those modules (in /etc/sysconfig/pm).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add a module by it's alias to /etc/sysconfig/pm
2. suspend or hibernate
module is not removed (at suspend) and not loaded (at resume)
module is removed (at suspend) and loaded (at resume)
I do hope that my analysis (that rmmod doesn't use /etc/modprobe.conf) is
correct. Assuming that's the case: there could be valid (but unkown to me)
reasons to use rmmod and not 'modprobe -r' but then I'd say it should be noted
in /etc/sysconfig/pm that one must add modules not by their aliases.
On a side note: I'd guess rmmod also bypasses the "remove" / "--ignore-remove"
trick that /etc/modprobe.conf allows, but I haven't yet ran into that.
Should be fixed in 0.19-1