我正在尝试通过 NFS 启动设置让显示器与 xorg 和运行 debian 的 LOGIC PD TI AM35X SOM-M2 系统配合使用。我连接的 LCD 触摸屏显示器显示为 /deb/fb0。
这是我的 /etc/X11/xorg.conf。
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
DefaultDepth 16
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "omapfb"
Option "fb" "/dev/fb0"
EndSection
当我运行 startx 时,我收到一些错误。这是我得到的输出。
root@bsom1:~# startx
hostname: Name or service not known
xauth: (stdin):1: bad display name "bsom1:0" in "add" command
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-rc9 armv5tel Debian
Current Operating System: Linux bsom1 2.6.37 #1 Wed Jun 8 15:44:29 EDT 2011 armv7l
Kernel command line: console=ttyO2,115200n8 ip=dhcp root=/dev/nfs nfsroot=10.211.80.90:/home/brichmond/workdir/opt/squeeze
Build Date: 19 February 2011 03:00:40PM
xorg-server 2:1.7.7-13 (Cyril Brulebois <[email protected]>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 3 21:56:11 2000
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) omapfb(0): Failed to open /dev/fb1: No such file or directory
(EE) omapfb(0): XVScreenInit failed
所以我注意到的第一件事是 x 试图打开 fb1 而不是 fb0。如果能解释为什么会发生这种情况以及如何解决此问题,我将不胜感激。