summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/detect.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2004-02-14 04:29:30 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2004-02-14 04:29:30 +0000
commit3f00e6d14d872e59fd3998b874d9bf1bc627462f (patch)
treee30c3c354132bde49e69199e168e0ae16ac3c20f /perl-install/printer/detect.pm
parentea18f4fa055bc224d956f9b626f60938b9c7e08d (diff)
downloaddrakx-backup-do-not-use-3f00e6d14d872e59fd3998b874d9bf1bc627462f.tar
drakx-backup-do-not-use-3f00e6d14d872e59fd3998b874d9bf1bc627462f.tar.gz
drakx-backup-do-not-use-3f00e6d14d872e59fd3998b874d9bf1bc627462f.tar.bz2
drakx-backup-do-not-use-3f00e6d14d872e59fd3998b874d9bf1bc627462f.tar.xz
drakx-backup-do-not-use-3f00e6d14d872e59fd3998b874d9bf1bc627462f.zip
Let printerdrake load the "usblp" instead of the "printer" kernel module if kernel 2.6.x is used.
Diffstat (limited to 'perl-install/printer/detect.pm')
-rw-r--r--perl-install/printer/detect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index e1583e311..28cb2a02c 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -4,9 +4,10 @@ use strict;
use common;
use modules;
use detect_devices;
+use printer::data;
sub local_detect() {
- modules::get_probeall("usb-interface") and eval { modules::load("printer") };
+ modules::get_probeall("usb-interface") and eval { modules::load($usbprintermodule) };
eval { modules::unload(qw(lp parport_pc parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again
eval { modules::load(qw(parport_pc lp)) }; #- take care as not available on 2.4 kernel (silent error).
whatPrinter();