[sane-devel] Creation of a scanner simmulator

Wayne Booth wbooth.clearscene at googlemail.com
Sat Oct 10 22:42:54 UTC 2009


Hi all,

I'm writing an application that uses sane for scanning.
As part of this application I have a test suite that exercises as much
of the program as possible.
Right now, that testing suite (in order to test the scanning parts)
requires a specific model of scanner to be plugged into the PC running
the app/test.
I am wanting to change the test-suite so that anyone (with scanning
equipped or not), will be able to test the app, including the scan
functions.

My first thought is to write a "scanner simulator" that pretends (to
the kernel) to be a real device. A 'sane back end' would then
communicate with this emulated device and the app.

Before I start such an adventure, I thought it would be a good idea to
check with sane-devel:
    1. In case, something has been done similar already. - Can anyone
point me in the right direction.
    2. if not, any ideas / suggestion / pointer, that might help in
achieving the goal.

(Needless to say, any outcome from the creation of such an emulator
will be contributed back to the sane-project, in order to help other
front-end developers.)

Cheers.

Wayne



More information about the sane-devel mailing list