[sane-devel] SANE OS X 10.3 Install Problems

Randolph Fritz randolph@panix.com
Sun, 23 Nov 2003 12:28:58 -0800


On Sun, Nov 23, 2003 at 02:34:40PM +0100, Henning Meier-Geinitz wrote:
> Hi,
> 
> On Fri, Nov 21, 2003 at 08:52:38PM -0800, Randolph Fritz wrote:
> > Would that this was that simple!  The new Mac OS X "SCSI Architecture
> > Model" is misnamed; it is a grand unified transport layer, covering
> > "SCSI, USB (Storage), FireWire SBP2 and ATAPI".  So this may be the
> > story for a lot of different scanners in 10.3 and later versions of Mac
> > OS.  Or maybe not, depending on how many manufacturers adopt it.
> > 
> > Perhaps it would be a good idea to start a
> > sanei_osx_scsi_architecture_family file?
> 
> And that would be #included in sanei_scsi.c? Otherwise we would need
> to link every backend to that object just for MacOS X. I don't think
> that that would make sense.
> 

I think, probably, a better approach would be to have sanei_osx_SAM.c.
But, the API is very new, and Apple plans on offering their own
standard scanner driver ("In later versions of Mac OS X, however, the
mass storage stack will include support for other SCSI peripheral
devices, such as scanners."), so it may be best to wait on that.

Meantime, I tried removing fork() from the SCSI driver on OS X (the
job has already been done for OS/2, so it was simple) and I still have
my scanner problem.  Bah!

Randolph

Ref:
<http://developer.apple.com/documentation/DeviceDrivers/Conceptual/MassStorage/01_About/index.html?http://developer.apple.com/documentation/DeviceDrivers/Conceptual/MassStorage/01_About/chapter_1_section_1.html>