这可能是问这个问题的最远距离的问答场所,但我已经尝试了我能想到的所有其他合理和/或明显的来源,但没有运气。
我正在使用 BeagleBone Black 和 Raspberry Pi。
我正在使用摩托罗拉 Bionic Lapdock 连接到任一设备,因为我认为这更容易,然后必须连接单独的完整显示器、键盘和鼠标。
首先是 RPi:没有任何形式的疯狂配置,当我将 RPi 连接到扩展坞时,它会识别扩展坞的 1366 x 768 分辨率,并且 CLI 和 lxde GUI 都以正确的分辨率运行。
-然而-
对于 BBB:连接时,它无法以相同的方式识别显示器,并且 CLI 和 OpenBox GUI 都停留在 700x568(我可能对那个数字有点偏离)分辨率。
我已经阅读了编辑 xorg.conf 和“xrandr”命令能够执行的不同功能。当我尝试
xrandr -q
我得到一个回应,它无法检测到伽马输出的东西,然后是最小、当前和最大分辨率。我知道 lapdock 能够达到 1366x768,但它说最大是 700x568 ......
我的 /etc/X11 文件夹没有生成 xorg.conf 文件,我不想只是开始尝试制作一个并将事情搞砸。
所以,我的问题是:
对我来说,强制正确解决方案的最佳途径是什么?
对于 CLI,我不确定分辨率是否与它有关,但我希望文本更小,因为它会在更高分辨率的环境中。至于 Openbox GUI,我希望将其设置为显示器支持的 1366x768。
更新:我试图运行:
sudo Xorg -configure
它没有告诉我没有检测到显示器。我还想也许我会检查我的 Raspberry Pi 的 Raspbian Distro 上的 xorg.conf 文件(看看那里的分辨率和东西是如何检测到的),但遗憾的是 X11 文件夹没有 xorg.conf 文件;但是,它似乎确实有其他与 X 服务器相关的文件不在我的 Ubuntu 发行版上。另外,我尝试发出命令:
xrandr -q
在我的 Raspberry Pi 上,但它报告它“无法打开显示”。因此,我在这一点上的结论是,我可以强制 CLI 和 GUI 的分辨率和/或字体,而无需操作系统准确识别显示器是什么,但我不明白我可以复制或查找什么导致它在 Ubuntu 发行版无法正常工作的 Raspbian 发行版。
谢谢你的帮助。
作为一个更新的附加问题,我想知道是否有我可能需要但我没有的驱动程序?是否有任何其他可能没有库存的通用驱动程序可供我下载?我不知道摩托罗拉 Bionic Lapdock 需要任何专有驱动程序,因此,如果有人对检查或下载的驱动程序有任何想法,也会有所帮助。
这里还有另一个补充:我运行了另一个论坛上推荐的以下命令,以在启动 X 会话时检查 edid 信息和输出。
X -verbose 6 > ~/xlog.txt 2>&1
我希望也许有这方面经验的人可以阅读以下输出,看看他们是否能弄清楚我需要做什么。
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-1426-omap4 armv7l Ubuntu
Current Operating System: Linux BBB 3.8.13-bone20 #1 SMP Wed May 29 10:49:26 UTC 2013 armv7l
Kernel command line: console=ttyO0,115200n8 fixrtc root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc
Build Date: 11 April 2013 01:10:51PM
xorg-server 2:1.11.4-0ubuntu10.13 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.24.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: Fri Sep 27 18:37:40 2013
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section. Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) | |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
(==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0xb6fa8d00
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 11.0
X.Org XInput driver : 16.0
X.Org Server Extension : 6.0
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 6.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 6.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
ABI class: X.Org Server Extension, version 6.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 6.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
ABI class: X.Org Server Extension, version 6.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.2.0
ABI class: X.Org Server Extension, version 6.0
(II) Loading extension DRI2
(==) Matched pvr as autoconfigured driver 0
(==) Matched fbdev as autoconfigured driver 1
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "pvr"
(WW) Warning, couldn't open module pvr
(II) UnloadModule: "pvr"
(II) Unloading pvr
(EE) Failed to load module "pvr" (module does not exist, 0)
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 0.4.2
ABI class: X.Org Video Driver, version 11.0
(==) Matched pvr as autoconfigured driver 0
(==) Matched fbdev as autoconfigured driver 1
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "pvr"
(WW) Warning, couldn't open module pvr
(II) UnloadModule: "pvr"
(II) Unloading pvr
(EE) Failed to load module "pvr" (module does not exist, 0)
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 0.4.2
ABI class: X.Org Video Driver, version 11.0
(II) UnloadModule: "fbdev"
(II) Unloading fbdev
(II) Failed to load module "fbdev" (already loaded, 0)
(II) FBDEV: driver for framebuffer: fbdev
(--) using VT number 8
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 0.0.2
ABI class: X.Org Video Driver, version 11.0
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) FBDEV(0): using default device
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 16/16
(==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
(==) FBDEV(0): RGB weight 565
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: (video memory: 810kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 720x576 (pitch 720)
(**) FBDEV(0): Built-in mode "current"
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.1.0
ABI class: X.Org ANSI C Emulation, version 0.4
(==) FBDEV(0): Backing store disabled
(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
(==) FBDEV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) XKB: generating xkmfile /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
(II) XKB: Reusing cached keymap
(II) config/udev: Adding input device tps65217_pwr_but (/dev/input/event0)
(**) tps65217_pwr_but: Applying InputClass "evdev keyboard catchall"
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 2.7.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 16.0
(II) Using input driver 'evdev' for 'tps65217_pwr_but'
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
Option "XkbRules" "evdev"
Option "xkb_model" "pc105"
Option "xkb_layout" "us"
Option "_source" "server/udev"
Option "name" "tps65217_pwr_but"
Option "path" "/dev/input/event0"
Option "device" "/dev/input/event0"
Option "config_info" "udev:/sys/devices/ocp.2/44e0b000.i2c/i2c-0/0-0024/input/input0/event0"
Option "driver" "evdev"
(**) tps65217_pwr_but: always reports core events
(**) evdev: tps65217_pwr_but: Device: "/dev/input/event0"
(--) evdev: tps65217_pwr_but: Vendor 0 Product 0
(--) evdev: tps65217_pwr_but: Found keys
(II) evdev: tps65217_pwr_but: Configuring as keyboard
(**) Option "config_info" "udev:/sys/devices/ocp.2/44e0b000.i2c/i2c-0/0-0024/input/input0/event0"
(II) XINPUT: Adding extended input device "tps65217_pwr_but" (type: KEYBOARD, id 6)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) XKB: Reusing cached keymap
(II) config/udev: Adding input device Motorola Mobility Motorola HD Dock (/dev/input/event1)
(**) Motorola Mobility Motorola HD Dock: Applying InputClass "evdev keyboard catchall"
(II) Using input driver 'evdev' for 'Motorola Mobility Motorola HD Dock'
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
Option "XkbRules" "evdev"
Option "xkb_model" "pc105"
Option "xkb_layout" "us"
Option "_source" "server/udev"
Option "name" "Motorola Mobility Motorola HD Dock"
Option "path" "/dev/input/event1"
Option "device" "/dev/input/event1"
Option "config_info" "udev:/sys/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input1/event1"
Option "driver" "evdev"
(**) Motorola Mobility Motorola HD Dock: always reports core events
(**) evdev: Motorola Mobility Motorola HD Dock: Device: "/dev/input/event1"
(--) evdev: Motorola Mobility Motorola HD Dock: absolute axis 0x20 [548..0]
(--) evdev: Motorola Mobility Motorola HD Dock: Vendor 0x22b8 Product 0x938
(--) evdev: Motorola Mobility Motorola HD Dock: Found 1 mouse buttons
(--) evdev: Motorola Mobility Motorola HD Dock: Found absolute axes
(II) evdev: Motorola Mobility Motorola HD Dock: Forcing absolute x/y axes to exist.
(--) evdev: Motorola Mobility Motorola HD Dock: Found keys
(II) evdev: Motorola Mobility Motorola HD Dock: Configuring as mouse
(II) evdev: Motorola Mobility Motorola HD Dock: Configuring as keyboard
(**) evdev: Motorola Mobility Motorola HD Dock: YAxisMapping: buttons 4 and 5
(**) evdev: Motorola Mobility Motorola HD Dock: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(**) Option "config_info" "udev:/sys/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input1/event1"
(II) XINPUT: Adding extended input device "Motorola Mobility Motorola HD Dock" (type: KEYBOARD, id 7)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) XKB: Reusing cached keymap
(II) evdev: Motorola Mobility Motorola HD Dock: initialized for absolute axes.
(**) Motorola Mobility Motorola HD Dock: (accel) keeping acceleration scheme 1
(**) Motorola Mobility Motorola HD Dock: (accel) acceleration profile 0
(**) Motorola Mobility Motorola HD Dock: (accel) acceleration factor: 2.000
(**) Motorola Mobility Motorola HD Dock: (accel) acceleration threshold: 4
(II) config/udev: Adding input device Motorola USB keyboard [us basic] (/dev/input/event2)
(**) Motorola USB keyboard [us basic]: Applying InputClass "evdev keyboard catchall"
(II) Using input driver 'evdev' for 'Motorola USB keyboard [us basic]'
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
Option "XkbRules" "evdev"
Option "xkb_model" "pc105"
Option "xkb_layout" "us"
Option "_source" "server/udev"
Option "name" "Motorola USB keyboard [us basic]"
Option "path" "/dev/input/event2"
Option "device" "/dev/input/event2"
Option "config_info" "udev:/sys/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/input/input2/event2"
Option "driver" "evdev"
(**) Motorola USB keyboard [us basic]: always reports core events
(**) evdev: Motorola USB keyboard [us basic]: Device: "/dev/input/event2"
(--) evdev: Motorola USB keyboard [us basic]: Vendor 0x22b8 Product 0x93a
(--) evdev: Motorola USB keyboard [us basic]: Found keys
(II) evdev: Motorola USB keyboard [us basic]: Configuring as keyboard
(**) Option "config_info" "udev:/sys/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/input/input2/event2"
(II) XINPUT: Adding extended input device "Motorola USB keyboard [us basic]" (type: KEYBOARD, id 8)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) XKB: Reusing cached keymap
(II) config/udev: Adding input device Motorola USB keyboard [us basic] (/dev/input/event3)
(**) Motorola USB keyboard [us basic]: Applying InputClass "evdev pointer catchall"
(**) Motorola USB keyboard [us basic]: Applying InputClass "evdev keyboard catchall"
(II) Using input driver 'evdev' for 'Motorola USB keyboard [us basic]'
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
Option "XkbRules" "evdev"
Option "xkb_model" "pc105"
Option "xkb_layout" "us"
Option "_source" "server/udev"
Option "name" "Motorola USB keyboard [us basic]"
Option "path" "/dev/input/event3"
Option "device" "/dev/input/event3"
Option "config_info" "udev:/sys/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.1/input/input3/event3"
Option "driver" "evdev"
(**) Motorola USB keyboard [us basic]: always reports core events
(**) evdev: Motorola USB keyboard [us basic]: Device: "/dev/input/event3"
(--) evdev: Motorola USB keyboard [us basic]: Vendor 0x22b8 Product 0x93a
(--) evdev: Motorola USB keyboard [us basic]: Found 9 mouse buttons
(--) evdev: Motorola USB keyboard [us basic]: Found scroll wheel(s)
(--) evdev: Motorola USB keyboard [us basic]: Found relative axes
(--) evdev: Motorola USB keyboard [us basic]: Found x and y relative axes
(--) evdev: Motorola USB keyboard [us basic]: Found keys
(II) evdev: Motorola USB keyboard [us basic]: Configuring as mouse
(II) evdev: Motorola USB keyboard [us basic]: Configuring as keyboard
(II) evdev: Motorola USB keyboard [us basic]: Adding scrollwheel support
(**) evdev: Motorola USB keyboard [us basic]: YAxisMapping: buttons 4 and 5
(**) evdev: Motorola USB keyboard [us basic]: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(**) Option "config_info" "udev:/sys/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.1/input/input3/event3"
(II) XINPUT: Adding extended input device "Motorola USB keyboard [us basic]" (type: KEYBOARD, id 9)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) XKB: Reusing cached keymap
(II) evdev: Motorola USB keyboard [us basic]: initialized for relative axes.
(**) Motorola USB keyboard [us basic]: (accel) keeping acceleration scheme 1
(**) Motorola USB keyboard [us basic]: (accel) acceleration profile 0
(**) Motorola USB keyboard [us basic]: (accel) acceleration factor: 2.000
(**) Motorola USB keyboard [us basic]: (accel) acceleration threshold: 4
(II) config/udev: Adding input device Motorola USB keyboard [us basic] (/dev/input/mouse0)
(II) No input driver specified, ignoring this device.
(II) This device may have been added with another device file.
(II) evdev: Motorola USB keyboard [us basic]: Close
(II) UnloadModule: "evdev"
(II) Unloading evdev
(II) evdev: Motorola USB keyboard [us basic]: Close
(II) UnloadModule: "evdev"
(II) Unloading evdev
(II) evdev: Motorola Mobility Motorola HD Dock: Close
(II) UnloadModule: "evdev"
(II) Unloading evdev
(II) evdev: tps65217_pwr_but: Close
(II) UnloadModule: "evdev"
(II) Unloading evdev
ddxSigGiveUp: Closing log
Server terminated successfully (0). Closing log file.