• Home
  • Contact US
  • Sitemap

AlDimna Blogs is a 360 degree look at the goings-on within AlDimna community, including news, opinions, events, tips tricks and more.

AlDimna Blogs

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
			
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 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

Faisal Alazemi


Bernie, Thanks for pointing this I really wasn't sure about Step 3. However,
i Kept it just in case and now after someone has cleared that I removed Step 3.
Add comments