2008/1/27, Victor Lowther <[EMAIL PROTECTED]>:
> Modified the main suspend/resume function to use the new locking
> infrastructure.
This patch got rid of one usage of the usleep function. usleep is
redhat only ttbomk, so it's safer to simply use sleep. This patch
replaces the remainig usleep in 99video with sleep.
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Index: pm-utils/pm/sleep.d/99video
===================================================================
--- pm-utils.orig/pm/sleep.d/99video 2008-01-28 01:00:31.000000000 +0100
+++ pm-utils/pm/sleep.d/99video 2008-01-28 01:00:53.000000000 +0100
@@ -47,7 +47,7 @@
# We might need to do one or many of these quirks
if [ "${DISPLAY_QUIRK_VBE_POST}" == "true" ]; then
vbe post
- usleep 100000
+ sleep 0.1
fi
if [ "${DISPLAY_QUIRK_VBESTATE_RESTORE}" == "true" ]; then
vbe vbestate restore < /var/run/vbestate
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils