diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-04 17:11:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-04 17:11:37 +0000 |
commit | a9d21c994278a099749364ab42bc61b237479053 (patch) | |
tree | 1e3776d7fdde4f1094321e0ef77fad429e195a56 /perl-install/harddrake | |
parent | ebd589dd4624dfa3b8d3f0862bd26186c4964c9c (diff) | |
download | drakx-a9d21c994278a099749364ab42bc61b237479053.tar drakx-a9d21c994278a099749364ab42bc61b237479053.tar.gz drakx-a9d21c994278a099749364ab42bc61b237479053.tar.bz2 drakx-a9d21c994278a099749364ab42bc61b237479053.tar.xz drakx-a9d21c994278a099749364ab42bc61b237479053.zip |
detect PS2 to USB converters as keyboards
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 373745800..bd6021a01 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -470,7 +470,7 @@ our @tree = icon => "hw-keyboard.png", configurator => "$sbindir/keyboarddrake", detector => sub { - f(grep { $_->{description} =~ /Keyboard/i } @devices), + f(grep { $_->{description} =~ /Keyboard/i || $_->{media_type} =~ /Subclass\|Keyboard/i } @devices), # USB devices are filtered out since we already catch them through probeall(): grep { $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' && $_->{description} !~ /PC Speaker/ } detect_devices::getInputDevices(); }, |