aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/babbage/xorg.conf
blob: d4d41db42d725fc869d2accc8246ff4e9535bae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# X11 configuration for i.MX51 Babbage EVK
# Based on pm9263 by Koan sas
#

Section "Monitor"
        Identifier      "Display"
EndSection

Section "Device"
        Identifier      "fbdevice"
        Driver  	"fbdev"
	Option 		"fbdev" "/dev/fb0"
	Option 		"shadowfb" "true"
EndSection

Section "Screen"
        Identifier      "fbscreen"
        Device  	"fbdevice"
        Monitor 	"Display"
EndSection

Section "InputDevice"
        Identifier      "mxc_ts"
        Driver          "evdev"
        Option          "SwapAxes" "0"
        Option          "Device" "/dev/input/touchscreen0"
EndSection

Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"   
        Option          "CorePointer"
EndSection

Section "InputDevice"
        Identifier      "Keypad"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event0"
#        Option          "XkbModel"      "nokiarx51"
#        Option          "XkbLayout"     "us"
EndSection

Section "ServerLayout"
        Identifier      "Layout"
        Screen  	"fbscreen"
        InputDevice 	"mxc_ts" "CorePointer"
	InputDevice     "Keypad"
# Enable mouse only if necessary, it may interfere with touchscreen behaviour
#        InputDevice     "Generic Mouse"
EndSection

#Section "ServerFlags"
#	Option "AutoAddDevices" "false"
#EndSection