summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-09-15 16:08:12 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-09-15 16:08:12 +0000
commit34061a6d5814ec913c044861d5e6a3f38ac7ec9c (patch)
tree21a7296f4368e35031417bd5c0271403a8b79ed9 /perl-install/printer/main.pm
parent12d37fe828e9660896c9a26c556074aea4950e5e (diff)
downloaddrakx-backup-do-not-use-34061a6d5814ec913c044861d5e6a3f38ac7ec9c.tar
drakx-backup-do-not-use-34061a6d5814ec913c044861d5e6a3f38ac7ec9c.tar.gz
drakx-backup-do-not-use-34061a6d5814ec913c044861d5e6a3f38ac7ec9c.tar.bz2
drakx-backup-do-not-use-34061a6d5814ec913c044861d5e6a3f38ac7ec9c.tar.xz
drakx-backup-do-not-use-34061a6d5814ec913c044861d5e6a3f38ac7ec9c.zip
Added workaround to make HP PSC 1xxx and OfficeJet 4xxx really working.
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 6dab5afb7..d692f79d9 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -2186,6 +2186,17 @@ sub configure_hpoj {
# Check if the device is really an HP multi-function device
#my $libusb = 0;
foreach my $libusb (0, 1) {
+ # Preliminary workaround to make the user-mode USB devices
+ # (LIDIL devices) installable as verification of the HPOJ
+ # settings of these devices does not work yet. The workaround
+ # will probably removed after Mandrake 9.2.
+ # Note: This workaround leaves out the checking for a photo
+ # memory card reader, but to my knowledge there are no LIDIL
+ # devices with card reader yet.
+ if ($libusb) {
+ $device_ok = 1;
+ next;
+ }
# Do access via libusb/user mode only if we have a USB device
next if ($libusb && ($bus ne "usb"));
my $printermoduleunloaded = 0;