[sane-devel] Requirements for backend

Gerard Klaver gerard at gkall.hobby.nl
Fri Aug 17 17:03:37 UTC 2007

On Thu, 2007-08-16 at 18:19 -0500, Miguel wrote:
> Hello,
> I've just finished a releasable backend for a kodak i1320, it works
> fine and fast... if you don't mind it only scans at 200dpi, duplex,
> and 8bit gray.
> Which are the needed steps for releasing the code to SANE?
> The scanner has a pair of weird things like 2 bulk-out (usb)
> endpoints, so it's done using libusb directly; also the "threading"
> (it does stuff using procesess, so why it's called thread?) model of
> sanei_thread is rachitical, so using pthreads.
> Some one of you said someday that the firmware may be copyrighted, and
> that is incompatible with SANE, so how do the firmware is distributed?
> Thanks
> -- 
> There are two kinds of light--the glow that illuminates, and the glare
> that obscures.
>   - James Thurber
> Miguel Ruiz Velasco
> Open Key Server
> PGP key 0x5931109

For devices which have 2 bulk-out endpoints support by sanei_usb is not
provided as you noted.

See this page for a patch for sanei_usb_read_bulk_ep.
(sanei_usb.c and sanei_usb.h files), use only the sanei_usb_read_bulk_ep

In a few weeks i expect to add these parts to SANE cvs.

Gerard Klaver

More information about the sane-devel mailing list