diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-30 10:41:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-30 10:41:31 +0000 |
commit | c54e2adacb182a73cc069c76b9aa19e159c113d2 (patch) | |
tree | e63a475ecce6efefa180ca3208c2b1e1c71d2156 /perl-install/harddrake | |
parent | 273b0c0c9e93f6c027d8e203dc3b84a0f4def519 (diff) | |
download | drakx-backup-do-not-use-c54e2adacb182a73cc069c76b9aa19e159c113d2.tar drakx-backup-do-not-use-c54e2adacb182a73cc069c76b9aa19e159c113d2.tar.gz drakx-backup-do-not-use-c54e2adacb182a73cc069c76b9aa19e159c113d2.tar.bz2 drakx-backup-do-not-use-c54e2adacb182a73cc069c76b9aa19e159c113d2.tar.xz drakx-backup-do-not-use-c54e2adacb182a73cc069c76b9aa19e159c113d2.zip |
ensure we detect all known sound cards
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 1e600a55e..d07948faf 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -163,7 +163,11 @@ our @tree = string => N("Soundcard"), icon => "sound.png", configurator => "$sbindir/draksound", - detector => sub { f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO/ } @devices) }, + detector => sub { + require list_modules; + my @modules = list_modules::category2modules('multimedia/sound'); + f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO/ || member($_->{driver}, @modules) } @devices); + }, checked_on_boot => 1, }, |