[Libdlo] Howto install displaylink drive with ubunut 10.04

Face Man solo9300 at hotmail.com
Tue May 25 11:24:27 PDT 2010


well,    i  really had problem getting my USB Display Adapter (Kensington Universal Multi-Display Adapter )   to work and i hope this could help others.        Installation Guide        1- update your linux kernel to linux kernel 2.6.34        open Terminal:            cd ~/Desktop            mkdir kernel-2.6.34            cd kernel-2.6.34                        for 32                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb		dpkg -i linux-headers-2.6.34-020634_2.6.34-020634_all.deb
 		wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb		dpkg -i linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb
 		wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb		dpkg -i linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb                        for 64                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb		dpkg -i linux-headers-2.6.34-020634_2.6.34-020634_all.deb
 		wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb		dpkg -i linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb
 		wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb		dpkg -i linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb                    2- install Dependencies        open Terminal:            sudo apt-get -y install libusb-dev xorg-dev xserver-xorg-video-displaylink  git-core        3- install libdlo        cd ~/Desktop        mkdir libdlo        cd libdlo        wget http://people.freedesktop.org/~berniet/libdlo-0.1.2.tar.gz  	tar -xzpf libdlo-0.1.2.tar.gz        cd  libdlo-0.1.2	./configure && sudo  make install        4- Edit /etc/gdm/Init/Default        sudo gedit /etc/gdm/Init/Default        add the following lines to the file /etc/gdm/Init/Default after the defintion of the gdmwhich() function.                XRANDR=`gdmwhich xrandr`        if [ "x$XRANDR" != "x" ] ; then            $XRANDR -o 0        fi                like  this        gdmwhich () {            ....        }                XRANDR=`gdmwhich xrandr`        if [ "x$XRANDR" != "x" ] ; then           $XRANDR -o 0        fi                sysresources=/etc/X11/Xresources            5- Edit xorg.conf        Section "ServerLayout"            Identifier     "Layout0"            Screen      0  "DisplayLinkScreen"  0 0            Screen  	1  "Screen0" RightOf "DisplayLinkScreen"            InputDevice    "Keyboard0" "CoreKeyboard"            InputDevice    "Mouse0" "CorePointer"            Option	    "Xinerama" "0" #Could not get this to work it has to be disable        EndSection                    ##################################################{Files and Modules        Section "Files"            ModulePath      "/usr/local/lib/xorg/modules/drivers"            ModulePath      "/usr/lib/xorg/modules"            ModulePath      "/usr/lib/xorg/modules/drivers"            ModulePath      "/usr/local/lib"        EndSection                ##################################################}                    ##################################################{Input Devices        Section "InputDevice"            Identifier     "Mouse0"            Driver         "mouse"            Option         "Protocol" "auto"            Option         "Device" "/dev/psaux"            Option         "Emulate3Buttons" "no"            Option         "ZAxisMapping" "4 5"        EndSection                    Section "InputDevice"            Identifier     "Keyboard0"            Driver         "kbd"        EndSection        ##################################################{                    ##################################################{Default Device        Section "Monitor"            Identifier     "Monitor0"            VendorName     "Unknown"            ModelName      "Unknown"            HorizSync       28.0 - 33.0            VertRefresh     43.0 - 72.0            Option         "DPMS"        EndSection        Section "Device"            Identifier      "Device0" # use "lspci | grep VGA" to get your Device info            Driver          "nvidia"            VendorName      "NVIDIA Corporation"            Option          "NoLogo"	"True"        EndSection        Section "Screen"            Identifier     "Screen0"            Device         "Device0"            Monitor        "Monitor0"            DefaultDepth    24            SubSection     "Display"                Depth       24                Modes       "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1440x900" "1366x768" "1280x1024" "1280x960" "1280x800"  "1280x768"  "1152x864" "1024x768" "800x600" "640x480"             EndSubSection        EndSection        ##################################################{                ##################################################{DisplayLink        Section "Monitor"            Identifier     "DisplayLinkMonitor"        EndSection        Section "Device"            Identifier  "DisplayLinkDevice"            Driver		"displaylink"            Option  	"fbdev" "/dev/fb0"        EndSection        Section "Screen"            Identifier      "DisplayLinkScreen"            Device          "DisplayLinkDevice"            Monitor         "DisplayLinkMonitor"            SubSection "Display"                Depth       24                Modes       "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1440x900" "1366x768" "1280x1024" "1280x960" "1280x800"  "1280x768"  "1152x864" "1024x768" "800x600" "640x480"             EndSubSection        EndSection        ##################################################{

    reboot and injoy your USB graphic card :).        with updating to the new linux kernel i was able to get the maximum screen resolution for my USB graphic card (1920x1080).    However, I could not get compiz to work, therefore if anyone get compiz to work Plz post how its done.
    References        <a href='http://www.ramoonus.nl/2010/05/19/linux-kernel-2-6-34-installation-guide-for-ubuntu-linux-10-04/'>Linux Kernel 2.6.34 installation guide for Ubuntu Linux 10.04 | Ramoonus.nl</a>        <a href='http://libdlo.freedesktop.org/wiki/HowTo'>freedesktop.org DisplayLink Wiki - HowTo</a>        <a href='http://blogg.noonday.se/2010/01/28/linux-usb-video-adapter/'>Noonday Blog Archive Linux USB video adapter</a> 		 	   		  


More information about the Libdlo mailing list