Hi David,

We ran into this bug on Ubuntu (e.g. LP# 127008).  The xprobe.sh script
fails on Intel laptop hardware during configure when using the -intel
driver.  This cropped up after -intel driver support was added.  I also
fixed a number of other issues in xresprobe you might be interested in,
although I know the goal is to get rid of xresprobe entirely.

The two patches that fixed this for us are:

http://people.ubuntu.com/~bryce/Testing/xresprobe/xresprobe_0.4.24ubuntu5.debdiff

http://people.ubuntu.com/~bryce/Testing/xresprobe/xresprobe_0.4.24ubuntu8.debdiff

Basically, we avoid using xprobe.sh for -intel.  doddc probe seems to
work adequately, and where it doesn't we just let the postinst ask the
user (this is better than corrupting out the display).

Bryce


diff -Nru /tmp/wEaX1jNQd9/xresprobe-0.4.24ubuntu4/xresprobe 
/tmp/n0birC4Yl7/xresprobe-0.4.24ubuntu5/xresprobe
--- /tmp/wEaX1jNQd9/xresprobe-0.4.24ubuntu4/xresprobe       2006-04-08 
06:52:21.000000000 -0700
+++ /tmp/n0birC4Yl7/xresprobe-0.4.24ubuntu5/xresprobe       2007-09-27 
14:37:25.000000000 -0700
@@ -137,7 +137,8 @@
 fi
 
 if [ "x$LAPTOP" = "xyes" ]; then
-  if [ "$(uname -m)" = "ppc" ] || [ "$(uname -m)" = "ppc64" ]; then
+  # Allow use of ddc on intel; doprobe can result in screen corruption (LP: 
#127008)
+  if [ "$(uname -m)" = "ppc" ] || [ "$(uname -m)" = "ppc64" ] || [ "x$DRIVER" 
= "xintel" ]; then
     doddc
   fi
   if [ -z "$RES" ]; then


diff -Nru /tmp/5BOwBjIGdL/xresprobe-0.4.24ubuntu7/xresprobe 
/tmp/XntHvitxcw/xresprobe-0.4.24ubuntu8/xresprobe
--- /tmp/5BOwBjIGdL/xresprobe-0.4.24ubuntu7/xresprobe       2007-10-15 
00:18:19.000000000 -0700
+++ /tmp/XntHvitxcw/xresprobe-0.4.24ubuntu8/xresprobe       2007-10-15 
01:53:08.000000000 -0700
@@ -141,7 +141,7 @@
   if [ "$(uname -m)" = "ppc" ] || [ "$(uname -m)" = "ppc64" ] || [ "x$DRIVER" 
= "xintel" ]; then
     doddc
   fi
-  if [ -z "$RES" ] && [ ! $"x$DRIVER" = "xintel" ]; then
+  if [ -z "$RES" ] && [ ! "x$DRIVER" = "xintel" ]; then
     doprobe
   fi
   DISPTYPE="lcd/lvds"



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to