summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-10 14:20:06 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-10 14:20:06 +0000
commit882dedb33586992923f779380cefec9ff6763bd0 (patch)
treedf9b03309c84cc586dd666e21ffd788a38a1e58e /perl-install/harddrake
parent0b6409cdaa2466cf2bd9f062bbac45a266e71cf8 (diff)
downloaddrakx-882dedb33586992923f779380cefec9ff6763bd0.tar
drakx-882dedb33586992923f779380cefec9ff6763bd0.tar.gz
drakx-882dedb33586992923f779380cefec9ff6763bd0.tar.bz2
drakx-882dedb33586992923f779380cefec9ff6763bd0.tar.xz
drakx-882dedb33586992923f779380cefec9ff6763bd0.zip
do not detect speakers as keyboards
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
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,
},