summaryrefslogtreecommitdiffstats
path: root/system/fbterm/checkfb.1
blob: e15ae924162d2843b487b1e86b9e84c2f670eda1 (plain)
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "CHECKFB" 1 "2021-08-26" "SBo" "SlackBuilds.org"
.SH NAME
checkfb \- check for the existence of a framebuffer device
.\" RST source for checkfb(1) man page. Convert with:
.
.\" rst2man.py checkfb.rst > checkfb.1
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
checkfb <[\fIdevice\fP]>
.SH DESCRIPTION
.sp
checkfb attempts to open the Linux framebuffer device read\-only. If successful,
it reports the display resolution and bit depth.
.sp
By default, it opens \fB/dev/fb0\fP\&. The \fIdevice\fP option overrides this.
.sp
There are no options.
.SH EXIT STATUS
.sp
0 (success) if the framebuffer exists and can be opened.
.sp
Non\-zero means failure: the device doesn\(aqt exist, the permissions
don\(aqt allow opening it, or possibly the kernel doesn\(aqt support
framebuffer devices at all.
.SH EXAMPLES
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
# checkfb
The framebuffer device (/dev/fb0) was opened successfully.
1920x1080, 32bpp
The framebuffer device was mapped to memory successfully.
.ft P
.fi
.UNINDENT
.UNINDENT
.SH COPYRIGHT
.sp
checkfb is released under the GPL (according to the comments in its source).
.SH AUTHORS
.sp
checkfb was originally written by Trolltech, and was modified by
Sébastien Ballet.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
fbset(8)
.\" Generated by docutils manpage writer.
.