如何使用DisplayLink显示器?


9

我正在尝试通过DisplayLink USB适配器将外接显示器连接到笔记本电脑。当我插入USB电缆时,屏幕变为亮绿色。这显然表明udflib displaylink驱动程序已安装,并且已检测到USB驱动程序(根据http://libdlo.freedesktop.org/wiki/displaylink-mod)。

我已经阅读了有关如何使用ubuntu配置displaylink的所有说明,都涉及手动编辑xorg.conf文件,但似乎带有Unity的Ubuntu 11.04处理xorg.conf的方式有所不同。据我所知,它要么不使用它,要么将其放置在其他位置。

有谁能够在11.04上使用Displaylink驱动的显示器?


这可能值得一看:support.displaylink.com/knowledgebase/articles/683482 “现已提供对Ubuntu的DisplayLink支持”。通过support.displaylink.com/forums/...
蒂姆·阿贝尔

Answers:


5

该答案适用于具有ATI radeon图形卡的Ubuntu 11.04和Diamond DisplayLink BVU-195 USB显示适配器。

我终于让它适用于三台显示器。我有一个ATI radeon卡,它带有1个DVI和2个DisplayPort输出(但一次只能使用两个)和1个Diamond DisplayLink BVU 195 USB适配器。

您必须安装displaylink驱动程序。然后,您必须编写自己的xorg.conf文件。

sudo apt-get install xserver-xorg-video-displaylink

这是三个关键点。

  1. 我希望能够在显示器之间移动窗口。这意味着我不能使用xrandr。相反,我必须启用称为Xinerama的功能。如果使用默认的“ xrandr”选项,则只有鼠标光标可以在显示之间移动,而程序则不能。不是很有用!因此,Xinerama是必需品。

  2. 在配置ATI radeon驱动程序时,除非您指定“ ZaphodHeads”选项,否则显示将被克隆为在使用的两个监视器之间进行克隆。卡上的有效选项是“ DVI-0”和“ DisplayPort-0”或“ DisplayPort-1”。

  3. 您必须将所有监视器配置为16位。如果您坚持使用默认的24位,则X服务器将崩溃。

  4. 如果在启动时插入了USB监视器,则只会出现黑屏。我必须在拔下电源的情况下进行引导,将其插入,然后仅在USB屏幕变为绿色时登录。

这是我的xorg.conf,我将其放在/etc/X11/xorg.conf中。USB displaylink监视器是Screen0,连接到ATI卡的DVI监视器是Screen1,并且也通过适配器连接到ATI卡的DisplayPort监视器是Screen2。

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen       0 "Screen0" 0 0
    Screen       1 "Screen1" RightOf "Screen0"
    Screen       2 "Screen2" RightOf "Screen1"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "Xinerama" "on"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "dri"
    Load  "record"
    Load  "extmod"
    Load  "dri2"
    Load  "dbe"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor2"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier      "DisplayLinkDevice"
        driver          "displaylink"
        Option  "fbdev" "/dev/fb1"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Screen 0
    Option "ZaphodHeads" "DVI-0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Screen 1
    Option "ZaphodHeads" "DisplayPort-1"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "DisplayLinkDevice"
    Monitor    "Monitor2"
    DefaultDepth 16
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 16
EndSection

Section "Screen"
    Identifier "Screen2"
    Device     "Card1"
    Monitor    "Monitor1"
    DefaultDepth 16
EndSection

1

我在装有Intel GPU的笔记本电脑上使用Natty进行工作。Xinerama必须关闭,并且displaylink必须是主屏幕,否则驱动程序将在启动时卸载。英特尔驱动了两个屏幕,而显示链接是第三个。

我说我做了“某事”是因为我只有2D(没有Unity),而且更重要的是,我无法在displaylink屏幕和其他屏幕之间移动鼠标(无论它是从哪个屏幕开始的,它都被卡住了)。我的菜单和所有内容仍在笔记本电脑的屏幕上。

如果您使用/etc/X11/xorg.conf文件,则可以使用Natty,这只是在大多数情况下它不需要它,因为X如今自动检测到很多东西。这是在我的:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen         "DisplayLinkScreen"
    Screen         "Screen0" LeftOf "Screen0"
EndSection

Section "Monitor"                                                       
    Identifier "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 73.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    VendorName     "onboard"
    BusID          "PCI:00:02:0"
EndSection

Section "Screen"
    Identifier     "Screen0"   
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


############### DisplayLink Stuff ###############

Section "Device"
        Identifier      "DisplayLinkDevice"
        driver          "displaylink"
        Option  "fbdev" "/dev/fb1"
EndSection

Section "Monitor"
        Identifier      "DisplayLinkMonitor"
EndSection

Section "Screen"
        Identifier      "DisplayLinkScreen"
    Device          "DisplayLinkDevice"
        Monitor         "DisplayLinkMonitor"
        SubSection "Display"
                Depth   24
                Modes   "1680x1050"
        EndSubSection
EndSection

1

通过将52-displaylink.conf文件放入,可以使DisplayLink连接的显示器正常工作/usr/share/X11/xorg.conf.d。但是X仅在DisplayLink连接的监视器上运行。直接连接的监视器显示所有引导和关闭消息。我想同时使用两个显示器(如果可用),以及不使用DisplayLink显示器的附加显示器。

我的52-displaylink.conf文件:

Section "Device"
Identifier "DisplayLinkDevice"
driver "displaylink"
Option "fbdev" "/dev/fb0" # or /dev/fb1 depending on the results of dmesg
EndSection

Section "Monitor"
Identifier "DisplayLinkMonitor"
EndSection

Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
SubSection "Display"
Depth 24<br>
Modes "1920x1080"
EndSubSection
EndSection

0

尝试相同,在我看来,Natty至少忽略了/usr/share/X11/xorg.conf.d/中的其他conf.file,例如我的/usr/share/X11/xorg.conf.d/10-monitor。我为displaylink创建的conf-适用于10.10。


您可以在此处还是其他位置上传10-monitor.conf文件?我现在想让我的DisplayLink呆一会儿,我准备回到10.10使其在服务器上正常工作。
jfmessier 2011年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.