This repository was archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 495
Testing
notro edited this page Feb 11, 2013
·
13 revisions
This page list some ways to test the framebuffer drivers. All commands are issued from a SSH session.
WIDTH is the display width.
scale is used because the movie is larger than most small displays. -3 means keep aspect ratio and calculate height.
apt-get install -y mplayer
wget http://fredrik.hubbe.net/plugger/test.mpg
mplayer -nolirc -vo fbdev2:/dev/fb1 -vf scale=WIDTH:-3 test.mpg
apt-get -y install fim
wget http://www.olsug.org/wiki/images/9/95/Tux-small.png
FRAMEBUFFER=/dev/fb1 fim Tux-small.png
Use display as the primary console.
If a keyboard is plugged in after power on, a reboot may be necessary.
# Map console 1 to framebuffer 1, login screen will show up on the display
con2fbmap 1 1
con2fbmap 1
console 1 is mapped to framebuffer 1
# Revert
con2fbmap 1 0
To get debug output, add to the top of sourcefile: #define DEBUG