dumpreg1
Dump the state of the card as the svgalib chipset driver sees it.
Usage
dumpreg
dumpreg <
/dev/ttyN
Overview
The chipset drivers of svgalib inquire the mode of the graphic card when the application is started and restore it when the svgalib application quits. dumpreg prints this information to stdout.
This is useful for debugging or adding modes to a device driver. For example you can use Xfree86 to setup a given mode timing, then run dumpreg and use it's stdout to make your chipset driver use exactly this timing.
However, the recent change of svgalib to hunt an own free virtual console does not allow this, because it will make Xfree86 return to textmode first. You can avoid this by using the second form where N is the number of the virtual console on which Xfree86 runs (usually 7) as root.
Releases
Unchanged in 5 releases since Debian 3.1 (Sarge).