diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-10 05:49:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-10 05:49:42 +0000 |
commit | c60ce253075b1b76d6d38a8294b90777ebbef925 (patch) | |
tree | 46ad2286e58d7c20b074c164f417118691d6e2ad /perl-install/harddrake | |
parent | 60a92272913dada667a512b4e698590dd12ca048 (diff) | |
download | drakx-backup-do-not-use-c60ce253075b1b76d6d38a8294b90777ebbef925.tar drakx-backup-do-not-use-c60ce253075b1b76d6d38a8294b90777ebbef925.tar.gz drakx-backup-do-not-use-c60ce253075b1b76d6d38a8294b90777ebbef925.tar.bz2 drakx-backup-do-not-use-c60ce253075b1b76d6d38a8294b90777ebbef925.tar.xz drakx-backup-do-not-use-c60ce253075b1b76d6d38a8294b90777ebbef925.zip |
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
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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, }, |