[sane-devel] TPU functionality in epson2-backend.

2011-12-05 Thread Olaf Meeuwissen
Martin Zackrisson writes: > On 11/30/2011 05:51 PM, m. allan noah wrote: >> SANE_DEBUG_EPSON2=255 scanimage [args here] 2>tpu.log >> >> then look in tpu.log >> >> allan >> > Thanks. > > Just for reference, I now have the programming guide for the scanner > and it seems that the capability that I'

[sane-devel] TPU functionality in epson2-backend.

2011-12-05 Thread Martin Zackrisson
On 2011-12-05 04:48, Olaf Meeuwissen wrote: > Martin Zackrisson writes: > >> On 11/30/2011 05:51 PM, m. allan noah wrote: >>> SANE_DEBUG_EPSON2=255 scanimage [args here] 2>tpu.log >>> >>> then look in tpu.log >>> >>> allan >>> >> Thanks. >> >> Just for reference, I now have the programming guide

[sane-devel] TPU functionality in epson2-backend.

2011-12-01 Thread Chris Bagwell
I just saw this commit so looks like its in now. The following commit has been merged in the master branch: commit 56cac490f968008084cb88604ec633659bd36dae Author: Alessandro Zummo Date: Fri Dec 2 00:27:28 2011 +0100 epson2: support TPU2 on GT-X800/V700 On Thu, Dec 1, 2011 at 5:41 AM, Mart

[sane-devel] TPU functionality in epson2-backend.

2011-12-01 Thread Martin Zackrisson
> Just for reference, I now have the programming guide for the scanner > and it seems that the capability that I'm looking to implement in fact > is structured as a second TPU-mode and not a setting in the current > TPU mode. So I'll get back to scratch and see if I can push it into > TPU 2 i

[sane-devel] TPU functionality in epson2-backend.

2011-12-01 Thread Martin Zackrisson
On 11/30/2011 05:51 PM, m. allan noah wrote: > SANE_DEBUG_EPSON2=255 scanimage [args here] 2>tpu.log > > then look in tpu.log > > allan > Thanks. Just for reference, I now have the programming guide for the scanner and it seems that the capability that I'm looking to implement in fact is struc

[sane-devel] TPU functionality in epson2-backend.

2011-11-30 Thread Martin Zackrisson
On 11/30/2011 04:53 PM, m. allan noah wrote: > Are you sure you are really running your modified version of the > backend? have you enabled debugging at runtime? > I use prefix in ./configure and then in the folder I install it i run ./scanimage so I should be using my modified version as far as I

[sane-devel] TPU functionality in epson2-backend.

2011-11-30 Thread Martin Zackrisson
On 11/29/2011 07:09 PM, m. allan noah wrote: > I would suggest that you NOT start with making options and such. > Instead, just hard-code the call to set the data in the scanner, > whenever the tpu is enabled/disabled. Once you have that working, then > try to make it user selectable. I switched

[sane-devel] TPU functionality in epson2-backend.

2011-11-30 Thread m. allan noah
SANE_DEBUG_EPSON2=255 scanimage [args here] 2>tpu.log then look in tpu.log allan On Wed, Nov 30, 2011 at 11:26 AM, Martin Zackrisson wrote: > On 11/30/2011 04:53 PM, m. allan noah wrote: >> >> Are you sure you are really running your modified version of the >> backend? have you enabled debuggin

[sane-devel] TPU functionality in epson2-backend.

2011-11-30 Thread m. allan noah
Are you sure you are really running your modified version of the backend? have you enabled debugging at runtime? allan On Wed, Nov 30, 2011 at 8:07 AM, Martin Zackrisson wrote: > > > On 11/29/2011 07:09 PM, m. allan noah wrote: >> >> I would suggest that you NOT start with making options and suc

[sane-devel] TPU functionality in epson2-backend.

2011-11-29 Thread Martin Zackrisson
On 11/24/2011 12:27 AM, Olaf Meeuwissen wrote: > Martin Zackrisson writes: > >> I've dug through the code and made copy/paste/rename adjustments >> everywhere it seemed reasonable (first day with c-code...). This will >> probably more show how lost I am than anything else, but below are the >> di

[sane-devel] TPU functionality in epson2-backend.

2011-11-29 Thread m. allan noah
I would suggest that you NOT start with making options and such. Instead, just hard-code the call to set the data in the scanner, whenever the tpu is enabled/disabled. Once you have that working, then try to make it user selectable. allan On Tue, Nov 29, 2011 at 11:14 AM, Martin Zackrisson wrote

[sane-devel] TPU functionality in epson2-backend.

2011-11-29 Thread Martin Zackrisson
On 11/22/2011 01:05 AM, Martin Zackrisson wrote: > On 2011-11-21 00:56, Olaf Meeuwissen wrote: >> >> No clue what capability 32829 is, but the scanner protocol command that >> selects whether you use the flatbed or TPU option uses the same values. >> That is, 0 will do a flatbed scan, 1 a TPU sca

[sane-devel] TPU functionality in epson2-backend.

2011-11-24 Thread Olaf Meeuwissen
Martin Zackrisson writes: > I've dug through the code and made copy/paste/rename adjustments > everywhere it seemed reasonable (first day with c-code...). This will > probably more show how lost I am than anything else, but below are the > diffs for all files I've been poking around (don't think

[sane-devel] TPU functionality in epson2-backend.

2011-11-22 Thread Martin Zackrisson
On 11/22/2011 02:12 AM, m. allan noah wrote: > Sane is free/open source software. Take a spin thru the backend, and > see if you can find a good place to send this command. > > allan > > I've dug through the code and made copy/paste/rename adjustments everywhere it seemed reasonable (first day

[sane-devel] TPU functionality in epson2-backend.

2011-11-22 Thread Martin Zackrisson
On 2011-11-21 00:56, Olaf Meeuwissen wrote: > > No clue what capability 32829 is, but the scanner protocol command that > selects whether you use the flatbed or TPU option uses the same values. > That is, 0 will do a flatbed scan, 1 a TPU scan. > >> I'm not versed in c++, so I wonder if such a capa

[sane-devel] TPU functionality in epson2-backend.

2011-11-21 Thread m. allan noah
Sane is free/open source software. Take a spin thru the backend, and see if you can find a good place to send this command. allan On Mon, Nov 21, 2011 at 7:05 PM, Martin Zackrisson < martin.zackrisson at cmb.gu.se> wrote: > On 2011-11-21 00:56, Olaf Meeuwissen wrote: > >> >> No clue what capabil

[sane-devel] TPU functionality in epson2-backend.

2011-11-21 Thread Olaf Meeuwissen
Martin Zackrisson writes: > Hello, > > I've got an Epson Perfection V700 Photo with a TPU. When selecting the > TPU as source in SANE, the allowed scan area shrinks compared to > "regular" scanning. > > scanimage: rounded value of br-x from 215.9 to 149.86 > scanimage: rounded value of br-y from

[sane-devel] TPU functionality in epson2-backend.

2011-11-18 Thread Martin Zackrisson
Hello, I've got an Epson Perfection V700 Photo with a TPU. When selecting the TPU as source in SANE, the allowed scan area shrinks compared to "regular" scanning. scanimage: rounded value of br-x from 215.9 to 149.86 scanimage: rounded value of br-y from 297.18 to 246.38 I know this behaviour