From c54e2adacb182a73cc069c76b9aa19e159c113d2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 30 Mar 2005 10:41:31 +0000 Subject: ensure we detect all known sound cards --- perl-install/harddrake/data.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, }, -- cgit v1.2.1