Subject: Re: Using the scanner interface /dev/sc0
To: Clarence Wilkerson <wilker@MATH.Purdue.EDU>
From: David Brownlee <david@mono.org>
List: current-users
Date: 02/11/1997 13:56:36
On Tue, 11 Feb 1997, Clarence Wilkerson wrote:
>
> I got a new HP ScanJet 5P and am trying to hook it up to my Sparc IPX
> NetBSD-current machine. I configured a kernel with ss* enabled, and
> recompiled. I added a couple of strings to the detection routines
> in /usr/src/sys/scsi, and the scanner is correctly reported on boot up :
>
> Feb 10 19:41:04 /netbsd: ss0 at scsibus0 targ 5 lun 0: <HP, C5110A, 3638> SCSI2
> 3/processor fixed
> Feb 10 19:41:04 /netbsd: ss0: HP ScanJet 5P
>
>
> Now I need to know:
>
> 1) the correct mknod parameters for /dev/ss0
>
From /sys/arch/sparc/sparc/conf.c
cdev_scanner_init(NSS,ss), /* 59: SCSI scanner */
Suggest you add the following to /dev/MAKEDEV (and if it
everything works submit the patches for the changes in a pr :)
ss*)
case $i in
ss*) name=ss; unit=${i#ss}; chr=59;;
esac
rm -f $name$unit n$name$unit
mknod $name$unit c $chr $(($unit * 16 + 0))
mknod n$name$unit c $chr $(($unit * 16 + 1))
chgrp operator $name$unit n$name$unit
chmod 640 $name$unit n$name$unit
;;
> 2) is this device a "pint" compliant interface? An/or how can I scan ?
>
Yes - its PINT
http://www.nicom.com/%7Edadbear/pint/ should have the info you
need :)
Good luck!
David/abs david@{mono.org,southern.com,mhm-internet.com}
Thought for : Loathing the way "Don't cry for me Argentina" has
the day : been bastardized by Madonna into a 'disco' song.