From 3e6f95ef2e8c3032452c8537b922c42a787afd61 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 25 Jul 2011 16:22:12 +1000 Subject: XOrg: PreInit failures means the device isn't present Signed-off-by: Peter Hutterer --- XOrg/xorglog.pm | 2 ++ 1 file changed, 2 insertions(+) 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); } } } -- cgit v1.2.3