--- Begin Message ---
http://bugs.freedesktop.org/show_bug.cgi?id=15840
Summary: vbe_restoremode() does not work
Product: pm-utils
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: General
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Hi!
In pm-utils 1.10, ./pm/sleep.d/99video has
vbe_savemode() { vbe vbemode get |savestate vbemode; }
vbe_restoremode() { vbe vbemode get |savestate vbemode; }
This is obviously a copy&paste error and should rather be
vbe_restoremode() { restorestate vbemode | vbe vbemode set; }
BTW, in the old 0.99.x versions, the Ubuntu package had a patch from Matthew
Garrett (in CC, author of vbetool) which special-cased mode 3:
- vbe vbemode set `cat /var/run/vbemode`
+ vbemode=`cat /var/run/vbemode`
+ if [ $vbemode != "3" ]; then
+ vbe vbemode set `cat /var/run/vbemode`
+ else
+ vbe vgamode set 3
+ fi
I personally don't know what this does, and whether it is still needed.
Matthew, can you please explain this here? If it is still relevant, it should
be included upstream.
Thank you!
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
--- End Message ---
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils