In /usr/lib/pm-utils/defaults or /etc/pm/config.d/ you can set the variable SUSPEND_MODULES to define kernel modules to be unloaded before suspending.
So far, so good.
But it seems, after resuming these kernel modules sometimes seem to not be reloaded again? Or am I wrong?
I put Virtualbox modules in SUSPEND_MODULES and the system suspends just fine.
After resuming my impression was, the modules unloaded did not get reloaded into system again?
Thus I wonder, do I need to create a new power management hook to reload these kernel modules?
So far, so good.
But it seems, after resuming these kernel modules sometimes seem to not be reloaded again? Or am I wrong?
I put Virtualbox modules in SUSPEND_MODULES and the system suspends just fine.
After resuming my impression was, the modules unloaded did not get reloaded into system again?
Thus I wonder, do I need to create a new power management hook to reload these kernel modules?