[sane-devel] where to put firmware files?

Major A andras at users.sourceforge.net
Sat Oct 5 17:27:30 BST 2002


> > 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 at users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================



More information about the sane-devel mailing list