summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-08 19:21:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-08 19:21:45 +0000
commitafce3636306d2c1c42e26db9b266580cb7d20f12 (patch)
tree7fd562173b569af68b51cc0580419b054d949de6
parentf1d032c2748f079abad362d37a4d1deb6e77f1ab (diff)
downloaddrakx-backup-do-not-use-afce3636306d2c1c42e26db9b266580cb7d20f12.tar
drakx-backup-do-not-use-afce3636306d2c1c42e26db9b266580cb7d20f12.tar.gz
drakx-backup-do-not-use-afce3636306d2c1c42e26db9b266580cb7d20f12.tar.bz2
drakx-backup-do-not-use-afce3636306d2c1c42e26db9b266580cb7d20f12.tar.xz
drakx-backup-do-not-use-afce3636306d2c1c42e26db9b266580cb7d20f12.zip
explain the fscking "Processor" need
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 6f5086a0e..f046873aa 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -193,6 +193,8 @@ sub getSCSI() {
put_in_hash $_, { device => "scd$::i", media_type => 'cdrom' };
} grep { $_->{raw_type} =~ /CD-ROM|WORM/ } @l;
+ # Old hp scanners report themselves as "Processor"s
+ # (see linux/include/scsi/scsi.h and sans-find-scanner.1)
each_index {
put_in_hash $_, { media_type => 'scanner' };
} grep { $_->{raw_type} =~ /Scanner/ || $_->{raw_type} =~ /Processor /} @l;