summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r--perl-install/Xconfig.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index af5c10f39..67f5d4138 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -5,6 +5,7 @@ use strict;
use common qw(:common :file :system);
use mouse;
+use devices;
use Xconfigurator;
# otherwise uses the rule substr($keymap, 0, 2)
@@ -115,6 +116,7 @@ sub getinfoFromDDC {
my $o = shift || {};
my $O = $o->{monitor} ||= {};
#- return $o if $O->{hsyncrange} && $O->{vsyncrange} && $O->{modelines};
+ devices::make("/dev/zero"); #- needed by ddcxinfos
my ($m, @l) = `ddcxinfos`;
$? == 0 or return $o;