diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-01-06 15:42:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-01-06 15:42:39 +0000 |
commit | a38afbec4aa8e54c27bd72d81fed2630930875a3 (patch) | |
tree | 8d12ba2700f626dc8ea4937caa0150cf54c1ba7e /perl-install/harddrake/data.pm | |
parent | 23c9a2b27c56d247361b366f45c807162f07ad13 (diff) | |
download | drakx-a38afbec4aa8e54c27bd72d81fed2630930875a3.tar drakx-a38afbec4aa8e54c27bd72d81fed2630930875a3.tar.gz drakx-a38afbec4aa8e54c27bd72d81fed2630930875a3.tar.bz2 drakx-a38afbec4aa8e54c27bd72d81fed2630930875a3.tar.xz drakx-a38afbec4aa8e54c27bd72d81fed2630930875a3.zip |
fix displaying in proper category sound coprocessor & misc ACPI event keys NEWS harddrake
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r-- | perl-install/harddrake/data.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index d02028eac..dd8686752 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -312,7 +312,7 @@ our @tree = detector => sub { require list_modules; my @modules = list_modules::category2modules('multimedia/sound'); - f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO/ || member($_->{driver}, @modules) + f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO|PROCESSOR_CO/ || member($_->{driver}, @modules) || $_->{description} =~ /PC Speaker/ } @devices); }, checked_on_boot => 1, @@ -487,7 +487,7 @@ our @tree = detector => sub { f(grep { $_->{description} =~ /Keyboard/i || $_->{media_type} =~ /Subclass\|Keyboard/i || # USB devices are filtered out since we already catch them through probeall(): - $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' && $_->{description} !~ /PC Speaker/; + $_->{bus} ne 'usb' && $_->{driver} =~ /^event|kbd/ && $_->{description} !~ /PC Speaker/; } @devices); }, checked_on_boot => 0, |