aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
blob: cf684ec17709f4ab2c5ae67b4fa661ea3a32d28f (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
#
# Initial version of X11 configuration for BugLabs BUG device.
#
# Up to 2 LCD modules are supported (as DISPLAY=0.0/0.1).
# Touchscreen on both screen works properly (req tslib 0.0.6 driver).
#
# Mouse is not supported yet because the evdev driver need a precise
# dev node and evdev dev nodes are somewhat random
#

Section "Monitor"
        Identifier      "Monitor 1"
EndSection

Section "Monitor"
        Identifier      "Monitor 2"
EndSection

Section "Device"
        Identifier      "fbdev Device 2"
        Driver  "fbdev"
	Option "fbdev" "/dev/fb2"
	Option "shadowfb" "true"
EndSection

Section "Device"
        Identifier      "fbdev Device 1"
        Driver  "fbdev"
	Option "fbdev" "/dev/fb1"
	Option "shadowfb" "true"
EndSection

Section "Screen"
        Identifier      "fbdev Screen 2"
        Device  "fbdev Device 2"
        Monitor "Monitor 2"
EndSection

Section "Screen"
        Identifier      "fbdev Screen 1"
        Device  "fbdev Device 1"
        Monitor "Monitor 1"
EndSection

Section "ServerLayout"
        Identifier      "Layout"
        Screen  "fbdev Screen 1"
        Screen  "fbdev Screen 2" Below "fbdev Screen 1"
        InputDevice "ts4"
        InputDevice "ts5"
        InputDevice "Keyboard"
EndSection

Section "InputDevice"
    Identifier "ts5"
    Driver "tslib"
    Option "Device" "/dev/input/bmi_lcd_ts5"
    Option "ScreenNumber"  "1"
EndSection

Section "InputDevice"
    Identifier "ts4"
    Driver "tslib"
    Option "Device" "/dev/input/bmi_lcd_ts4"
    Option "ScreenNumber"  "0"
EndSection

Section "InputDevice"
	Identifier  "Keyboard"
	Driver      "kbd"
EndSection

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