[sane-devel] [PATCH 01/10] epjitsu: unit convert macros

2012-11-04 Thread Hiroshi Miura
introducing macros converting between scanner unit and inches each other. Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 21 - backend/epjitsu.h |3 +++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/backend/epjitsu.c

[sane-devel] [PATCH 03/10] epjitsu: optimize loop

2012-11-04 Thread Hiroshi Miura
Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/epjitsu.c b/backend/epjitsu.c index 3c791b7..1be6447 100644 --- a/backend/epjitsu.c +++ b/backend/epjitsu.c @@ -1791,7 +1791,12 @@

[sane-devel] [PATCH 02/10] epjitsu: page width support

2012-11-04 Thread Hiroshi Miura
ScanSnap itself don't have a feature to detect and scan area in demanded width. Otherwise driver need to cut into proper width. this introduce page_width parameter and facility to cut image into page width. Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 48

[sane-devel] [PATCH 05/10] epjitsu: skip top padding

2012-11-04 Thread Hiroshi Miura
The driver need a padding at top of page. Because scansnap don't treat empty image at the top of image that is generated when loading paper, the driver cut top of page in 1/2 inch. Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 52

[sane-devel] [PATCH 06/10] epjitsu: tl_y parameter support

2012-11-04 Thread Hiroshi Miura
The driver can cut top of image for padding. We can also cut an ordered size at a top of image. It make tl_y parameter works. Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 45 + 1 file changed, 37 insertions(+), 8

[sane-devel] [PATCH 10/10] epjitsu: ScanSnap S1100 support

2012-11-04 Thread Hiroshi Miura
Add S1100 support The ideas and cmd data are comes from: http://ubuntuforums.org/showthread.php?t=1678335 TBD: test on S1100, I don't have a machine. Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu-cmd.h | 88 + backend/epjitsu.c |

[sane-devel] [PATCH 08/10] epjitsu: introduce object_position()

2012-11-04 Thread Hiroshi Miura
Rename ingest() to object_position() now it can do both ingest and eject. This is required by S1100 support. chunk come from http://ubuntuforums.org/showthread.php?t=1678335 Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 28 ++--

[sane-devel] [PATCH 09/10] epjitsu: refactor coarsecal()

2012-11-04 Thread Hiroshi Miura
Now refactoring coarsecal() for S1100 support. it is carefully changed not to break S300/1300/1500. the chunk come from http://ubuntuforums.org/showthread.php?t=1678335 Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 333

[sane-devel] [PATCH 04/10] epjitsu: fix indent

2012-11-04 Thread Hiroshi Miura
Signed-off-by: Hiroshi Miura miurahr at linux.com --- backend/epjitsu.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/backend/epjitsu.c b/backend/epjitsu.c index 1be6447..a0ca532 100644 --- a/backend/epjitsu.c +++

[sane-devel] [PATCH 07/10] epjitsu: x, y_resolution difference treatment

2012-11-04 Thread Hiroshi Miura
ScanScanp has a resolution 225x200 in each model. The function which treat it should use a mathematic theory. Euclidean algorithm should be used to get GCD (Greatest Common Devisor) for this calculation. This patch make a separate function that should be get_GCD and simplified a logic in copy

[sane-devel] [PATCH 00/10] epjitsu: imporove backend driver

2012-11-04 Thread Hiroshi Miura
Here is a series of patches to improve epjitsu backend driver. It is intended to; 1) fix a size treatment in driver. 1-1) TL_Y support, Width support 1-2) Cut unnecessary padding epjitsu: page width support epjitsu: skip top padding epjitsu: tl_y parameter support 2) merge S1100

[sane-devel] Problem with Epson Stylus SX525WD

2012-11-04 Thread Torfinn Ingolfsen
On Fri, Nov 2, 2012 at 8:47 PM, Robin Krahl me at robin-krahl.de wrote: Hi, I am experiencing problems with my Epson Stylus SX525WD. I connected via USB and installed the Epson SANE drivers from epson.net (iscan-data and iscan) on my 64-bit Ubuntu 12.04 system. The scanner is recognized by