#!/bin/bash # Author: Jelle de Jong # Note: Please send me an email if you enhanced the document # Date: 2010-07-01 # License: CC-BY-SA #----------------------------------------------------------------------- # we need the udlfb kernel module # module is not in debian kernel but is in ubuntu # http://packages.debian.org/ # http://packages.ubuntu.com/ wget http://nl.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.32-21-generic_2.6.32-21.32_i386.deb sudo dpkg -i linux-image-2.6.32-21-generic_2.6.32-21.32_i386.deb sudo dpkg --install --force-all linux-image-2.6.32-21-generic_2.6.32-21.32_i386.deb sudo update-initramfs -k all -u -v sudo update-grub echo "blacklist font" | sudo tee --append /etc/modprobe.d/blacklist.local.conf echo "blacklist tileblit" | sudo tee --append /etc/modprobe.d/blacklist.local.conf echo "blacklist bitblit" | sudo tee --append /etc/modprobe.d/blacklist.local.conf echo "blacklist fbcon" | sudo tee --append /etc/modprobe.d/blacklist.local.conf echo "blacklist softcursor" | sudo tee --append /etc/modprobe.d/blacklist.local.conf cat /etc/modprobe.d/blacklist.local.conf #----------------------------------------------------------------------- # we need the xserver-xorg-video-displaylink driver # driver is not in debian but is in ubuntu # http://packages.debian.org/ # http://packages.ubuntu.com/ wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/x/xserver-xorg-video-displaylink/xserver-xorg-video-displaylink_0.3-0ubuntu4_i386.deb sudo dpkg --install xserver-xorg-video-displaylink_0.3-0ubuntu4_i386.deb dpkg -L xserver-xorg-video-displaylink cat /usr/share/doc/xserver-xorg-video-displaylink/README ----------------------------------------------------------------------- # reboot without the displaylink device # plug in the device dmesg ls -hal /dev/fb* # LCD should turn green #----------------------------------------------------------------------- # use your displaylink fb device (check creation time) # I also got a intel fb device # edit your xorg.conf or xorg.conf.d sudo vim /etc/X11/xorg.conf Section "Device" Identifier "Configured Video Device" driver "displaylink" Option "fbdev" "/dev/fb1" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" EndSection #----------------------------------------------------------------------- # I have an automated xorg restart with my user (nodm package) # the below command make my programs close and restart xorg kill 1 -1 #----------------------------------------------------------------------- # i hoped it would work but.... Segmentation fault at address 0x18 #----------------------------------------------------------------------- $ cat /var/log/Xorg.0.log.old X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.32.14-dsa-ia32 i686 Debian Current Operating System: Linux mini01 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=7234a43e-c3d9-41e3-8cc6-837d36da273e ro rootfstype=ext4 ipv6.disable=1 quiet Build Date: 03 June 2010 04:08:50PM xorg-server 2:1.7.7-2 (Julien Cristau ) Current version of pixman: 0.16.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 1 11:22:05 2010 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (==) ServerLayout "Default Layout" (**) |-->Screen "Default Screen" (0) (**) | |-->Monitor "Configured Monitor" (**) | |-->Device "Configured Video Device" (==) Automatically adding devices (==) Automatically enabling devices (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist. Entry deleted from font path. (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins (==) ModulePath set to "/usr/lib/xorg/modules" (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. (II) Loader magic: 0x81eac60 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server Extension : 2.0 (++) using VT number 3 (--) PCI:*(0:0:2:0) 8086:27ae:103c:3632 Intel Corporation Mobile 945GME Express Integrated Graphics Controller rev 3, Mem @ 0xe8100000/524288, 0xd0000000/268435456, 0xe8180000/262144, I/O @ 0x00006000/8 (--) PCI: (0:0:2:1) 8086:27a6:103c:3632 Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0xe8200000/524288 (II) Open ACPI successful (/var/run/acpid.socket) (II) LoadModule: "extmod" (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension SELinux (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "dbe" (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX enabled (II) Loading extension GLX (II) LoadModule: "record" (II) Loading /usr/lib/xorg/modules/extensions/librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension RECORD (II) LoadModule: "dri" (II) Loading /usr/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "dri2" (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.1.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "displaylink" (II) Loading /usr/lib/xorg/modules/drivers/displaylink_drv.so (II) Module displaylink: vendor="X.Org Foundation" compiled for 1.7.6, module version = 0.0.1 ABI class: X.Org Video Driver, version 6.0 (II) DL: driver for : displaylink (WW) Falling back to old probe method for displaylink (II) Loading sub module "fbdevhw" (II) LoadModule: "fbdevhw" (II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so (II) Module fbdevhw: vendor="X.Org Foundation" compiled for 1.7.7, module version = 0.0.2 ABI class: X.Org Video Driver, version 6.0 (II) DL(0): using /dev/fb1 (EE) DL(0): Unknown EDID version 0 (II) DL(0): Creating default Display subsection in Screen section "Default Screen" for depth/fbbpp 16/16 (==) DL(0): Depth 16, (==) framebuffer bpp 16 (==) DL(0): RGB weight 565 (==) DL(0): Default visual is TrueColor (==) DL(0): Using gamma correction (1.0, 1.0, 1.0) (II) DL(0): hardware: SUNWEIT USB Dis (video memory: 2560kB) (**) DL(0): Option "fbdev" "/dev/fb1" (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) DL(0): Output SUNWEIT USB Dis using monitor section Configured Monitor (EE) DL(0): Unknown EDID version 0 (II) DL(0): EDID for output SUNWEIT USB Dis Backtrace: 0: X (xorg_backtrace+0x3b) [0x80addcb] 1: X (0x8048000+0x5ab75) [0x80a2b75] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xda0410] 3: X (InitOutput+0x5c8) [0x80b08a8] 4: X (0x8048000+0x1e73b) [0x806673b] 5: /lib/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x155c76] 6: X (0x8048000+0x1e4e1) [0x80664e1] Segmentation fault at address 0x18 Fatal server error: Caught signal 11 (Segmentation fault). Server aborting Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. #-----------------------------------------------------------------------