Well, you don't need a complete image of the VGA card for example,
you just do whatever happens to store the state when another process
accesses the video (for example running zgv under X)
Yes, X needs to repaint, but is this a problem?
Most hardware drivers can put up with the power being pulled to the
device (IDE/SCSI/...)
Doing this so it works to some level is possibly not that hard, don't you
have to deal with most of the same issues if you unplug power to the
disk drives, and ifconfig down /ifconfig up network interfaces.
This currently works (just tried it), and everything resumes pretty cleanly.)
So, some sort of app that puts the terminal in graphics mode, tears down any
network interfaces, storing a little state (IP, netmask, ...)
saves an image, then comes back, resets text terminals ala SVGAtextmode,
switches out of graphics mode, and lets X take over.
I asume I've missed something major, but can't think what it is.
> This is _really_ hard to do. I see alternate way: make your /etc/rc
> scripts boot up *fast*. It can be done: my machine does not spend more
> than 10 seconds in userland initialization.
>
> > > ought to be possible to give all kind of PC:s the same function as =
> a
> > > laptops builtin poweroff/resume.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu