version 3 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
fbset |
|
|
2 |
!!!fbset |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
EXAMPLE |
|
|
8 |
FILES |
|
|
9 |
SEE ALSO |
|
|
10 |
AUTHORS |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
fbset - show and modify frame buffer device settings |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__fbset__ [[''options''] [[''mode''] |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
__This documentation is out of date!!__ |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
__fbset__ is a system utility to show or change the |
|
|
27 |
settings of the frame buffer device. The frame buffer device |
|
|
28 |
provides a simple and unique interface to access different |
|
|
29 |
kinds of graphic displays. |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
Frame buffer devices are accessed via special device nodes |
|
|
33 |
located in the /dev directory. The naming scheme for these |
|
|
34 |
nodes is always __fb____n''''n'' is |
|
|
35 |
the number of the used frame buffer device. |
|
|
36 |
|
|
|
37 |
|
3 |
MikeWhit |
38 |
__fbset__ uses its own video mode database located in |
1 |
perry |
39 |
/etc/fb.modes. An unlimited number of video modes can be |
|
|
40 |
defined in this database. For further information see |
|
|
41 |
fb.modes(5). |
|
|
42 |
!!OPTIONS |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
If no option is given, __fbset__ will display the current |
|
|
46 |
frame buffer settings. |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
General options: |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
__--help__, __-h__ |
|
|
53 |
|
|
|
54 |
|
3 |
MikeWhit |
55 |
display usage information |
1 |
perry |
56 |
|
|
|
57 |
|
|
|
58 |
__--now__, __-n__ |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
change the video mode immediately. If no frame buffer device |
|
|
62 |
is given via __-fb__ , then this option is activated by |
|
|
63 |
default |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
__--show__, __-s__ |
|
|
67 |
|
|
|
68 |
|
3 |
MikeWhit |
69 |
display the video mode settings. This is the default if no |
1 |
perry |
70 |
further option or only a frame buffer device via __-fb__ |
|
|
71 |
is given |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
__--info__, __-i__ |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
display all available frame buffer information |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
__--verbose__, __-v__ |
|
|
81 |
|
|
|
82 |
|
3 |
MikeWhit |
83 |
display information about what __fbset__ is currently |
1 |
perry |
84 |
doing |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
__--version__, __-V__ |
|
|
88 |
|
|
|
89 |
|
|
|
90 |
display the version information about |
|
|
91 |
__fbset__ |
|
|
92 |
|
|
|
93 |
|
|
|
94 |
__--xfree86__, __-x__ |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
display the timing information as it's needed by |
|
|
98 |
XFree86 |
|
|
99 |
|
|
|
100 |
|
|
|
101 |
Frame buffer device nodes: |
|
|
102 |
|
|
|
103 |
|
|
|
104 |
__-fb__ __device'''' |
|
|
105 |
|
|
|
106 |
|
|
|
107 |
''device'' gives the frame buffer device node. If no |
|
|
108 |
device via __-fb__ is given, ''/dev/fb0'' is |
|
|
109 |
used |
|
|
110 |
|
|
|
111 |
|
|
|
112 |
Video mode database: |
|
|
113 |
|
|
|
114 |
|
|
|
115 |
__-db__ __file'''' |
|
|
116 |
|
|
|
117 |
|
|
|
118 |
set an alternative video mode database file (default is |
|
|
119 |
''/etc/fb.modes''), see also |
|
|
120 |
fb.modes(5) |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
Display geometry: |
|
|
124 |
|
|
|
125 |
|
|
|
126 |
__-xres__ __value'''' |
|
|
127 |
|
|
|
128 |
|
|
|
129 |
set visible horizontal resolution (in pixels) |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
__-yres__ __value'''' |
|
|
133 |
|
|
|
134 |
|
|
|
135 |
set visible vertical resolution (in pixels) |
|
|
136 |
|
|
|
137 |
|
|
|
138 |
__-vxres__ __value'''' |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
set virtual horizontal resolution (in pixels) |
|
|
142 |
|
|
|
143 |
|
|
|
144 |
__-vyres__ __value'''' |
|
|
145 |
|
|
|
146 |
|
|
|
147 |
set virtual vertical resolution (in pixels) |
|
|
148 |
|
|
|
149 |
|
|
|
150 |
__-depth__ __value'''' |
|
|
151 |
|
|
|
152 |
|
|
|
153 |
set display depth (in bits per pixel) |
|
|
154 |
|
|
|
155 |
|
|
|
156 |
__--geometry__, __-g__ ... |
|
|
157 |
|
|
|
158 |
|
|
|
159 |
set all geometry parameters at once in the order |
|
|
160 |
xres''''yres''''vxres'' |
|
|
161 |
''vyres''''depth''''-g__ |
|
|
162 |
''640 400 640 400 4'' |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
__-match__ |
|
|
166 |
|
|
|
167 |
|
|
|
168 |
make the physical resolution match the virtual |
|
|
169 |
resolution |
|
|
170 |
|
|
|
171 |
|
|
|
172 |
Display timings: |
|
|
173 |
|
|
|
174 |
|
|
|
175 |
__-pixclock__ __value'''' |
|
|
176 |
|
|
|
177 |
|
|
|
178 |
set the length of one pixel (in picoseconds). Note that the |
|
|
179 |
frame buffer device may only support some pixel |
|
|
180 |
lengths |
|
|
181 |
|
|
|
182 |
|
|
|
183 |
__-left__ __value'''' |
|
|
184 |
|
|
|
185 |
|
|
|
186 |
set left margin (in pixels) |
|
|
187 |
|
|
|
188 |
|
|
|
189 |
__-right__ __value'''' |
|
|
190 |
|
|
|
191 |
|
|
|
192 |
set right margin (in pixels) |
|
|
193 |
|
|
|
194 |
|
|
|
195 |
__-upper__ __value'''' |
|
|
196 |
|
|
|
197 |
|
|
|
198 |
set upper margin (in pixel lines) |
|
|
199 |
|
|
|
200 |
|
|
|
201 |
__-lower__ __value'''' |
|
|
202 |
|
|
|
203 |
|
|
|
204 |
set lower margin (in pixel lines) |
|
|
205 |
|
|
|
206 |
|
|
|
207 |
__-hslen__ __value'''' |
|
|
208 |
|
|
|
209 |
|
|
|
210 |
set horizontal sync length (in pixels) |
|
|
211 |
|
|
|
212 |
|
|
|
213 |
__-vslen__ __value'''' |
|
|
214 |
|
|
|
215 |
|
|
|
216 |
set vertical sync length (in pixel lines) |
|
|
217 |
|
|
|
218 |
|
|
|
219 |
__--timings__, __-t__ ... |
|
|
220 |
|
|
|
221 |
|
|
|
222 |
set all timing parameters at once in the order |
|
|
223 |
pixclock''''left'' |
|
|
224 |
''right''''upper'' |
|
|
225 |
''lower''''hslen'' |
|
|
226 |
''vslen''''-g__ ''35242 64 96 35 12 |
|
|
227 |
112 2'' |
|
|
228 |
|
|
|
229 |
|
|
|
230 |
Display flags: |
|
|
231 |
|
|
|
232 |
|
|
|
233 |
__-hsync__ {''low''|''high''} |
|
|
234 |
|
|
|
235 |
|
|
|
236 |
set the horizontal sync polarity |
|
|
237 |
|
|
|
238 |
|
|
|
239 |
__-vsync__ {''low''|''high''} |
|
|
240 |
|
|
|
241 |
|
|
|
242 |
set the vertical sync polarity |
|
|
243 |
|
|
|
244 |
|
|
|
245 |
__-csync__ {''low''|''high''} |
|
|
246 |
|
|
|
247 |
|
|
|
248 |
set the composite sync polarity |
|
|
249 |
|
|
|
250 |
|
|
|
251 |
__-extsync__ {''false''|''true''} |
|
|
252 |
|
|
|
253 |
|
|
|
254 |
enable or disable external resync. If enabled the sync |
|
|
255 |
timings are not generated by the frame buffer device and |
|
|
256 |
must be provided externally instead. Note that this option |
|
|
257 |
may not be supported by every frame buffer |
|
|
258 |
device |
|
|
259 |
|
|
|
260 |
|
|
|
261 |
__-bcast__ {''false''|''true''} |
|
|
262 |
|
|
|
263 |
|
|
|
264 |
enable or disable broadcast modes. If enabled the frame |
|
|
265 |
buffer generates the exact timings for several broadcast |
|
|
266 |
modes (e.g. PAL or NTSC). Note that this option may not be |
|
|
267 |
supported by every frame buffer device |
|
|
268 |
|
|
|
269 |
|
|
|
270 |
__-laced__ {''false''|''true''} |
|
|
271 |
|
|
|
272 |
|
|
|
273 |
enable or disable interlace. If enabled the display will be |
|
|
274 |
split in two frames, each frame contains only even and odd |
|
|
275 |
lines respectively. These two frames will be displayed |
|
|
276 |
alternating, this way twice the lines can be displayed and |
|
|
277 |
the vertical frequency for the monitor stays the same, but |
|
|
278 |
the visible vertical frequency gets halved |
|
|
279 |
|
|
|
280 |
|
|
|
281 |
__-double__ {''false''|''true''} |
|
|
282 |
|
|
|
283 |
|
|
|
284 |
enable or disable doublescan. If enabled every line will be |
|
|
285 |
displayed twice and this way the horizontal frequency can |
|
|
286 |
easily be doubled, so that the same resolution can be |
|
|
287 |
displayed on different monitors, even if the horizontal |
|
|
288 |
frequency specification differs. Note that this option may |
|
|
289 |
not be supported by every frame buffer device |
|
|
290 |
|
|
|
291 |
|
|
|
292 |
Display positioning: |
|
|
293 |
|
|
|
294 |
|
|
|
295 |
__-move__ |
|
|
296 |
{''left''|''right''|''up''|''down''} |
|
|
297 |
|
|
|
298 |
|
|
|
299 |
move the visible part of the display in the specified |
|
|
300 |
direction |
|
|
301 |
|
|
|
302 |
|
|
|
303 |
__-step__ __value'''' |
|
|
304 |
|
|
|
305 |
|
|
|
306 |
set step size for display positioning (in pixels or pixel |
|
|
307 |
lines), if __-step__ is not given display will be moved 8 |
|
|
308 |
pixels horizontally or 2 pixel lines vertically |
|
|
309 |
!!EXAMPLE |
|
|
310 |
|
|
|
311 |
|
|
|
312 |
To set the used video mode for __X__ insert the following |
|
|
313 |
in rc.local: |
|
|
314 |
|
|
|
315 |
|
|
|
316 |
__fbset__ -fb ''/dev/fb0'' vga |
|
|
317 |
|
|
|
318 |
|
|
|
319 |
and make the used frame buffer device known to |
|
|
320 |
__X__: |
|
|
321 |
|
|
|
322 |
|
|
|
323 |
__export__ FRAMEBUFFER=''/dev/fb0'' |
|
|
324 |
!!FILES |
|
|
325 |
|
|
|
326 |
|
|
|
327 |
''/dev/fb* |
|
|
328 |
/etc/fb.modes'' |
|
|
329 |
!!SEE ALSO |
|
|
330 |
|
|
|
331 |
|
|
|
332 |
fb.modes(5), fbdev(4) |
|
|
333 |
!!AUTHORS |
|
|
334 |
|
|
|
335 |
|
|
|
336 |
Geert Uytterhoeven |
|
|
337 |
|
|
|
338 |
|
|
|
339 |
Roman Zippel |
|
|
340 |
|
|
|
341 |
|
|
|
342 |
man files |
|
|
343 |
---- |