From a9d21c994278a099749364ab42bc61b237479053 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 4 Sep 2007 17:11:37 +0000 Subject: detect PS2 to USB converters as keyboards --- perl-install/NEWS | 2 ++ perl-install/harddrake/data.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 5361d0118..fc37123ce 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,8 @@ o enumerate generic SCSI devices again - diskdrake o add a comment (a la ubuntu) in fstab when using UUID= +- harddrake + o detect PS2 to USB converters as keyboards Version 10.4.184 - 3 September 2007, by Thierry Vignaud 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(); }, -- cgit v1.2.1