view TVout/matroxset/swapped @ 207:8626c23f4a47

Addes a -vm option, which when used together with -fs and -vo x11 will use the XF86VidMode code as added to vo_x11.c. If -fs is not specified, or if using another output driver, this code does not affect the program operation. Added by mgraffam
author mgraffam
date Sat, 24 Mar 2001 21:34:08 +0000
parents 3b5f5d1c5041
children
line wrap: on
line source

#! /bin/sh

if [ -c /dev/fb0 ]; then
  HEAD0=/dev/fb0
  HEAD1=/dev/fb1
else
  HEAD0=/dev/fb/0
  HEAD1=/dev/fb/1
fi
matroxset -f ${HEAD1} -m 0
matroxset -f ${HEAD0} -m 2
matroxset -f ${HEAD1} -m 1