From 1a9643beb30e238fda21978d41e8c7af6b18cffb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Aug 2002 11:40:31 +0000 Subject: old hp scanners report themselves as "Processor"s as : - tested in hw lab - written in linux/include/scsi/scsi.h: "TYPE_PROCESSOR.*HP scanners use this" - reported by sane-find-sane: "old HP scanners use the CPU id" --- perl-install/scanner.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/scanner.pm') diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm index 502237c19..fccca25e8 100755 --- a/perl-install/scanner.pm +++ b/perl-install/scanner.pm @@ -66,7 +66,7 @@ sub detect { ++$i; } foreach (grep { $_->{media_type} =~ /scanner/ } detect_devices::getSCSI()) { - push @res, { port => "/dev/usb/scanner$i", + push @res, { port => "/dev/sg", val => { DESCRIPTION => $_->{info} }, }; ++$i; -- cgit v1.2.1