Ubuntu – How to configure a displaylink USB monitor


I have seen many pieces but not a comprehensive guide to fix what must be a very common problem, particularly in Ubuntu 11.10 where there is no xorg.conf file. Is there an easy how-to somewhere (for Linux newbies like me)to get this done. The other pieces I've seen require a fair amount of Linux ability to make them work. Even better would be to make Ubuntu automatically detect these types of monitors.

I have a green screen and the drivers installed. I just can't see a picture on my Doublesight USB monitor. Any help would be appreciated.

Best Answer

This may help you get it going.

Displaylink Doublesight DS-90U monitor working

1) Install dependencies required to build displaylink X server...

apt-get install xinit xserver-xorg xserver-xorg-dev xfonts-base libusb-dev xorg-dev git-core build-essential

2) Downloaded and fixed source for xserver-xorg-video-displaylink from Launchpad and extract the source code.

tar xvfz xserver-xorg-video-displaylink_0.3.orig.tar.gz
cd xf86-video-displaylink

Edit src/displaylink.c

gedit src/displaylink.c

#command line
nano src/displaylink.c

comment (add a # to the front) out the following lines...

//#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);`

3) build and install

./configure && make && make install
sudo cp  /usr/local/lib/xorg/modules/drivers/displaylink_drv.so /usr/lib/xorg/modules/drivers/

4) create /etc/X11/xorg.conf

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

5) Plug in the Displaylink monitor into a USB port (screen should go green)

6) Reboot or restart X



Related Question