* Generic SCSI and Scanners
@ 1995-01-06 17:51 Mark Wassell
1995-01-13 3:28 ` Sam Weiner
0 siblings, 1 reply; 2+ messages in thread
From: Mark Wassell @ 1995-01-06 17:51 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Generic SCSI and Scanners
1995-01-06 17:51 Generic SCSI and Scanners Mark Wassell
@ 1995-01-13 3:28 ` Sam Weiner
0 siblings, 0 replies; 2+ messages in thread
From: Sam Weiner @ 1995-01-13 3:28 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-01-13 3:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-06 17:51 Generic SCSI and Scanners Mark Wassell
1995-01-13 3:28 ` Sam Weiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox