I have enough docs at this point to figure out the required commands to write to the eeprom, but I agree that it is not something I'd implement as part of SANE. Perhaps a standalone program would be useful for someone who did not have a windows machine available.
allan On Sat, Mar 21, 2020 at 9:49 AM Max Voit <max.voit+m...@with-eyes.net> wrote: > > On Sun, 8 Mar 2020 21:42:40 -0400 > "m. allan noah" <kitno...@gmail.com> wrote: > > > Hmm, the X offset setting is controlled by the scanner itself. It is > > stored somewhere in the scanner firmware, but I'm not sure how we > > write to it. I can ask my contacts at Fujitsu for information. > > Thank you for your help, Allan. > > After hooking up a Windows machine, I realized that the Windows driver > also provides a "settings" page. There it's possible to set the offsets. > It says it's writing to eeprom, so the setting is persistently stored > in the device. Thus, after configuring the offsets from Windows, scan > results have correct offsets with sane as well. > > Unfortunately I was unable to aquire usb logs of the eeprom writing > procedure. I installed wireshark and pcap-usb, but it doesn't show a usb > capturing device. Hints on that would be appreciated. > > On the other hand I'm not sure whether writing to the eeprom is not out > of scope of sane? > > Best regards, > Max -- "well, I stand up next to a mountain- and I chop it down with the edge of my hand"