summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-25 16:22:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-30 11:17:05 +1000
commit3e6f95ef2e8c3032452c8537b922c42a787afd61 (patch)
treefb3c023fb8219534229dab22659e044d39fba69a
parentbb83788fb93d6c8909e83580cd235f8cee9f110f (diff)
XOrg: PreInit failures means the device isn't present
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-xXOrg/xorglog.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/XOrg/xorglog.pm b/XOrg/xorglog.pm
index 0f20a3c..17ad23d 100755
--- a/XOrg/xorglog.pm
+++ b/XOrg/xorglog.pm
@@ -228,6 +228,8 @@ sub _parse_input_drivers {
$dev->add_option($1, $2);
} elsif ($_ =~ m|$time_regex \(II\) No input driver/identifier specified \(ignoring\)|) {
$dev->present(0);
+ } elsif ($_ =~ /$time_regex \(EE\) PreInit returned \d+ for "$dev->name"/) {
+ $dev->present(0);
}
}
}