Your message dated Thu, 21 Dec 2023 17:56:09 +0000
with message-id <[email protected]>
and subject line Bug#1058701: Removed package(s) from unstable
has caused the Debian Bug report #531375,
regarding pm-utils: Forgets console font
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
531375: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531375
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 1.4.1-19+rm

Dear submitter,

as the package pm-utils has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1058701

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to