From a85695fcb4b703c03e3896c592234c524a13c0e2 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Tue, 7 Aug 2012 00:21:47 +0300 Subject: [PATCH] xf86-video-omapfb: pandora: call op_power directly the latest addition to our huge assortment of hacks is this - run op_power.sh instead of op_lid.sh, because the later can do things like suspend or run zenity, causing deadlocks against X at least. --- .../xorg-driver/xf86-video-omapfb/pandora_backlight_dim.patch | 2 +- recipes/xorg-driver/xf86-video-omapfb_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/xorg-driver/xf86-video-omapfb/pandora_backlight_dim.patch b/recipes/xorg-driver/xf86-video-omapfb/pandora_backlight_dim.patch index 4a0b8432d0..db51b21920 100644 --- a/recipes/xorg-driver/xf86-video-omapfb/pandora_backlight_dim.patch +++ b/recipes/xorg-driver/xf86-video-omapfb/pandora_backlight_dim.patch @@ -31,7 +31,7 @@ index 7a57221..62f5ccb 100644 + break; + } + -+ snprintf(cmd, sizeof(cmd), "/usr/pandora/scripts/op_lid.sh %d", arg); ++ snprintf(cmd, sizeof(cmd), "/usr/pandora/scripts/op_power.sh %d screensaver &", arg); + system(cmd); + blanking = arg; + diff --git a/recipes/xorg-driver/xf86-video-omapfb_git.bb b/recipes/xorg-driver/xf86-video-omapfb_git.bb index 0030602093..c78479ecd7 100644 --- a/recipes/xorg-driver/xf86-video-omapfb_git.bb +++ b/recipes/xorg-driver/xf86-video-omapfb_git.bb @@ -2,7 +2,7 @@ require xorg-driver-video.inc DESCRIPTION = "X.Org X server -- OMAP display driver" -PR_append = "g" +PR_append = "h" SRCREV = "db636c8436265c3d86c5b8e00785e45d55825c80" PV = "0.1.1+${PR}+gitr${SRCREV}" -- 2.39.5