From 048fca6fe0755010660f89ec48c6268e97dff623 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 10 Dec 2011 05:49:42 +0000 Subject: harddrake: prevent detecting some soft modems as scanners (mga#2753) as usual sane-find-scanner is reporting wrongly too many devices, so we must filter them Here, let's filter harder soft modems --- perl-install/harddrake/data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/harddrake/data.pm') diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 9cfebe7fb..d0d604599 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -410,7 +410,7 @@ our @tree = string => N("Modem"), icon => "modem.png", configurator => "$sbindir/drakconnect", - detector => sub { f(detect_devices::getModem($modules_conf)) }, + detector => sub { f(detect_devices::getModem($modules_conf)), f(grep { $_->{description} =~ /SoftModem/ } @devices) }, # we do not check these b/c this need user interaction (auth, ...): checked_on_boot => 0, }, -- cgit v1.2.1