From: Grazvydas Ignotas Date: Mon, 6 Aug 2012 21:21:47 +0000 (+0300) Subject: xf86-video-omapfb: pandora: call op_power directly X-Git-Tag: sz_152~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85695fcb4b703c03e3896c592234c524a13c0e2;p=openembedded.git 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. --- 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}"