diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-12-09 17:24:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-12-09 17:24:11 +0000 |
commit | a8eb5be8b4e391834a8d65cd4060e5be7f57215f (patch) | |
tree | e17bfae65ef9dcf4b2448cda005513c1f6ca3cb1 /perl-install/harddrake | |
parent | f3c88fd13a336f1d9cdf98859ec222108bc486da (diff) | |
download | drakx-backup-do-not-use-a8eb5be8b4e391834a8d65cd4060e5be7f57215f.tar drakx-backup-do-not-use-a8eb5be8b4e391834a8d65cd4060e5be7f57215f.tar.gz drakx-backup-do-not-use-a8eb5be8b4e391834a8d65cd4060e5be7f57215f.tar.bz2 drakx-backup-do-not-use-a8eb5be8b4e391834a8d65cd4060e5be7f57215f.tar.xz drakx-backup-do-not-use-a8eb5be8b4e391834a8d65cd4060e5be7f57215f.zip |
do not show duplicated hardware as unknown (#46242): * list PC Speaker as sound card
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 13c0f303f..f51350a32 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -303,7 +303,8 @@ our @tree = detector => sub { require list_modules; my @modules = list_modules::category2modules('multimedia/sound'); - f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO/ || member($_->{driver}, @modules) } @devices); + f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO/ || member($_->{driver}, @modules) + || $_->{description} =~ /PC Speaker/ } @devices); }, checked_on_boot => 1, }, |