I've got a SCSI scanner plugged in to a
MicroVAX 4000. Using the open source
"sane" portable scanning package, suitably tweaked for VMS, I can scan quite
That 'suitably tweaked for VMS' worries me a little. I am not a
programmer, I am not sure I could do things like that.
I'm not a programmer either but I never let that stop me.
I added about 270 lines to sanei_scsi.c (including blank lines, (few) comments,
debugging, error checking and assorted fluff) to implement a VMS version of the
routine sanei_scsi_cmd2(), some of which I copied from the existing routine and
to add routines vms_open_device() and vms_close_device(). The added code
doesn't do anything more complicated than call system routines such as
sys$assign(), sys$qiow() and sys$dassgn() and was practically lifted from
"Generic SCSI Class Driver Programming Example" in the VMS I/O Users Reference
Manual: Part I. I also added another 76 lines to do a quick hack translate of
calls to syslog() into calls to sys$sndopr() as VMS doesn't have syslog().
Finally, I created a suitable config.h containing mainly #defines and gruesome
hacks. The rest pretty much compiled as-is. (I didn't compile all of sane -
just the bits I needed to for my scanner). It won't win any awards, but it
seems to work.
Besides, you don't have to do it - I've already done it!
(If you want software for a PERQ, maybe someone else can help)
In any case there are really only 2 clases of VAXen I would want to try
running. One is the 11/780 and its brothers (11/782, 11/785), the other
is the 11/730 (and I guess 11/725). The former is too large for me to
accomodate at the moment, so it would have to be the latter. And I
suspect Unibus SCSI cards are not easy to find anyway...
You could always build one :-)
In any case, thos diesn;t get round the problem (for me) of fidnign a
scanner I could repair.
I think we've addressed all the other difficulties. We can't be expected to
cover everything :-)
Regards,
Peter Coghlan.