#   Copyright
#
#      Copyright (C) 2009-2010 Jari Aalto
#
#   License
#
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation; either version 2 of the License, or
#       (at your option) any later version.
#
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#       GNU General Public License for more details.
#
#       You should have received a copy of the GNU General Public License
#       along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#   Description
#
#       To learn what TOP LEVEL section to use in manual pages,
#       see POSIX/Susv standard and "Utility Description Defaults" at
#       http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
#
#       This is manual page in Perl POD format. Read more at
#       http://perldoc.perl.org/perlpod.html or run command:
#
#           perldoc perlpod | less
#
#       To check the syntax:
#
#           podchecker *.pod
#
#       Create manual page with command:
#
#           pod2man PAGE.N.pod > PAGE.N

=pod

=head1 NAME

matroxset - switch the output mode of Matrox video cards

=head1 SYNOPSIS

   matroxset [OPTIONS] [VALUE]

=head1 OPTIONS

=over 4

=item B<-c>

Get/set control value.

=item B<-e>

Edit controls interactively.

=item B<-f DEVICE>

Manipulate the frame buffer DEVICE (default is /dev/fb1).

=item B<-l>

List controls

=item B<-m>

Connect this frame buffer to the outputs specified in VALUE (0 is
none, 1 is primary, 2 is secondary, 4 is digital flat panel; these
values may be summed for multiple outputs).

=item B<-o OUTPUT>

Set OUTPUT (0 is primary, 1 is secondary, default is 1) to the output
mode VALUE (128 is monitor, 1 is PAL TV, 2 is NTSC TV).

=item B<-p>

Display information about blanking.

=back

=head1 DESCRIPTION

Output Matrox card video to television. PAL 50Hz and NTSC 59.94Hz are
supported, Composite and S-Video output.

Contains two demo programs, normal and swapped. First selects CRTC1 on
first output and CRTC2 on second one. Swapped connects CRTC1 to
secondary head and CRTC2 to primary head. You can use these programs
if you need text mode or 8bpp mode on TV, as CRTC2 is incapable of
these modes.

In program call, If VALUE is specified, set the specified option to
VALUE. If VALUE is not specified, retrieve the value of the specified
option.

For technical information, see I<TV-out on the G450> at
<http://www.bglug.ca/matrox_tvout>. See also C<Matrox Marvel>
tips for G200, G400 at <http://marvel.sourceforge.net/>. Matrox
frame buffer headers at /usr/include/linux/matroxfb.h

=head1 ENVIRONMENT

None.

=head1 FILES

None.

=head1 SEE ALSO

directvnc(1) fbdev(4) fbgrab(1) fbset(1) fbterm(1) Xvfb(1)

=head1 AUTHORS

Program was written by Petr Vandrovec <vandrove@vc.cvut.cz>.

This manual page was written by Shaun Jackman <sjackman@debian.org>, for
the Debian GNU system (but may be used by others). Updated by Jari
Aalto <jari.aalto@cante.net>. Released under license GNU GPL v2 or (at
your option) any later version. For more information about license, visit
<http://www.gnu.org/copyleft/gpl.html>.

=cut
