https://bugzilla.novell.com/show_bug.cgi?id=281798#c6
--- Comment #6 from Felix Möller 2007-07-25 10:22:12 MST ---
After working through the openSUSE pm-utils scripts I came up with the
following, which works for me.
# cat /etc/pm/sleep.d/99video
#!/bin/bash
# This makes my Toshiba A100 resume. The code comes from the Ubuntu
# acpi-support package.
# Felix Möller
case $1 in
suspend)
for x in /sys/class/graphics/*; do
if [ -f $x/state ]; then
echo -n 1 >$x/state;
fi
done
;;
resume)
vbetool post
for x in /sys/class/graphics/*; do
if [ -f $x/state ]; then
echo -n 0 >$x/state;
fi
done
;;
esac
Stefan: I think help_options() in /usr/lib/pm-utils/bin/pm-action should be
adapted to the suse version, which does not support quiet a few of the
mentioned options. (See /usr/share/doc/packages/pm-utils/hooks)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.