From 053d5f2c9cabc2b6d24fdacfcdeea89ff204074a Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 20 Jul 2012 11:01:41 -0300 Subject: xserver-xf86-config (mx5): disable DPMS functions by default By default, the device shouldn't turn the display off so we change the server setting but allow for easy customization by user, if need. Signed-off-by: Otavio Salvador Acked-by: Daiane Angolini --- recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf | 7 +++++++ recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf index ddfd7df..a99e6f2 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf @@ -7,3 +7,10 @@ Section "Device" # and "Y8INV" (8-bit gray inverted). Option "FormatEPDC" "Y8INV" EndSection + +Section "ServerFlags" + Option "BlankTime" "0" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "0" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index 1265c1d..81dea27 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -1,4 +1,4 @@ # Append path for freescale layer to include bsp xorg.conf FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PRINC := "${@int(PRINC) + 4}" +PRINC := "${@int(PRINC) + 5}" -- cgit v1.2.3-54-g00ecf From e634ab0400de9b460eefafd2b50bcec84f31ca2d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 20 Jul 2012 11:03:06 -0300 Subject: xserver-xf86-config (mx6): refactor default configuration We refactor the default configuration to the same defaults used in mx5 machines. Signed-off-by: Otavio Salvador Acked-by: Daiane Angolini --- .../xorg-xserver/xserver-xf86-config/mx6/xorg.conf | 43 ++++------------------ .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 +- 2 files changed, 8 insertions(+), 37 deletions(-) diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf index fc22759..79b6c0f 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf @@ -1,41 +1,12 @@ -Section "InputDevice" - Identifier "Generic Keyboard" - Driver "kbd" - Option "XkbRules" "xorg" - Option "XkbModel" "pc105" - Option "XkbLayout" "us" -EndSection - -Section "InputDevice" - Identifier "Configured Mouse" - Driver "mouse" - Option "CorePointer" -EndSection - -Section "InputClass" - Identifier "eGalax" - MatchIsTouchscreen "on" - MatchDevicePath "/dev/input/event*" - Driver "evdev" -EndSection - Section "Device" - Identifier "Framebuffer Device" + Identifier "Kernel Framebuffer Device" Driver "fbdev" - Option "fbdev" "/dev/fb0" -EndSection - -Section "Monitor" - Identifier "Configured Monitor" -EndSection - -Section "Screen" - Identifier "Default Screen" - Monitor "Configured Monitor" - Device "Framebuffer Device" + Option "fbdev" "/dev/fb0" EndSection -Section "ServerLayout" - Identifier "Default Layout" - Screen "Default Screen" +Section "ServerFlags" + Option "BlankTime" "0" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "0" EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index 81dea27..032aad5 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -1,4 +1,4 @@ # Append path for freescale layer to include bsp xorg.conf FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PRINC := "${@int(PRINC) + 5}" +PRINC := "${@int(PRINC) + 6}" -- cgit v1.2.3-54-g00ecf