summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2004-08-19 07:30:14 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2004-08-19 07:30:14 +0000
commitf17a8bd2dfa3fc0506ca95872f8db03ea2c2de6e (patch)
treec56bc0cc1a14b0e1b79ab478b9fe7310d62962a3 /perl-install/printer
parent1365fad469e29a56d1d459b8419ae288c685da10 (diff)
downloaddrakx-f17a8bd2dfa3fc0506ca95872f8db03ea2c2de6e.tar
drakx-f17a8bd2dfa3fc0506ca95872f8db03ea2c2de6e.tar.gz
drakx-f17a8bd2dfa3fc0506ca95872f8db03ea2c2de6e.tar.bz2
drakx-f17a8bd2dfa3fc0506ca95872f8db03ea2c2de6e.tar.xz
drakx-f17a8bd2dfa3fc0506ca95872f8db03ea2c2de6e.zip
Fix problem of the "usblp" kernel module not loaded before local printer auto-detection.
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/detect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index c1f4f3aaa..99a1bddeb 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -7,7 +7,7 @@ use detect_devices;
use printer::data;
sub local_detect() {
- modules::any_conf->read->get_probeall("usb-interface") and eval { modules::load($usbprintermodule) };
+ modules::any_conf->vnew->read->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();