Mimo displaylink USB touchscreen

Kernel configuration

Build the kernel with the following included (linux version 3.1.6):

--> Graphics support
     --> <*> Support for frame buffer devices
         --> <M> Displaylink USB Framebuffer support 
     --> Console display driver support 
         --> <x> Framebuffer Console support
--> Input device support
     --> [x] Touchscreens 
          --> <M> USB Touchscreen Driver

Udlfb module

To let the udlfb module be used as a framebuffer console you need to load it with the parameter: console=1. On gentoo this can be done be creating a file in /etc/modprobe.d/ let it be udlfb with the following content:

options udlfb console=1

You can also add the parameter fb_defio=1 if you want to turn on damage reporting.

Xorg

Patched Xorg driver

(This step is no longer required as the kernel driver has been improved?)

Download the the patched xorg fbdev driver and compile and install it:

$ git clone http://git.plugable.com/webdav/xf86-video-fbdev/

$ cd xf86-video-fbdev 
$ sh autogen.sh && ./configure
$ make && make install

$ cd /usr/local/lib/xorg/modules/drivers/
$ cp * /usr/lib/xorg/modules/drivers/ 

Xorg configuratiom

Create a xorg.conf with the following content:

Section "ServerLayout"
 Identifier     "X.org Configured"
 Screen      "Screen1"
 InputDevice    "Touch0" "CorePointer"
EndSection

Section "InputDevice"
       Identifier "Touch0"
       Driver "evdev"
       Option "Device" "/dev/input/by-id/usb-e2i_Technology__Inc._USB_Touchpanel_L000000000-event-if00"
       Option "DeviceName" "touchscreen"
       Option "InvertY" "on"
#       Option "InvertX" "on"
       Option "MinX" "630"
       Option "MinY" "31000"
       Option "MaxX" "31700"
       Option "MaxY" "1000"
#       Option "DragTimer" "200"
#       Option "MoveLimit" "600"
#       Option "ReportingMode" "Raw"
EndSection

Section "Monitor"
 Identifier   "Monitor1"
 VendorName   "Monitor Vendor"
 ModelName    "Monitor Model"
EndSection

Section "Device"
 Identifier  "Card1"
# Driver      "displaylink"
 Driver "fbdev"
# Option "rotate" "CCW"
 Option "ReportDamage" "true"
 Option "fbdev" "/dev/fb0"
EndSection

Section "Screen"
 Identifier "Screen1"
 Device     "Card1"
 Monitor    "Monitor1"
 SubSection "Display"
  Depth     16
  Modes "800x480"
 EndSubSection
 
mimots.txt · Last modified: 2012/02/24 11:15 by jsc
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki