Hi,

Just some additional data (I can't believe I forgot to check this before):

The console font is forgotten with a simple "pm-suspend".

The console font is not forgotten with "pm-suspend
--quirk-radeon-off", even without --quirk-no-chvt.

So the no-chvt was a red herring - sorry about that.  It seems that
for computers that are not otherwise listed, hal turns on quirks
including --quirk-vbe-post. All the video state, including the console
font was being forgotten.

Thus for this computer, it would be enough to add an entry to
/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
to fix this. (I've filed bug #531374 for that.) Until that happens,
I've added lines disabling quirk.vbe_post, dpms_on, vbestate_restore,
vbemode_restore, dpms_suspend, and vga_mode_3 to my
/etc/fdi/information/99local-pm-utils-quirks.fdi, and with that change
plain "pm-suspend" works for me.

For models that do need to reset video hardware on resume, a hook like
the one I sent would be helpful.

For models not yet listed in /usr/share/hal, the way the default
settings get enabled seems problematic to me. It is nice that the
defaults in 10freedesktop/99-video-quirk-default.fdi get applied only
if no quirks have been explicitly set before then, but it makes it
hard for the system administrator or other packages to set quirks
later with a file in /etc or
/usr/share/hal/fdi/information/20thirdparty. It would be nicer, and
easier to understand, if the defaults kicked in only if no settings
were applied later, too. One way to achieve this would be to take the
logic out of 99-video-quirk-default.fdi and put it into the pm-utils
scripts themselves. If this idea sounds reasonable to you, let me know
and I'll write a patch.

Thanks, and sorry to fill up your inbox,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to