From afce3636306d2c1c42e26db9b266580cb7d20f12 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Aug 2002 19:21:45 +0000 Subject: explain the fscking "Processor" need --- perl-install/detect_devices.pm | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.1