diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2024-10-15 13:54:28 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2024-10-15 18:21:59 +0900 |
commit | 7534e095122d2e671ad1b0a6c3f4f1cd28761f44 (patch) | |
tree | 73fa26d76e22e9b80a0a7421e025a551e363f3e3 | |
parent | 83a75734517b4adff01d0d87fbf659254c8cee11 (diff) | |
download | deviced-headed-accepted/tizen_unified.tar.gz deviced-headed-accepted/tizen_unified.tar.bz2 deviced-headed-accepted/tizen_unified.zip |
display: Add display.conf for headed profiletizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241022.113435accepted/tizen/unified/x/20241017.170338accepted/tizen/unified/toolchain/20241022.122852accepted/tizen/unified/toolchain/20241022.122411accepted/tizen/unified/20241017.114740accepted/tizen/9.0/unified/20241030.233310tizen_9.0tizenaccepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unifiedaccepted/tizen_9.0_unified
display.conf file in the deviced was used as default configuration.
However, display configuration should be set according to plugin backend profile.
To install headed profile display.conf file, this is necessary.
Change-Id: I31536621c172cb4cbeceb847631ced2a47b88ce6
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | conf/display.conf | 45 | ||||
-rw-r--r-- | packaging/system-plugin-deviced-headed.spec | 1 |
3 files changed, 47 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 20ae373..553fa8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,4 +9,5 @@ ADD_SUBDIRECTORY(src/deviced-display) ADD_SUBDIRECTORY(src/deviced-input) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/rndis.service DESTINATION /usr/lib/systemd/system) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/conf/display.conf DESTINATION /etc/deviced/conf.d) INSTALL(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/packaging/rndis.sh DESTINATION /usr/bin) diff --git a/conf/display.conf b/conf/display.conf new file mode 100644 index 0000000..5abed64 --- /dev/null +++ b/conf/display.conf @@ -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 diff --git a/packaging/system-plugin-deviced-headed.spec b/packaging/system-plugin-deviced-headed.spec index 2e42d94..93e08c5 100644 --- a/packaging/system-plugin-deviced-headed.spec +++ b/packaging/system-plugin-deviced-headed.spec @@ -49,5 +49,6 @@ make %{?jobs:-j%jobs} %license LICENSE.Apache-2.0 %{SYSTEM_PLUGIN_LIBDIR}/libplugin-backend-deviced-display.so %{SYSTEM_PLUGIN_LIBDIR}/libplugin-backend-deviced-input.so +%config %{_sysconfdir}/deviced/conf.d/display.conf %{_unitdir}/rndis.service %{_bindir}/rndis.sh |