diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-25 14:12:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-25 14:12:18 +0000 |
commit | b7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69 (patch) | |
tree | b270bca7448e357f1150dde0184076a20f3e8369 | |
parent | 33d774591c8f145c38c9381ef6a811dbd69971bb (diff) | |
download | drakx-kbd-mouse-x11-b7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69.tar drakx-kbd-mouse-x11-b7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69.tar.gz drakx-kbd-mouse-x11-b7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69.tar.bz2 drakx-kbd-mouse-x11-b7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69.tar.xz drakx-kbd-mouse-x11-b7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69.zip |
- when user asks for "Plug'n Play", silently default to Xorg auto-detection
when we fail to auto-detect
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | lib/Xconfig/monitor.pm | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,7 @@ +- add support for "Automatic" resolution (aka "let xorg do everything") +- when user asks for "Plug'n Play", silently default to Xorg auto-detection + when we fail to auto-detect + Version 0.29 - 21 September 2007, by Olivier "blino" Blin - unload drivers loaded by monitor-probe-using-X diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm index a05d5ee..11ce497 100644 --- a/lib/Xconfig/monitor.pm +++ b/lib/Xconfig/monitor.pm @@ -125,13 +125,13 @@ sub choose { if ($merged_name eq "Plug'n Play") { local $::noauto = 0; #- hey, you asked for plug'n play, so i do probe! - delete @$monitor{'VendorName', 'ModelName', 'EISA_ID'}; + delete @$monitor{'VendorName', 'ModelName', 'EISA_ID', 'HorizSync', 'VertRefresh'}; if ($head_nb <= 1) { - if (my $probed_info = probe($card_Driver)) { + if (my $probed_info = 0 && probe($card_Driver)) { put_in_hash($monitor, $probed_info); } else { - $in->ask_warn('', N("Plug'n Play probing failed. Please select the correct monitor")); - goto ask_monitor; + log::l("Plug'n Play probing failed, but Xorg may do better"); + $monitor->{VendorName} = "Plug'n Play"; } } else { $monitor->{VendorName} = "Plug'n Play"; |