Firmware/Screenshot
< Firmware
Jump to navigation
Jump to search
Tools for screenshots are in Open Firmware source code.
Preparation
- make a USB drive with ext2 filesystem, with nothing important on it,
- download xo-4-bmp.fth to the USB drive,
- at Open Firmware ok prompt, load the file,
ok fl u:\xo-4-bmp.fth
- prepare the screen as you need it, and then make a screenshot, using one of the methods below.
Save to a named file
ok fb-save u:\test.bmp
Save to an file named for date and time
ok fb
Save after a command completes
ok page banner fb
Save using a rotate key
On XO-1.75 or XO-4, we add an asynchronous event handler to detect the rotate key, which is on the bottom left of the laptop next to the wireless LED.
Set up the display in the way you want to capture it, then press the rotate key until red LED is seen, then release rotate key. At this time the image is saved into memory.
Then get to ok prompt and type cb to save the image to USB drive.
ok cb
Only one image is saved.
Convert to PNG
Convert the images to PNG format on Linux; they are much smaller and the conversion is lossless, for example
% convert 1434598114.bmp 1434598114.png