Package: pm-utils Version: 1.2.5-2 On this Inspiron 4000 (with --quirk-radeon-off and no other quirks), the console font set by console-setup is forgotten on resume and replaced with the default VGA font. The following script fixes the problem for me. The conditioning on HIBERNATE_RESUME_POST_VIDEO is copied from /usr/lib/pm-utils/99video; it doesn’t make much sense to me in the pm-suspend-hybrid case, but that’s a different issue.
In any case, I am curious: does this problem show up in other setups as well? Is this an appropriate approach, or should something more comprehensive be done with respect to saving and restoring the VGA state? Regards, Jonathan Nieder --- %< --- #!/bin/sh # # There is one quirk /usr/lib/pm-utils/sleep.d/99video fails to # handle on this Dell Inspiron 4000: the console font set by # console-setup is forgotten and replaced with the default VGA # font. Here is a workaround. # # Usage: place in /etc/pm/sleep.d/97setfont and chmod +x. . "${PM_FUNCTIONS}" if command_exists setfont; then font() { setfont "$@"; } else font() { echo "setfont not found" 1>&2; return 1; } fi font_savestate() { font -O /dev/stdout |savestate consolefont; } font_restorestate() { restorestate consolefont |font /dev/stdin; } case "$1" in suspend) font_savestate ;; hibernate) if [ "$HIBERNATE_RESUME_POST_VIDEO" = "yes" ]; then font_savestate fi ;; resume) font_restorestate ;; thaw) if [ "$HIBERNATE_RESUME_POST_VIDEO" = "yes" ]; then font_restorestate fi ;; esac -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org