summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Xconfig.pm2
-rw-r--r--perl-install/Xconfigurator.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index fac946783..280b7f987 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -210,7 +210,7 @@ sub getinfoFromDDC {
$O->{hsyncrange} ||= $h =~ /^(\S*)/;
$O->{vsyncrange} ||= $v =~ /^(\S*)/;
$O->{size} ||= to_float($size);
- $O->{EISA_ID} = $1 if $size =~ /EISA ID: (\S*)/;
+ $O->{EISA_ID} = lc($1) if $size =~ /EISA ID: (\S*)/;
$O->{modelines} ||= join '', @m;
$o;
}
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 016d510fd..8daf6a726 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -493,7 +493,7 @@ sub monitorConfiguration(;$$) {
readMonitorsDB("$ENV{SHARE_PATH}/ldetect-lst/MonitorsDB");
if ($monitor->{EISA_ID}) {
- if (my ($mon) = grep { $_->{eisa} eq $monitor->{EISA_ID} } values %monitors) {
+ if (my ($mon) = grep { lc($_->{eisa}) eq $monitor->{EISA_ID} } values %monitors) {
add2hash($monitor, $mon);
return $monitor;
}