pmaports/device/testing/device-samsung-i927/40-samsung-i927.conf
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

57 lines
1.3 KiB
Text

# Configuration for Samsung SGH-I927 Captivate Glide
Section "Device"
Identifier "Tegra Graphics"
Driver "opentegra"
Option "SWcursor" "false"
# This can cause rendering issues
Option "AccelCompositing" "true"
Option "NoAccel" "false"
Option "TearFree" "true"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "Monitor"
Identifier "LVDS-0"
Option "Rotate" "right"
Option "DPMS" "true"
Option "Primary" "true"
EndSection
Section "Screen"
Identifier "Panel"
Device "Tegra Graphics"
Monitor "LVDS-0"
EndSection
# This is for MHL (not tested)
Section "Monitor"
Identifier "HDMI-0"
# Ignored for now because resolution becomes wrong (848 instead of 840)
Option "ignore" "true"
EndSection
Section "Screen"
Identifier "MHL"
Device "Tegra Graphics"
Monitor "HDMI-0"
EndSection
# This is for DPMS - MATE does not suspend the display panel,
# insead, it just shows you an empty black screensaver.
# Also sets MHL layout, but it doesn't really work due to touchscreen,
# however, it can be fixed with scripts
Section "ServerLayout"
Identifier "Samsung panel"
Screen 0 "Panel" 0 0
Screen 1 "MHL" 0 0
Option "BlankTime" "0"
# Option "SuspendTime" "300"
EndSection