[Sjoerd Simons]
> As said in the subject. hotkey-setup breaks suspend (or actually
> resume) on a HP 6701B. The hotkey-setup sets the DOS entry of the
> acpi video bits to 4 (which is a bit odd in itself as it's defined
> as a 2 bit value afaik).  Unfortunately some machines are quite
> sensitive to this value, with the setting to 4 the machine doesn't
> come back from suspend when suspending under X.

Is this solved by the patch in Ubuntu?  See
<URL:http://patches.ubuntu.com/h/hotkey-setup/hotkey-setup_0.1-17ubuntu21.patch>.
I believe this is the relevant code:

    VIDEO=`sed -n -e '/^[ \t]*section[ \\t]*"device"/I,/^[ \t]*endsection/I{/^[ 
\t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[ \t]*$//;p}}' 
/etc/X11/xorg.conf`
    case $VIDEO in
        intel|ati|radeon)
            for x in /proc/acpi/video/*/DOS; do
                echo -n 7 >$x;
            done
        ;;
    esac

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to