关于xvr1000双屏
他有两个板子,分为A,B。
A板有13W3
B板有活动HD15 S-VIDEO DVI-D
装好驱动之后,boot -r 默认是13W3的单屏输出。
单XVR100双屏:
只能在13W3与其他三个口选择
双屏有两种情况,一种是A双显示器单屏,一种是B双显示器双屏。
A:
# fbconfig -dev gfb0 -doublewide enable
打开双倍显示模式
# fbconfig -dev gfb0 -stream b -port hd15
激活B板的HD15端口
不修改Xservers文件
B:
# fbconfig -dev gfb0 -doublewide disable
默认是这样,如没有enable过,则不用这条命令。
# fbconfig -dev gfb0 -stream b -port hd15
激活B板的HD15端口
修改Xservers文件
:0 Local local_uid@console root /usr/openwin/bin/Xsun -dev /dev/fbs/gfb0a -dev /dev/fbs/gfb0b
双XVR100双屏:
修改Xservers文件
:0 Local local_uid@console root /usr/openwin/bin/Xsun -dev /dev/fbs/gfb0 -dev /dev/fbs/gfb1
注:
1 # fbconfig -list
Device-Filename Specific Config Program
--------------- -----------------------
/dev/fbs/afb0 not configurable
/dev/fbs/gfb0 SUNWgfb_config
/dev/fbs/gfb0a SUNWgfb_config
/dev/fbs/gfb0b SUNWgfb_config
看到可用设备
2 在/dev下
#ls -l fb*
lrwxrwxrwx 1 root root 39 Nov 5 11:39 fb ->; /devices/upa@8,480000/SUNW,gfb@0,0:gfb0
lrwxrwxrwx 1 root root 8 Nov 4 12:24 fb0 ->; fbs/afb0
lrwxrwxrwx 1 root root 8 Nov 5 10:46 fb1 ->; fbs/gfb0
lrwxrwxrwx 1 root root 9 Nov 5 10:46 fb2 ->; fbs/gfb0a
lrwxrwxrwx 1 root root 9 Nov 5 10:46 fb3 ->; fbs/gfb0b
fbs:
total 8
lrwxrwxrwx 1 root root 44 Nov 4 12:24 afb0 ->; ../../devices/upa@8,480000/SUNW,afb@0,0:afb0
lrwxrwxrwx 1 root root 44 Nov 5 10:46 gfb0 ->; ../../devices/upa@8,480000/SUNW,gfb@0,0:gfb0
lrwxrwxrwx 1 root root 45 Nov 5 10:46 gfb0a ->; ../../devices/upa@8,480000/SUNW,gfb@0,0:gfb0a
lrwxrwxrwx 1 root root 45 Nov 5 10:46 gfb0b ->; ../../devices/upa@8,480000/SUNW,gfb@0,0:gfb0b
可以看到以上内容,得到gfb0等设备的路径,在编辑Xservers是要写清全路径/dev/fbs/gfb0a
3 单XVR1000只能配双屏,所以如果有一个输出,就是gfb0,有两个输出,第一个是gfb0a,第二个就是gfb0b。
4 关于分辨率
#fbconfig -res \?
可以查看可用的分辨率
#fbconfig -dev gfb0(gfb0a) -res SUNW_STD_1152x900x76
配置分辨率为1152x900在76HZ。
5 单用B板的hd15输出
#fbconfig -dev gfb0 -doublewide disable
#fbconfig -dev gfb0 -active b
#fbconfig -dev gfb0 -stream b -port hd15