Add display.conf installation 29/312729/1 accepted/tizen/unified/20240618.010127 accepted/tizen/unified/x/20240618.033404
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 13 Jun 2024 08:32:47 +0000 (17:32 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 13 Jun 2024 09:48:24 +0000 (18:48 +0900)
As iot-headed profile was deleted, there was no default display configuration file installed.
In order to support basic display configuration in the headed profile,
this is necessary.

Change-Id: I09763d01b2a981539e91849006fbedbe209b49f7
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
CMakeLists.txt
conf/display.conf [new file with mode: 0644]
packaging/deviced.spec

index 3b3ae7c4e363db60558bb46fa4659276429dd686..5d0f5a6695636f8b691648c60aa9aa73c84e9c9f 100644 (file)
@@ -289,6 +289,10 @@ IF(BATTERY_MODULE STREQUAL on)
        INSTALL_CONF(conf battery)
 ENDIF()
 
+IF(DISPLAY_MODULE STREQUAL on)
+       INSTALL_CONF(conf display)
+ENDIF()
+
 IF(POWER_MODULE STREQUAL on)
        INSTALL_CONF(conf init)
        INSTALL_CONF(conf power-profile-mobile)
diff --git a/conf/display.conf b/conf/display.conf
new file mode 100644 (file)
index 0000000..5abed64
--- /dev/null
@@ -0,0 +1,45 @@
+# deviced is pending lcd on until lock screen shows.
+# This is the maximum pending time.
+# LockScreenWaitingTime=0.3 (second)
+
+# Power-off popup is launched when power key is long pressed.
+# This is duration of pressing power key.
+# LongPressInterval=2 (second)
+
+# This is polling time of auto brightness.
+# LightSensorSamplingInterval=1 (second)
+
+# display state is changed to SLEEP state after this time.
+# If this value is large, it causes power consumption problem.
+# LCDOffTimeout=300 (milli second)
+
+# This is n step of auto brightness.
+# If brightness is change from a to b, brightness's changed n times from a to b.
+# BrightnessChangeStep=10
+
+# Just below application only allow to change display frame rate.
+# refer to enum refresh_app
+# ChangedFrameRateAllowed=setting (setting or all)
+# ControlDisplay=(yes or no)
+
+# LCD is not turned off when this value is yes and key double pressed
+# PowerKeyDoublePressSupport=(yes or no)
+
+# If this value is yes, LCD is always on except pressing power key.
+# Default value is no, LCD is turned off by lcd timeout.
+# LCDAlwaysOn=(yes or no)
+
+# If this value is yes, LCD is turned off by lcd timeout.
+# If this value is no, LCD is turned off just by external requests.
+# TimeoutEnable=(yes or no)
+
+# This is the type of DPMS.
+# If DPMS type is window_manager, turning display on or off, it uses window manager DPMS.
+# If DPMS type is none, when the DPMS function is called, it does nothing just returns true.
+# Default value is window_manager.
+# DisplayDPMSType=(window_manager or none)
+
+[Display]
+LCDAlwaysOn=yes
+TimeoutEnable=no
+Dimming=no
index efef7d534325a6bc346fee8dcc4564f408fcf9ab..ba73f74d64440862726bcd7f90e29aa95b206d1a 100644 (file)
@@ -266,6 +266,7 @@ mv %{_libdir}/tv-display.so %{_libdir}/deviced/display.so
 %endif
 %config %{_sysconfdir}/dbus-1/system.d/org.tizen.system.deviced.conf
 %config %{_sysconfdir}/deviced/init.conf
+%config %{_sysconfdir}/deviced/display.conf
 %if %{?battery_module} == on
 %config %{_sysconfdir}/deviced/battery.conf
 %endif