pmaports/device/device-samsung-i927/40-samsung-i927.conf

58 lines
1.3 KiB
Text
Raw Normal View History

# 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