Epson FS200 Sane driver, download

This code is still very-alpha so be warned it will have quirks and bugs.
I play with this code about once every 6 months and often don't finish what I started, so there are lots of odd loose ends in here.
My scanner is running at the moment, and this version seems OK with fairly current sane backends. Note that for me the scanner is very much a background activity.. My primary motivation was to be able to use the scanner to scan my slides and negs.. These days I use a digital camera for many of the things I used to use the scanner for..

These files are a drop in replacement for the standard epson.c/h in the sane release. Thanks to some sterling work from Dave Hill, it will also work with a GT7000.
Basically only try this version if you know what you are doing and don't loose your old version! All the normal sane warnings apply. Sane backends poke directly at the raw SG devices. They can hang the SCSI bus.

Latest Version

This is the 17th June 2002 release. Its a dump of what I have here and not at all structured. Its just the old one now crashes (due to code rot I presume) with the newer sane releases.
There are 2 files you need, epson.c and epson.h.

General tips for using this version for positive SLIDES (I'm using xsane, but xscanimage would do) are..

Its worth noting that the "calibration" process stores its values per bay. They are reset when you "eject" the slide/neg carrier.

You can also adjust the colour correction used for scanning negs. I used a non-exposed frame and adjusted for equal values using some of the level-2 debug output.. To set new values, set the environment variable EPSON_NEGATIVE_CORRECTION to be the "G R B" values. Defaults are 142 134 146. Minimum value is 128.
In my latest playing I ended up with "150 142 157" which seems to get a full grey range and then not doing any calibration..

TBD** Actually I need to go back and work out what the code is doing now.. I've hacked at it so much that not even I know what it does.. I'll update this when I remember what I did..

Other stuff

Old version are here if anyone is interested. Thre are also some old notes of what I knew then command-wise. One day I'll do a new doc with more info..

Feedback, email: