Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: sam@iii1.iii.net (Sam Weiner)
Subject: Re: Generic SCSI and Scanners
Date: 12 Jan 1995 22:28:08 -0500	[thread overview]
Message-ID: <3f4s0r$6qh@iii1.iii.net> (raw)
In-Reply-To: D1zw9r.J2B@ncgrafix.demon.co.uk

In article <D1zw9r.J2B@ncgrafix.demon.co.uk> mark@ncgrafix.demon.co.uk (Mark Wassell) writes:
:
: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.
:
	Actually, you are on the right road.  Using /dev/cam, you can send
arbitrary SCSI command blocks (CDBs) to devices.  scu uses this mechanism.
There should be a manual on using CAM to do this (there was for ULTRIX but
I don't have access to the OSF/1 list.)  Is this what those examples are
trying to show?

	Sam



      reply	other threads:[~1995-01-13  3:28 UTC|newest]

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