Package: 915resolution
Version: 0.5.2-3
Severity: wishlist

Intel cards have know problems to get back from suspend from memory, and
from suspend to disk. In the suspend to disk you'll need to call
915resolution before trying to switch to X, or you'll be trying to
switch X with a mode that doesn't exists in the card bios. Which won't
work. I have a small script that deals with this, but still does not behaves
well with suspend to ram.

The script is this:
#!/bin/sh

type="disk"

if [ "$1" ]; then
        type="$1"
fi

# suspend

/sbin/hwclock --systohc
/usr/bin/chvt 1 # a non X vt
/usr/sbin/vbetool vbestate save > /tmp/vbestate-save
/usr/bin/sync
echo -n shutdown > /sys/power/disk
echo -n $type > /sys/power/state

# resume

/sbin/hwclock --hctosys
/usr/sbin/vbetool vbestate restore < /tmp/vbestate-save
/etc/init.d/915resolution start
/usr/bin/chvt 7 # my X vt
/etc/init.d/laptop-mode restart

Please provide this script as an example.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)

Versions of packages 915resolution depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

915resolution recommends no packages.

-- no debconf information


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

Reply via email to