plustek@linuxhacker.org
plustek@linuxhacker.org
First let me rethank everyone involved with this for their hard work; I've enjoyed the
fruits of your labour!
I was rereading the driver information and as the per the "known problems", some plustek
models do
not have a sensor to check the upper end of the scan area.
It is also mentioned that this could result in the scanner going beyond the supported
scan
area possibly resulting in a damaged scanner.
Now concerning my question:
Correct me if I'm wrong, but doesn't the driver knows where the ccd is at any given
moment, or at least where
it is in relation to it's starting point?
What if a new function was created with an internal counter (call this CURRENT_POSITION)
which
would track the distance it has moved, and then subtract that from some user-setting?
The user-setting (call it MAX_TRAVEL) itself would of course be the maximum physical
travel distance allowed by the scanner driver and could be implemented
within ./config, or dynamically as a one-line file containing the scanner's maximum
dimensions. Once CURRENT_POSITION equals MAX_TRAVEL then
the driver would consider the scan complete and voila! No more overscanning, and no
danger that
the device will be damaged.
Marc.
plustek@linuxhacker.org