[ubuntu-x] [PATCH] dexconf: Specify the fbdev driver explicitly for PS3.
Dan Munckton
lists at munckfish.net
Mon May 5 00:35:11 BST 2008
From: Dan Munckton <daniel at munckfish.net>
This is a temporary workaround for LP 219424. Once the Xserver is fixed to detect PS3 and set this itself this change can be undone.
---
debian/local/dexconf | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/debian/local/dexconf b/debian/local/dexconf
index 596a4e2..fbd7b26 100644
--- a/debian/local/dexconf
+++ b/debian/local/dexconf
@@ -278,10 +278,13 @@ cat >&4 <<SECTION
Section "Device"
Identifier "Configured Video Device"
SECTION
+PS3_FB=$(grep -i PS3 /proc/fb 2>/dev/null || true)
+if [ -z "$DEVICE_DRIVER" -a -n "$PS3_FB" ]; then
+ DEVICE_DRIVER="fbdev"
+fi
if [ -n "$DEVICE_DRIVER" ]; then
printf "\tDriver\t\t\"$DEVICE_DRIVER\"\n" >&4
fi
-PS3_FB=$(grep -i PS3 /proc/fb 2>/dev/null || true)
if [ -n "$PS3_FB" ]; then
printf "\tOption\t\t\"ShadowFB\"\t\t\"false\"\n" >&4
fi
--
1.5.2.5
More information about the Ubuntu-x
mailing list