Quote:
Originally Posted by äxl
What's your SUSPEND_MODULES line now? I don't know if it's possible to unload all modules ...
Turn on pm-utils verbosity ( https://wiki.debian.org/Suspend) and also look into other files in /var/log/
You should try Ubuntu or Debian, ask their wikis/help pages/forums and if nothing works file a bug against pm-utils.
|
My original plan was to put it in ubuntu forums, but as you may have heard, they have been hacked recently and went offline.
My modules file is as follows:
Code:
SUSPEND_MODULES="uas b43 bluetooth sdhci"
I might just live with this bug/glitch/limitation. It doesnt happen with a normal rotating HDD, but I like the shock protection and battery saving of my current system. Ive heard there are no issues with a conventional SSD, but SSDs are still relatively expensive.....
If it might help, I enabled verbosity as you suggested, and the pm-suspend command now shows some info (but still doesnt work):
Code:
$ sudo pm-suspend
[sudo] password for sufy:
+ set -a
+ PM_UTILS_LIBDIR=/usr/lib/pm-utils
+ PM_UTILS_ETCDIR=/etc/pm
+ PM_UTILS_RUNDIR=/var/run/pm-utils
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/pm-utils/bin
+ PM_LOGFILE=/var/log/pm-suspend.log
+ TEMPORARY_CPUFREQ_GOVERNOR=performance
+ LOCKDIR=/var/run/pm-utils/locks
+ STORAGEDIR=/var/run/pm-utils/pm-suspend/storage
+ NA=254
+ NX=253
+ DX=252
+ PM_FUNCTIONS=/usr/lib/pm-utils/functions
+ PM_QUIRKDB=/usr/lib/pm-utils/video-quirks
+ PM_LKW_QUIRKS=/var/cache/pm-utils/last_known_working.quirkdb
+ LC_COLLATE=C
+ HIBERNATE_MODE=
+ HIBERNATE_RESUME_POST_VIDEO=no
+ SLEEP_MODULE=auto
+ SUSPEND_MODULES=
+ HOOK_BLACKLIST=
+ ADD_PARAMETERS=
+ DROP_PARAMETERS=
+ PARAMETERS=/var/run/pm-utils/pm-suspend/storage/parameters
+ INHIBIT=/var/run/pm-utils/pm-suspend/storage/inhibit
+ PM_CMDLINE=
+ BEFORE_HOOKS=
+ MODULE_HELP=
+ SUSPEND_MODULE=
+ HIBERNATE_MODULE=
+ SUSPEND_HYBRID_MODULE=
+ PM_HIBERNATE_DELAY=900
+ PM_RTC=/sys/class/rtc/rtc0
+ [ -f /usr/lib/pm-utils/defaults ]
+ . /usr/lib/pm-utils/defaults
+ [ -f /usr/lib/pm-utils/pm-suspend.defaults ]
+ set +a
+ [ -f /etc/pm/config.d/modules ]
+ [ ]
+ [ ]
+ [ ]
+ [ ]
+ set -a
+ . /etc/pm/config.d/modules
+ SUSPEND_MODULES=uas b43 bluetooth sdhci
+ SUSPEND_MODULES= uas b43 bluetooth sdhci
+ HOOK_BLACKLIST=
+ ADD_PARAMETERS=
+ DROP_PARAMETERS=
+ set +a
+ [ -f /etc/pm/pm-suspend.config.d/*[!~] ]
+ continue
+ . /usr/lib/pm-utils/functions
+ is_set true
+ return 0
+ set -x
+ profiling
+ [ = true ]
+ profiling
+ [ = true ]
+ profiling
+ [ = true ]
+ [ auto = auto ]
+ SLEEP_MODULE=tuxonice uswsusp
+ mod=/usr/lib/pm-utils/module.d/tuxonice
+ [ -f /usr/lib/pm-utils/module.d/tuxonice ]
+ . /usr/lib/pm-utils/module.d/tuxonice
+ export TUXONICE_LOC
+ [ -d /sys/power/tuxonice ]
+ TUXONICE_LOC=/sys/power/tuxonice
+ break
+ [ -n /sys/power/tuxonice ]
+ [ -z -a -n /sys/power/tuxonice ]
+ [ -f /sys/power/tuxonice/do_hibernate ]
+ HIBERNATE_MODULE=tuxonice
+ [ -z -a -n /sys/power/tuxonice ]
+ grep -q mem /sys/power/state
+ [ -f /sys/power/tuxonice/do_hibernate ]
+ SUSPEND_HYBRID_MODULE=tuxonice
+ mod=/usr/lib/pm-utils/module.d/uswsusp
+ [ -f /usr/lib/pm-utils/module.d/uswsusp ]
+ . /usr/lib/pm-utils/module.d/uswsusp
+ [ -z ]
+ command_exists s2ram
+ type s2ram
+ return 0
+ grep -q mem /sys/power/state
+ SUSPEND_MODULE=uswsusp
+ [ suspend = suspend ]
+ add_before_hooks uswsusp_hooks
+ [ -z ]
+ BEFORE_HOOKS=uswsusp_hooks
+ add_module_help uswsusp_help
+ [ -z ]
+ MODULE_HELP=uswsusp_help
+ [ -z tuxonice ]
+ [ -z tuxonice ]
+ [ -z uswsusp ]
+ [ -z tuxonice ]
+ [ -z tuxonice -a -w /sys/class/rtc/rtc0/wakealarm ]
+ r=0
+ id -u
+ [ 0 != 0 ]
+ try_lock pm-suspend.lock
+ local lock=/var/run/pm-utils/locks/pm-suspend.lock
+ mkdir -p /var/run/pm-utils/locks
+ touch /var/run/pm-utils/locks/pm-suspend.lock
+ exec
+ flock -x -n 3
+ return 0
+ trap remove_suspend_lock 0
+ rm -rf /var/run/pm-utils/pm-suspend/storage
+ mkdir -p /var/run/pm-utils/pm-suspend/storage
+ [ -f /var/run/pm-utils/pm-suspend/storage/parameters ]
+ echo
+ add_parameters
+ remove_parameters
+ local p
+ [ = all ]
+ echo
+ grep -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
+ cp -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
+ update_parameters
+ [ -f /var/run/pm-utils/pm-suspend/storage/parameters.new ]
+ get_parameters
+ cat /var/run/pm-utils/pm-suspend/storage/parameters
+ export PM_CMDLINE=
+ rm -f /var/run/pm-utils/pm-suspend/storage/parameters.new
+ [ 0 -gt 0 ]
+ command_exists check_suspend
+ type check_suspend
+ return 0
+ command_exists do_suspend
+ type do_suspend
+ return 0
+ check_suspend
+ [ -n uswsusp ]
+ ACTION=suspend
+ REVERSE=resume
+ init_logfile /var/log/pm-suspend.log
+ [ -z /var/log/pm-suspend.log ]
+ [ -h /var/log/pm-suspend.log ]
+ [ -f /var/log/pm-suspend.log -a ! -O /var/log/pm-suspend.log ]
+ export LOGGING=true
+ exec
__________
I might get a few more SD cards in the future and try other distros and linux types and see if any have the same issue with suspend, and if some overcome them, ill be sure to post the details here.