** ubuntu 11.04 < Thinkpad X61 + DisplayLink (Lenovo DVI to USB) = Dual Monitor with DVI port

( updated on 8th March 2012 )

* required hardware

    - Lenovo DVI to USB
    : P/N =
    : thinkpad X61 does not have any DVI port even ultarbase

* pre-installed

    - sudo apt-get install libusb-dev xorg-dev

    - libdlo > check where modules install to
    : git clone http://cgit.freedesktop.org/libdlo/
    : make && sudo make install

    - udlfb > check where modules install to
    : git clone http://git.plugable.com/webdav/udlfb
    : make && sudo make install
    
    - xf-video-udlfb > check where modules install to
    : git clone http://git.plugable.com/webdav/xf-video-udlfb
    : make && sudo make install
    
    - sudo apt-get install xserver-xorg-video-displaylink ( only need this !!! )



    
* check

    -1 connecting dvi-to-usb
    : dmesg | grep udlfb
[   19.416436] usbcore: registered new interface driver udlfb
[   19.838254] udlfb: USB disconnect starting
[   19.838651] udlfb: fb_info for /dev/fb1 has been freed
[   19.838653] udlfb: Waiting for completes and freeing all render urbs
[   19.838827] udlfb: freeing dlfb_data ffff8801100f1000
[   22.303592] udlfb: DisplayLink M01061 - serial #000000000000614
[   22.303596] udlfb: vid_17e9&pid_01e2&rev_0001 driver's dlfb_data struct at ffff880116380000
[   22.303598] udlfb: console enable=0
[   22.303599] udlfb: fb_defio enable=0
[   22.303784] udlfb: vendor descriptor length:22 data:22 5f 01 0020 05 00 01 03 00 04
[   22.303787] udlfb: DL chip limited to 2360000 pixel modes
[   22.303866] udlfb: allocated 4 65024 byte urbs
[   22.384004] udlfb: 2048x1152 valid mode
[   22.384009] udlfb: 720x400 valid mode
[   22.384012] udlfb: 640x480 valid mode
[   22.384015] udlfb: 640x480 valid mode
[   22.384018] udlfb: 800x600 valid mode
[   22.384021] udlfb: 800x600 valid mode
[   22.384025] udlfb: 1024x768 valid mode
[   22.384028] udlfb: 1024x768 valid mode
[   22.384032] udlfb: 1280x1024 valid mode
[   22.384035] udlfb: 1152x864 valid mode
[   22.384038] udlfb: 1280x1024 valid mode
[   22.384041] udlfb: 1680x1680 beyond chip capabilities
[   22.384045] udlfb: Reallocating framebuffer. Addresses will change!
[   22.386882] udlfb: 2048x1152 valid mode
[   22.386887] udlfb: set_par mode 2048x1152
[   22.396265] udlfb: DisplayLink USB device /dev/fb1 attached. 2048x1152 resolution. Using 9216K framebuffer memory
       
    -2 green screen
    : after attache dvi-to-usb, the screen is green
    
    - under ~/libdlo/test
    : wheather you can check dvi-to-usb is working or not
    
* Xorg.conf = /usr/shara/X11/xorg.conf.d/10-monitor.conf

    - 10-monitor.conf is better than /etc/xorg.conf
    : do not need to think about any input device
    
    - /usr/shara/X11/xorg.conf.d/10-monitor.conf
### /usr/share/xorg.conf.d/10-monitor.conf For X61 with DispalyLink DVI to USB ###

Section "ServerLayout"
    Identifier    "Multiple screen"
    Screen         "DisplayLink"
    Screen        "X61" RightOf "DisplayLink"
    Option        "Xinerama"  "On"
    Option      "Clone"     "Off"
EndSection

Section "Files"
    ModulePath  "/usr/lib/xorg/modules"
    ModulePath  "/usr/lib/xorg/modules/drivers"
    ModulePath  "/usr/local/lib"
    ModulePath  "/usr/local/lib/xorg/modules/drivers"
EndSection

### DisplayLink ###

Section "Device"
    Identifier      "displaylink"
    driver          "displaylink"
    Option          "fbdev" "/dev/fb1"
EndSection

Section "Monitor"
    Identifier      "monitor"
    Option          "Enable"    "true"
EndSection

Section "Screen"
    Identifier      "DisplayLink"
    Device          "displaylink"
    Monitor         "monitor"
    DefaultDepth    16
    SubSection "Display"
        Depth   16
        Modes   "2048x1152" "1680x1050" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth   24
        Modes   "2048x1152" "1680x1050" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

### X61 LCD ###

Section "Device"
    Identifier      "onboard"
    driver          "intel"
    BusID           "PCI:0:2:0"

#   external vga port
#    BusID           "PCI:0:2:1"
EndSection

Section "Monitor"
    Identifier      "lcd"
    Option          "Enable"    "true"
EndSection

Section "Screen"
    Identifier      "X61"
    Device          "onboard"
    Monitor         "lcd"
    DefaultDepth    16
    SubSection "Display"
        Depth   16
        Modes   "1400x1050" "1360x768" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth   24
        Modes   "1400x1050" "1360x768" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


          
2012/03/08 18:21 2012/03/08 18:21
Trackback URL : Cannot send a trackbact to this post.

Total: 48478 (Today: 57, Yesterday: 62)

RSS