如何配置 displaylink USB 显示器?

Ste*_*son 6 displaylink usb 11.10 monitor

我看过很多文章,但没有一个全面的指南来解决一个非常常见的问题,特别是在没有 xorg.conf 文件的 Ubuntu 11.10 中。是否有一个简单的操作方法(对于像我这样的 Linux 新手)来完成这项工作。我见过的其他部分需要相当数量的 Linux 能力才能使它们工作。更好的是让 Ubuntu 自动检测这些类型的监视器。

我有一个绿屏并安装了驱动程序。我只是在 Doublesight USB 显示器上看不到图片。任何帮助,将不胜感激。

Rin*_*ail 5

这可能会帮助您实现目标。

Displaylink Doublesight DS-90U 显示器工作

1) 安装构建 displaylink X 服务器所需的依赖项...

apt-get install xinit xserver-xorg xserver-xorg-dev xfonts-base libusb-dev xorg-dev git-core build-essential
Run Code Online (Sandbox Code Playgroud)

2) 从Launchpad下载并修复 xserver-xorg-video-displaylink的源代码并提取源代码。

tar xvfz xserver-xorg-video-displaylink_0.3.orig.tar.gz
cd xf86-video-displaylink
Run Code Online (Sandbox Code Playgroud)

编辑 src/displaylink.c

#graphical
gedit src/displaylink.c

#command line
nano src/displaylink.c
Run Code Online (Sandbox Code Playgroud)

注释(在前面添加一个#)出以下几行...

//#include "xf86Resources.h"
//#include "xf86RAC.h"
//      pScrn->racMemFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT;
//      pScrn->racIoFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT;
//      xf86CrtcScreenInit (pScreen);`
Run Code Online (Sandbox Code Playgroud)

3)构建和安装

./configure && make && make install
sudo cp  /usr/local/lib/xorg/modules/drivers/displaylink_drv.so /usr/lib/xorg/modules/drivers/
Run Code Online (Sandbox Code Playgroud)

4)创建/etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen         0  "DisplayLinkScreen" 0 0
EndSection
Section "Device"
    Identifier  "DisplayLinkDevice"
    Driver      "displaylink"
    Option      "fbdev" "/dev/fb0"
EndSection
Section "Monitor"
    Identifier  "DisplayLinkMonitor"
    # DS-90U is 1024x600 9-inch monitor - remove or change the DisplaySize for other devices
    DisplaySize  190 115
EndSection
Section "Screen"
    Identifier  "DisplayLinkScreen"
    Device      "DisplayLinkDevice"
    Monitor     "DisplayLinkMonitor"
EndSection
Run Code Online (Sandbox Code Playgroud)

5) 将 Displaylink 显示器插入 USB 端口(屏幕应变为绿色)

6) 重启或重启 X

来源

指示