hal/tools hal-system-video-resume, NONE,
1.1 hal-system-video-suspend, NONE, 1.1
Richard Hughes
hughsient at kemper.freedesktop.org
Fri Jun 9 03:10:07 PDT 2006
Update of /cvs/hal/hal/tools
In directory kemper:/tmp/cvs-serv26319/tools
Added Files:
hal-system-video-resume hal-system-video-suspend
Log Message:
2006-06-09 Richard Hughes <richard at hughsie.com>
* tools/hal-system-video-resume:
* tools/hal-system-video-suspend:
* tools/linux/hal-system-video-resume-linux:
* tools/linux/hal-system-video-suspend-linux:
Add the video adapter suspend and resume functionality so we can just
drop in one fdi file and get the adapter to do the correct thing.
--- NEW FILE: hal-system-video-resume ---
#!/bin/sh
if [ -n "$HALD_UNAME_S" -a -x ./$HALD_UNAME_S/hal-system-video-resume-$HALD_UNAME_S ]; then
exec ./$HALD_UNAME_S/hal-system-video-resume-$HALD_UNAME_S $@
else
echo "org.freedesktop.Hal.Device.UnknownError" >&2
echo "No back-end for your operating system" >&2
exit 1
fi
--- NEW FILE: hal-system-video-suspend ---
#!/bin/sh
if [ -n "$HALD_UNAME_S" -a -x ./$HALD_UNAME_S/hal-system-video-suspend-$HALD_UNAME_S ]; then
exec ./$HALD_UNAME_S/hal-system-video-suspend-$HALD_UNAME_S $@
else
echo "org.freedesktop.Hal.Device.UnknownError" >&2
echo "No back-end for your operating system" >&2
exit 1
fi
More information about the hal-commit
mailing list