aboutsummaryrefslogtreecommitdiff
path: root/system/fbterm/checkfb.1
blob: e15ae924162d2843b487b1e86b9e84c2f670eda1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.\" 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.
.