From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4f45c9624fcb43b3,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-06 09:51:26 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!koriel!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!news.sprintlink.net!demon!betanews.demon.co.uk!ncgrafix.demon.co.uk!mark From: mark@ncgrafix.demon.co.uk (Mark Wassell) Subject: Generic SCSI and Scanners Message-ID: Keywords: SCSI Scanner Generic Sender: news@ncgrafix.demon.co.uk (News Keeper) NntpPostingHost: oa2 ReplyTo: mark@ncgrafix.demon.co.uk Organization: N.C.Graphics Date: Fri, 6 Jan 1995 17:51:26 GMT We're trying to port a little program (hpscanpbm) that drives an HP scanner under Linux onto an OSF1 Alpha (V1.3 and later). Under Linux this does its work through a generic SCSI device. Is there such a device under OSF1? If not then I suppose I would be looking for either: 1. A set of 'generic SCSI' access routines that operate at the user level that we can slot into hpscanpbm. 2. A device driver (and information on how to install it!) for a generic SCSI driver. There is an example of a similar in the Device Driver CDROM online documentation but I haven't a clue on how to go about installing it I would prefer to get (1). I'm pretty hopeful that this is the route to go as I have: 1. Managed to hook up the scanner to the bus and got 'scu' to print its device information etc 2. Written a little program that opens /dev/cam and does an ioctl() call to do a 'CAM SCAN' (which I presume is equivalent to scu's 'scan edt'. How to get it to do more complex things via ioctl() I, again, haven't a clue. Thanks in advance. ___ ___ |\ | | Mark Wassell | \ |\ \ | N.C. Graphics, | \| \__ \__| Waterbeach, Cambridge N.C. Graphics (Cambridge) Ltd. Tel:(0223) 861539 UK, CB5 9NN Waterbeach Gateway to the fens. In Chatteris no one can hear you scream