I wrote a scanning program that uses the Sane library eight or nine years ago, and have been using it happily, since then. A couple of weeks ago, it occurred to me the machines to which the scanners are connected hadn't had their OSes upgraded in at least three years. Unfortunately, upgrading them broke my program, and I can't figure out why.

The scanners are Fujitsu fi-6770djs, with both document feeders and flatbeds. If we stick with the document feeders, everything is fine. If we scan on the flatbed, then switch back to the document feeder, sane_start returns SANE_STATUS_INVAL. Restarting the program resets everything and allows us to use the document feeder, again. Now, I know that when you use the document feeder, the page dimensions have to be specified with page-length/page-width, while the flatbed requires tl-x/tl-y/br-x/br-y, and my program accounts for that.

I tried moving some stuff around so all the options are set right before sane_start is called (rather than immediately after the user sets them), but that didn't help.

I tried previous versions of the Sane library, from 1.0.22 to 1.0.27; didn't help.

The actual debug output was 14 meg, so I trimmed it a little. Places where I did that are denoted with "...".

I get that the thing that obviously changed is the operating system (Linux Mint 16 to Ubuntu 16.04), but I wouldn't even know where to start to figure out how that's affecting my stuff, and of course, I can't go back, because none of the repositories are storing it, anymore. If anyone can point me in a direction that might help, it would be greatly appreciated.

Thanks

The information contained in this email is proprietary, confidential and only for the use of the intended recipient. If you are not the intended recipient, note that any disclosure, distribution, or copying of this email is strictly prohibited. If you have received this email in error, please destroy it and notify us immediately at the number noted above.

--"well, I stand up next to a mountain- and I chop it down with the edgeof my hand"--sane-devel mailing list: sane-***@lists.alioth.debian.orghttp://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-develUnsubscribe: Send mail with subject "unsubscribe your_password"