summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--tools/display_driver_helper9
2 files changed, 12 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index d319971..98d019a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+- display_driver_helper: allow automatic loading of the implicit driver
+ on systems without xorg.conf if the presence of other files indicates
+ that this is not a live cd boot before automatic X.org configuration
+ (fixes radeon KMS without xorg.conf)
+
Version 0.97 - 14 May 2011
- update translations
diff --git a/tools/display_driver_helper b/tools/display_driver_helper
index 90ab102..8fe73f5 100644
--- a/tools/display_driver_helper
+++ b/tools/display_driver_helper
@@ -234,8 +234,13 @@ check_xorg() {
# no driver is selected - don't load if explicit_only is 1
[ "$explicit_only" = "1" ] && return 1
- # implicit load allowed; still don't load if no xorg.conf (i.e. live cd)
- [ -e "/etc/X11/xorg.conf" ]
+ # implicit load allowed; only load if there is evidence that this is
+ # not a live cd or similar with automatic configuration occurring later
+ # in the boot process (which might configure a driver conflicting with
+ # the implicit driver, e.g. a proprietary one)
+ # TODO: Could this be replaced with a more robust check?
+ [ -e "/etc/X11/xorg.conf" ] || [ -e "/etc/sysconfig/harddrake2/kernels" ] ||
+ [ -e "/etc/sysconfig/harddrake2/xorg" ] || [ -e "/boot/grub/menu.lst" ]
}
# Load the driver for the specified modalias, if configured.