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:
for 32Code:cd ~/Desktop mkdir kernel-2.6.34 cd kernel-2.6.34
for 64Code: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
2- install DependenciesCode: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
open Terminal:
3- install libdloCode:sudo apt-get -y install libusb-dev xorg-dev xserver-xorg-video-displaylink git-core
4- Edit /etc/gdm/Init/DefaultCode: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
add the following lines to the file /etc/gdm/Init/Default after the defintion of the gdmwhich() function.Code:sudo gedit /etc/gdm/Init/Default
like thisCode:XRANDR=`gdmwhich xrandr` if [ "x$XRANDR" != "x" ] ; then $XRANDR -o 0 fi
5- Edit xorg.confCode:gdmwhich () { .... } XRANDR=`gdmwhich xrandr` if [ "x$XRANDR" != "x" ] ; then $XRANDR -o 0 fi sysresources=/etc/X11/Xresources
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
Bookmarks