From 882dedb33586992923f779380cefec9ff6763bd0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 10 Feb 2005 14:20:06 +0000 Subject: do not detect speakers as keyboards --- perl-install/harddrake/data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 48fc019af..94c04810a 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -373,7 +373,7 @@ our @tree = detector => sub { f(grep { $_->{description} =~ /Keyboard/i } @devices), # USB devices are filtered out since we already catch them through probeall(): - grep { $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' } detect_devices::getInputDevices(); + grep { $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' && $_->{description} !~ /PC Speaker/ } detect_devices::getInputDevices(); }, checked_on_boot => 0, }, -- cgit v1.2.1