Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mark@ncgrafix.demon.co.uk (Mark Wassell)
Subject: Generic SCSI and Scanners
Date: Fri, 6 Jan 1995 17:51:26 GMT	[thread overview]
Message-ID: <D1zw9r.J2B@ncgrafix.demon.co.uk> (raw)


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


             reply	other threads:[~1995-01-06 17:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-06 17:51 Mark Wassell [this message]
1995-01-13  3:28 ` Generic SCSI and Scanners Sam Weiner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox