[sane-devel] where to put firmware files?

Major A andras@users.sourceforge.net
Sat, 5 Oct 2002 17:27:30 +0100


> > This will avoid potential name-clashes for the firmware files (or any other
> >  backend-specific files).  What is the chance that two different backends
> >  will use identical firmware files?
> 
> If they support similar scanners, the chnce is not that low. The
> gt68xx firmware files have names like sbfw.usb or ps1.usb that may be
> used by other scanners, too.

Yes, but the firmware usually contains all the code that drives the
scanner, including USB endpoint handling code. Therefore two scanners
with the same firmware would have the same command protocol, thus they
should be handled by the same backend anyway.

Maybe a naming convention would be most appropriate? Say, instead of
subdirectories backend1 and backend2, one would create images called
backend1-ps1.usb and backend2-sbfw.usb or so.

  Andras

===========================================================================
Major Andras
    e-mail: andras@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================