summaryrefslogtreecommitdiff
path: root/recipes-graphics/xorg-xserver/xserver-xf86-config/colibri-t30/xorg.conf
blob: fbe1f98a6ccffdcbc5d092c94eb7967406e50998 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# This is an optimised configuration for Xorg on the Toradex Tegra based Apalis
# and Colibri modules
#
# In order to disable unused monitor outputs, apply the Option "Ignore" "true"
# (in the monitor section). By defining a particular resolution one can choose
# a preferred mode for all monitors. However, this mode is only used if the
# monitor reports it as being supported (via EDID on DVI-D aka HDMI).
#

# Please refer to the xorg.conf man page for more configuration
# options provided by the X server, including display-related options
# provided by RandR 1.2 and higher.

# Disable extensions not useful on Tegra.
Section "Module"
    Disable     "dri"
    Disable     "dri2"
    Disable     "glx"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
EndSection

Section "Device"
    Identifier  "Tegra"
    Driver      "tegra"

# VirtualDesktop indicates which virtual desktops should be used by X.
# X will use the specified virtual desktop *and* the next one.  In
# order for an external app to share a display with the X server, it
# needs to use the same virtual desktop.  Valid values are integers 0
# (default) or 1.

#    Option      "VirtualDesktop" "1"

# OverlayDepth is a 32-bit integer which is used to control overlay
# stacking order.  The overlay with the lowest depth is in front of
# all others.  This value has meaning only when multiple overlays are
# present on a display.

#    Option      "OverlayDepth" "255"

# OverlayCombineMode determines how the X overlay is combined with the
# overlay behind it during scanout.  Available modes are: Opaque
# (default), SourceAlphaBlend, and PremultSourceAlphaBlend.  This
# value has meaning only when an external process has created a
# display which is behind the X server.

#    Option      "OverlayCombineMode" "PremultSourceAlphaBlend"

# ARGBHWCursor controls whether the X driver uses an overlay to
# display 32-bit "true-color" cursors, or whether such cursors are
# emulated in software.  Valid values are "true" (default) to enable
# hardware cursors, and "false" to disable them.

    Option      "ARGBHWCursor" "false"

# Use monitor section with identifier, enables explicit disabling
    Option      "Monitor-LVDS-1" "LVDS"
    Option      "Monitor-HDMI-1" "HDMI"
EndSection

Section "ServerFlags"

    Option "DefaultServerLayout" "Default Layout"
# Set the basic blanking screen saver timeout in minutes.  0 to disable.

    Option      "blank time"    "0"

# Set the DPMS timeouts.  These are set here because they are global
# rather than screen-specific.  These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.

    Option      "standby time"  "0"
    Option      "suspend time"  "0"
    Option      "off time"      "0"
EndSection

Section "Monitor"

    Identifier "HDMI"
    Option     "Ignore" "false"
    Option     "DPMS" "off"

# Default orientation
#    Option     "AboveOf" "LVDS"
#    Option     "Position" "0 0"

# Explicitly choose a Resolution (check xrandr for available modes)
#    Option     "PreferredMode" "1280x720"

EndSection

Section "Monitor"

    Identifier "LVDS"
    Option     "Ignore" "false"
    Option     "DPMS" "off"

# Note: It is not possible to use explicit modes here as the mode is inherited
# from the Linux framebuffer
# Check Framebuffer documentation:
# http://developer.toradex.com/knowledge-base/framebuffer-(linux)

EndSection

Section "Screen"
# NVIDIA uses only one screen, even in dual head mode
# the gluing logic is in the device section

    Identifier  "Common Screen"
    Device      "Tegra"

# This is the primary monitor
    Monitor     "LVDS"

    DefaultDepth 16

EndSection

Section "ServerLayout"
	Identifier  "Default Layout"

	Screen "Common Screen"
EndSection

Section "InputClass"

	Identifier "Fusion 7/10"
	Driver "evdev"
	MatchProduct "fusion_F0710A"
	MatchDevicePath "/dev/input/event*"

EndSection