Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Howto install displaylink drive with ubunut 10.04

  1. #1
    Join Date
    May 2009
    Beans
    58

    Howto install displaylink drive with ubunut 10.04

    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:
    Code:
     
    cd ~/Desktop
    mkdir kernel-2.6.34
    cd kernel-2.6.34
    for 32
    Code:
     
    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
    Code:
    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:
    Code:
    sudo apt-get -y install libusb-dev xorg-dev xserver-xorg-video-displaylink  git-core
    3- install libdlo
    Code:
    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
    Code:
    sudo gedit /etc/gdm/Init/Default
    add the following lines to the file /etc/gdm/Init/Default after the defintion of the gdmwhich() function.
    Code:
    XRANDR=`gdmwhich xrandr`
    if [ "x$XRANDR" != "x" ] ; then
        $XRANDR -o 0
    fi
    like this
    Code:
    gdmwhich () {
       ....
    }
            
    XRANDR=`gdmwhich xrandr`
    if [ "x$XRANDR" != "x" ] ; then
        $XRANDR -o 0
    fi
            
    sysresources=/etc/X11/Xresources
    5- Edit xorg.conf
    Code:
            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 enjoy 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
    Linux Kernel 2.6.34 installation guide for Ubuntu Linux 10.04 | Ramoonus.nl
    freedesktop.org DisplayLink Wiki - HowTo
    Noonday Blog Archive Linux USB video adapter
    Last edited by Face_Man; May 25th, 2010 at 07:21 PM.

  2. #2
    Join Date
    Jun 2010
    Beans
    9

    Question Re: Howto install displaylink drive with ubunut 10.04

    i somehow dont get this to work with my displaylink usb adapter and my tv as 2nd monitor...it only shows the starting screen on my tv and if i choose my tv as screen0, it doesnt use the right solution (so i dont have an taskbars) and i get a black screen on my laptop monitor

    ur post helped me alot, since i didnt even get the starting screen on my tv before, but it'd be nice if some1 could give me any further help

    here's my xorg.conf:
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # Note that some configuration settings that could be done previously
    # in this file, now are automatically configured by the server and settings
    # here are ignored.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    ############ Original Video Settings ###########

    Section "Device"
    Identifier "Configured Video Device"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    SubSection "Display"
    Depth 16
    Modes "1280x720"
    EndSubSection
    EndSection

    #################################################

    Section "ServerLayout"
    Identifier "Server Layout"
    Screen 0 "Default Screen" 0 0
    Screen 1 "DisplayLinkScreen" LeftOf "Default Screen"
    Option "Xinerama" "0" #Could not get this to work it has to be disable
    EndSection

    #################################################

    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

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

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

    Section "Monitor"
    Identifier "DisplayLinkMonitor"
    EndSection

    Section "Screen"
    Identifier "DisplayLinkScreen"
    Device "DisplayLinkDevice"
    Monitor "DisplayLinkMonitor"
    SubSection "Display"
    Depth 16
    Modes "1280x720"
    EndSubSection
    EndSection

    the solution 1280x720 is the solution that works with the adapter and my tv in windows 7

  3. #3
    Join Date
    May 2009
    Beans
    58

    Re: Howto install displaylink drive with ubunut 10.04

    well, there is not much you could find on web and if you compare the Mac and Windows drive to the Linux drive you will be shocked. maybe this is the best you can get for now, i am using the displaylink however i cannot move between my screen and there is no compositing manager.

    could u post the output of
    ls /dev/fb*

    also
    uname -r


    and make sure the xserver-xorg-video-displaylink package is install

    Quote Originally Posted by peterum View Post
    i somehow dont get this to work with my displaylink usb adapter and my tv as 2nd monitor...it only shows the starting screen on my tv and if i choose my tv as screen0, it doesnt use the right solution (so i dont have an taskbars) and i get a black screen on my laptop monitor

    ur post helped me alot, since i didnt even get the starting screen on my tv before, but it'd be nice if some1 could give me any further help

    here's my xorg.conf:



    the solution 1280x720 is the solution that works with the adapter and my tv in windows 7

  4. #4
    Join Date
    Jun 2010
    Beans
    9

    Re: Howto install displaylink drive with ubunut 10.04

    thx for the quick reply!

    output of ls /dev/fb*

    /dev/fb0
    output of uname -r:
    /dev/fb0
    the xserver-xorg-video-displaylink package is installed

  5. #5
    Join Date
    May 2009
    Beans
    58

    Re: Howto install displaylink drive with ubunut 10.04

    Quote Originally Posted by peterum View Post

    output of uname -r:
    the "uname -r" output should look like this :
    2.6.34-020634-generic

  6. #6
    Join Date
    Jun 2010
    Beans
    9

    Re: Howto install displaylink drive with ubunut 10.04

    lol, oops...c&p didnt work right...here's my uname -r

    2.6.34-020634-generic

  7. #7
    Join Date
    May 2009
    Beans
    58

    Re: Howto install displaylink drive with ubunut 10.04

    what is the output for

    lspci | grep VGA

  8. #8
    Join Date
    Jun 2010
    Beans
    9

    Re: Howto install displaylink drive with ubunut 10.04

    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    is it important to have my displaylink usb adapter plugged in when doing that?

  9. #9
    Join Date
    May 2009
    Beans
    58

    Re: Howto install displaylink drive with ubunut 10.04

    Quote Originally Posted by peterum View Post
    is it important to have my displaylink usb adapter plugged in when doing that?
    no

  10. #10
    Join Date
    May 2009
    Beans
    58

    Re: Howto install displaylink drive with ubunut 10.04

    Goto http://www.ubuntugeek.com/intel-grap...nty-users.html

    and install you driver and edit you xorg.conf file to use the driver.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •