Stefan Seyfried wrote:
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?
Does this problem affect suspend to RAM as well? If yes, it is easy to add it there.
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.
Probably yes. The easiest way would be just porting of pm-utils script. But I am not sure, whether we should add it to systemd. I would create a new package: systemd-quirks-legacy with sub-packages like systemd-quirks-legacy-modules and maybe later (if required) systemd-quirks-legacy-video systemd-quirks-legacy-rtc -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.com Lihovarská 1060/12 tel: +49 911 7405384547 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org