WIP: backend/avision: Kodak i1120 support
Since Kodak i1120 in fact is an Avision scanner, I tried to add support for it to the avision backend but I have some issues. Maybe you have a hint for me. If I get it working you'll get a pull request from me ;)
Patch:
--- a/backend/avision.c
+++ b/backend/avision.c
@@ -898,6 +898,12 @@ static Avision_HWEntry Avision_Device_List [] =
AV_INT_BUTTON},
/* status="good" */
+ { NULL, NULL,
+ 0x040a, 0x6013,
+ "Kodak", "i1120",
+ AV_INT_BUTTON | AV_CANCEL_BUTTON},
+ /* status="good" */
+
{ "iVina", "1200U",
0x0638, 0x0268,
"iVina", "1200U",
Scanning front OR back works. I have no clue where those shiny borders come from on the back side. The front looks nice.
When I run a duplex scan, scanimage scans the page. After the scanner is finished, scanimage pauses some seconds, then says "Scanning page 2." Hm. The scanner scans back and front side simultaneously. Is this intended behaviour?
$ scanimage --resolution 5 --source "ADF Duplex" -b --format tiff
scanimage: rounded value of resolution from 5 to 75
Scanning infinity pages, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
<pause>
Scanning page 2
Scanned page 2. (scanner status = 5)
Scanning page 3
scanimage: sane_start: Document feeder out of documents
Batch terminated, 2 pages scanned
The duplex scan above outputs two files, out1.tiff and out2.tiff I would expect the front side in out1.tiff and the back side in out2.tiff but I have both pages in both files one above the other.
Any ideas what's going on here?