Differences

This shows you the differences between two versions of the page.

Link to this comparison view

x [2014/09/17 15:01] (current)
archmobile created
Line 1: Line 1:
 +**X**
 +Table of Contents
 +Installation
 +glamo
 +fbdev
 +This is rather a collection of tips than a tutorial. We try to be as general as possible.
  
 +Installation
 +
 +pacman -S xorg-server xorg-xinit xf86-input-mouse xterm
 +Note: We yet only have xorg.conf Examples for the Freerunner.
 +
 +For Touchscreen we need tslib.
 +
 +pacman -S xf86-input-tslib
 +Decide between glamo and fbdev.
 +
 +glamo
 +
 +pacman -S xf86-video-glamo
 +A xorg.conf Sample using glamo:
 +
 +xorg.conf:
 +
 +Section "ServerLayout"
 +  Identifier "Simple"
 +  Screen     "Screen"
 +EndSection
 +
 +Section "Monitor"
 +  Identifier  "Topploy VGA"
 +  DisplaySize 43 58
 +EndSection
 +
 +Section "Device"
 +  Identifier "Glamo 3362"
 +  Driver     "glamo"
 +EndSection
 +
 +Section "InputDevice"
 +        Identifier      "Power Button"
 +        Driver          "evdev"
 +        Option         "Device"        "/dev/input/event0"
 +EndSection
 +
 +Section "InputDevice"
 +        Identifier      "AUX Button"
 +        Driver          "evdev"
 +        Option          "Device"        "/dev/input/event4"
 +EndSection
 +
 +Section "InputDevice"
 +        Identifier      "Touchscreen"
 +        Driver          "tslib"
 +        Option          "CorePointer"           "true"
 +        Option          "SendCoreEvents"        "true"
 +        Option          "TslibDevice"                "/dev/input/event1"
 +        Option          "Width"                 "480"
 +        Option          "Height"                "640"
 +EndSection
 +
 +Section "Screen"
 +  Identifier   "Screen"
 +  Device       "Glamo 3362"
 +  Monitor      "Topploy VGA"
 +  DefaultDepth  16
 +
 +  Subsection "Display"
 +    Depth     16
 +    Modes    "480x640"
 +    ViewPort  0 0
 +  EndSubsection
 +EndSection
 +fbdev
 +
 +pacman -S xf86-video-fbdev
 +A xorg.conf Sample using fbdev:
 +
 +xorg.conf:
 +
 +Section "ServerLayout"
 +  Identifier "Simple"
 +  Screen     "Screen0"
 +EndSection
 +Section "Screen"
 +        Identifier "Screen0"
 +        Device     "video"
 +        Monitor    "Monitor0"
 +        Subsection "Display"
 +                Modes "480x640"
 +        EndSubsection
 +EndSection
 +Section "Device"
 +       Identifier      "video"
 +       Driver          "fbdev"
 +EndSection
 +Section "Monitor"
 +        Identifier   "Monitor0"
 +        VendorName   "Monitor Vendor"
 +        ModelName    "Monitor Model"
 +EndSection
 +
 +Section "InputDevice"
 +        Identifier      "Power Button"
 +        Driver          "tslib"
 +        Option          "Device"        "/dev/input/event0"
 +EndSection
 +
 +Section "InputDevice"
 +        Identifier      "AUX Button"
 +        Driver          "tslib"
 +        Option          "Device"        "/dev/input/event4"
 +EndSection
 +
 +Section "InputDevice"
 +        Identifier      "Touchscreen"
 +        Driver          "tslib"
 +        Option          "CorePointer"           "true"
 +        Option          "SendCoreEvents"        "true"
 +        Option          "TslibDevice"                "/dev/input/event1"
 +        Option          "Width"                 "480"
 +        Option          "Height"                "640"
 +EndSection
 +Add your prefered WM to .xinitrc.
 +
 +.xinitrc:
 +
 +exec enlightenment_start
 +Optionally, you can change dpi here. Add this on top of .xinitrc:
 +
 +xrandr --dpi 92/0
 +Create the Calibration File by running ts_calibrate.
 +
 +# ts_calibrate
 +Note: If you are using the NeoFreerunner? you could also do this instead:
 +
 +echo  -67 38667 -4954632 -51172 121 46965312 65536 > /etc/pointercal
 +Now you should be able to use your Touchscreen with X!
x.txt · Last modified: 2014/09/17 15:01 by archmobile
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki