Am 29.06.2015 um 15:54 schrieb Stanislav Brabec:
Following work-around will not work?
/usr/lib/systemd/system-sleep/broken-modules.sh
#!/bin/bash
. /etc/sysconfig/suspend
if [ "$1" = pre ] && ( [ "$2" = hibernate ] || [ "$2" = hybrid-sleep ] ) ; then
why only suspend-to-disk?
for MODULE in $SUSPEND_MODULE ; do rmmod $MODULE done fi if [ "$1" = post ] && ( [ "$2" = hibernate ] || [ "$2" = hybrid-sleep ] ) ; then for MODULE in $SUSPEND_MODULE ; do modprobe $MODULE done fi
I think you should actually note somewhere which modules had been unloaded and only reload those on resume. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org