Some times before I posted about how I got this monitor working in Ubuntu How to get Lilliput DisplayLink based USB Monitor UM-70 (17e9:02a9) working in Ubuntu Linux. This post is about DisplayLink’s USB monitor from Lilliput working on QNAP TS-110 home NAS server. The configuration is as below:

Hardware: QNAP TS-110 Home NAS box, UM-70 Lilliput monitor connected to USB Port

Software: Debian GNU/Linux 6.0 (Squeeze) with kernel 2.6.32-5-kirkwood

The idea is to use this NAS server as media display for home. This monitor is configured to display Slide show, a Analog Clock, a monthly Calendar, Weather forecast for 5 days and Quote of the day. Weather forecast uses home internet connection to retrieve live data.

Here is a quick view on what I did to get this monitor working with headless NAS server.

1. Installed Debian 6.0 (Squeeze) with kernel 2.6.32-5-kirkwood.

root@debian:~# uname -a

Linux debian 2.6.32-5-kirkwood #1 Tue Mar 8 10:56:14 UTC 2011 armv5tel GNU/Linux

2. Ensure that udlfb module loaded.

root@debian:~# lsmod | grep udlfb

udlfb 15115 2

fb 38994 5 udlfb

fb_sys_fops 1041 1 udlfb

sysimgblt 1717 1 udlfb

sysfillrect 2836 1 udlfb

syscopyarea 2604 1 udlfb

usbcore 122487 6 snd_usb_audio,snd_usb_lib,usbhid,udlfb,ehci_hcd

Ensure that you get green display when the system is up.

3. Download Displaylink xorg video module (xserver-xorg-video-displaylink_0.3.orig.tar.gz) from Ubuntu repository here.

4. Install the dependent packages to compile the above module.

root@debian:~# apt-get install xinit xserver-xorg xserver-xorg-dev xfonts-base libusb-dev xorg-dev git-core build-essential linux-headers-2.6

5. Extract the downloaded module

root@debian:~# tar zxvf xserver-xorg-video-displaylink_0.3.orig.tar.gz

root@debian:~# cd xf86-video-displaylink/

6. Edit the source code of above module for a small change

Open src/displaylink.c with your favorite editor and comment the following lines:

//#include “xf86Resources.h”

//#include “xf86RAC.h”

// pScrn->racMemFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT;

// pScrn->racIoFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT;

// xf86CrtcScreenInit (pScreen);

7. Compile and install this xorg module

root@debian:~# ./configure root@debian:~# make && make install

This should install /usr/local/lib/xorg/modules/drivers/displaylink_drv.so

8. Configure the /etc/X11/xorg.conf file as shown below:

################################################# Section “ServerLayout”

Identifier “Server Layout”

Screen 0 “DisplayLinkScreen” 0 0

EndSection ################################################# Section “Files”

ModulePath “/usr/lib/xorg/modules”

ModulePath “/usr/local/lib/xorg/modules”

ModulePath “/usr/local/lib/xorg/modules/drivers”

EndSection ############### DisplayLink Stuff ############### Section “Device”

Identifier “DisplayLinkDevice”

Driver “displaylink”

Option “fbdev” “/dev/fb0”

Option “DPI” “140×140”

EndSection Section “Monitor”

Identifier “DisplayLinkMonitor”

# DisplaySize 152 92

EndSection Section “Screen”

Identifier “DisplayLinkScreen”

Device “DisplayLinkDevice”

Monitor “DisplayLinkMonitor”

SubSection “Display”

Depth 16

Modes “800×480”

EndSubSection

EndSection #################################################

You are done! Now install gdm or kdm or use startx to start your X session and enjoy the power of linux. Here is my media display working on top of fluxbox and gdesklets.

Reference: http://forum.doozan.com/read.php?2,2073,3169,quote=1