[sane-devel] long option format not recognized (Was: Epson Perfection 610 Issue with 150 dpi scan)

Rainer Dorsch rdorsch at web.de
Mon Jan 4 19:45:44 UTC 2010


Alessandro,

Am Montag, 4. Januar 2010 schrieben Sie:
> On Mon, 4 Jan 2010 13:43:27 +0100
>
> Rainer Dorsch <rdorsch at web.de> wrote:
> > /home/rd/SW.nobackup/sane-backends/frontend/.libs/lt-scanimage:
> > unrecognized option `--help'
> > rd at blackbox:~/SW.nobackup/sane-backends$
>
>  that's strange, it works nicely here
>
> ...
> -v, --verbose              give even more status messages
> -B, --buffer-size=#        change input buffer size (in kB, default 32)
> -V, --version              print version information
>
> Options specific to device `epson2:net:192.168.1.213':
>   Scan Mode:
>     --mode Binary|Gray|Color [Binary]
>         Selects the scan mode (e.g., lineart, monochrome, or color).
>     --depth 8 [inactive]
> ...

not sure what break --help for me. I have the patch from Chris still there, 
but I think we all agree that it does not break anything:

rd at blackbox:~/SW.nobackup/sane-backends$ git diff
diff --git a/lib/getopt.c b/lib/getopt.c
index 9dabb82..b8715e3 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -20,7 +20,7 @@
    License along with the GNU C Library; if not, write to the Free
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
-# include <config.h>
+# include "../include/sane/config.h"
 #if !defined(HAVE_GETOPT_H) || !defined(HAVE_GETOPT_LONG)
 ^L
 /* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
diff --git a/lib/getopt1.c b/lib/getopt1.c
index 5ace00a..082998c 100644
--- a/lib/getopt1.c
+++ b/lib/getopt1.c
@@ -17,7 +17,7 @@
    License along with the GNU C Library; if not, write to the Free
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
-#include <config.h>
+#include "../include/sane/config.h"
 #if !defined(HAVE_GETOPT_H) || !defined(HAVE_GETOPT_LONG)
 ^L
 #ifdef HAVE_CONFIG_H
rd at blackbox:~/SW.nobackup/sane-backends$

Here is what I get

rd at blackbox:~/SW.nobackup/sane-backends$ ./frontend/scanimage --list-devices
device `epson2:libusb:001:006' is a Epson Perfection1200 flatbed scanner
rd at blackbox:~/SW.nobackup/sane-backends$ ./frontend/scanimage --help
Usage: lt-scanimage [OPTION]...

Start image acquisition on a scanner device and write image data to
standard output.

Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options 
(e.g. --device-name=epson).
-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    --format=pnm|tiff      file format of output file
-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
-L, --list-devices         show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
                           can be specified: %d (device name), %v (vendor),
                           %m (model), %t (type), %i (index number), and
                           %n (newline)
-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
                           `out%d.tif' by default depending on --format
    --batch-start=#        page number to start naming files with
    --batch-count=#        how many pages to scan in batch mode
    --batch-increment=#    increase page number in filename by #
    --batch-double         increment page number by two, same as
                           --batch-increment=2
    --batch-prompt         ask for pressing a key before scanning a page
    --accept-md5-only      only accept authorization requests using md5
-p, --progress             print progress messages
-n, --dont-scan            only set options, don't actually scan
-T, --test                 test backend thoroughly
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size=#        change input buffer size (in kB, default 32)
-V, --version              print version information
/home/rd/SW.nobackup/sane-backends/frontend/.libs/lt-scanimage: unrecognized 
option `--help'
rd at blackbox:~/SW.nobackup/sane-backends$ git log|head
commit b7c37f5aefde918c7cf5085a154187645ce9a8fa
Author: Alessandro Zummo <a.zummo at towertech.it>
Date:   Mon Jan 4 02:59:42 2010 +0100

    epson2: limit the capabilities of group options to SANE_CAP_ADVANCED

commit 38276f32ff5245b489c9ed1ca59463e13e2af1cc
Author: Stéphane Voltz <stef.dev at free.fr>
Date:   Wed Dec 30 08:23:52 2009 +0100

rd at blackbox:~/SW.nobackup/sane-backends$

In order to get more debug information I set SANE_DEBUG_EPSON2=255. It seems 
like the epson2 backend is collecting the capabilities data of the device, 
but not returning them:

rd at blackbox:~/SW.nobackup/sane-backends$ 
SANE_DEBUG_EPSON2=255 ./frontend/scanimage --help
Usage: lt-scanimage [OPTION]...

Start image acquisition on a scanner device and write image data to
standard output.

Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options 
(e.g. --device-name=epson).
-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    --format=pnm|tiff      file format of output file
-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
-L, --list-devices         show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
                           can be specified: %d (device name), %v (vendor),
                           %m (model), %t (type), %i (index number), and
                           %n (newline)
-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
                           `out%d.tif' by default depending on --format
    --batch-start=#        page number to start naming files with
    --batch-count=#        how many pages to scan in batch mode
    --batch-increment=#    increase page number in filename by #
    --batch-double         increment page number by two, same as
                           --batch-increment=2
    --batch-prompt         ask for pressing a key before scanning a page
    --accept-md5-only      only accept authorization requests using md5
-p, --progress             print progress messages
-n, --dont-scan            only set options, don't actually scan
-T, --test                 test backend thoroughly
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size=#        change input buffer size (in kB, default 32)
-V, --version              print version information
[sanei_debug] Setting debug level of epson2 to 255.
[epson2] sane_epson2_init: sane-backends 1.0.21cvs
[epson2] epson2 backend, version 1.0.123
[epson2] sane_epson2_get_devices
[epson2] probe_devices
[epson2] free_devices
[epson2] attach_one_config: len = 10, line = scsi EPSON
[epson2] attach_one_config: len = 3, line = usb
[epson2] attach_one_usb: dev = libusb:001:006
[epson2] attach: devname = libusb:001:006, type = 3
[epson2] open_scanner: libusb:001:006
[epson2] scanner opened
[epson2] found valid EPSON scanner: 0x4b8/0x104 (vendorID/productID)
[epson2] e2_set_model: model is 'generic'
[epson2] esci_reset
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC @
[epson2] buf[0] 1b .
[epson2] buf[1] 40 @
[epson2] e2_send: cmd count, r = 0, w = 1
[epson2] e2_recv: size = 1, buf = 0xbfd15c9b
[epson2] e2_recv: cmd count, r = 1, w = 1
[epson2] buf[0] 06 .
[epson2] e2_discover_capabilities
[epson2] esci_request_identity
[epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0xbfd15cc0
[epson2] e2_send: size = 2, reply = 0
[epson2] e2_send: ESC I
[epson2] buf[0] 1b .
[epson2] buf[1] 49 I
[epson2] e2_send: cmd count, r = 1, w = 2
[epson2] e2_recv: size = 4, buf = 0xbfd15b82
[epson2] e2_recv: cmd count, r = 2, w = 2
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 67 g
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 103
[epson2] e2_recv: size = 103, buf = 0x85d2638
[epson2] e2_recv: cmd count, r = 4, w = 2
[epson2] buf[0] 42 B
[epson2] buf[1] 37 7
[epson2] buf[2] 52 R
[epson2] buf[3] 32 2
[epson2] buf[4] 00 .
[epson2] buf[5] 52 R
[epson2] buf[6] 3c <
[epson2] buf[7] 00 .
[epson2] buf[8] 52 R
[epson2] buf[9] 48 H
[epson2] buf[10] 00 .
[epson2] buf[11] 52 R
[epson2] buf[12] 4b K
[epson2] buf[13] 00 .
[epson2] buf[14] 52 R
[epson2] buf[15] 50 P
[epson2] buf[16] 00 .
[epson2] buf[17] 52 R
[epson2] buf[18] 5a Z
[epson2] buf[19] 00 .
[epson2] buf[20] 52 R
[epson2] buf[21] 64 d
[epson2] buf[22] 00 .
[epson2] buf[23] 52 R
[epson2] buf[24] 78 x
[epson2] buf[25] 00 .
[epson2] buf[26] 52 R
[epson2] buf[27] 85 .
[epson2] buf[28] 00 .
[epson2] buf[29] 52 R
[epson2] buf[30] 90 .
[epson2] buf[31] 00 .
[epson2] buf[32] 52 R
[epson2] buf[33] 96 .
[epson2] buf[34] 00 .
[epson2] buf[35] 52 R
[epson2] buf[36] a0 .
[epson2] buf[37] 00 .
[epson2] buf[38] 52 R
[epson2] buf[39] af .
[epson2] buf[40] 00 .
[epson2] buf[41] 52 R
[epson2] buf[42] b4 .
[epson2] buf[43] 00 .
[epson2] buf[44] 52 R
[epson2] buf[45] c8 .
[epson2] buf[46] 00 .
[epson2] buf[47] 52 R
[epson2] buf[48] d8 .
[epson2] buf[49] 00 .
[epson2] buf[50] 52 R
[epson2] buf[51] f0 .
[epson2] buf[52] 00 .
[epson2] buf[53] 52 R
[epson2] buf[54] 0a .
[epson2] buf[55] 01 .
[epson2] buf[56] 52 R
[epson2] buf[57] 2c ,
[epson2] buf[58] 01 .
[epson2] buf[59] 52 R
[epson2] buf[60] 40 @
[epson2] buf[61] 01 .
[epson2] buf[62] 52 R
[epson2] buf[63] 5e ^
[epson2] buf[64] 01 .
[epson2] buf[65] 52 R
[epson2] buf[66] 68 h
[epson2] buf[67] 01 .
[epson2] buf[68] 52 R
[epson2] buf[69] 90 .
[epson2] buf[70] 01 .
[epson2] buf[71] 52 R
[epson2] buf[72] e0 .
[epson2] buf[73] 01 .
[epson2] buf[74] 52 R
[epson2] buf[75] 58 X
[epson2] buf[76] 02 .
[epson2] buf[77] 52 R
[epson2] buf[78] d0 .
[epson2] buf[79] 02 .
[epson2] buf[80] 52 R
[epson2] buf[81] 20
[epson2] buf[82] 03 .
[epson2] buf[83] 52 R
[epson2] buf[84] 84 .
[epson2] buf[85] 03 .
[epson2] buf[86] 52 R
[epson2] buf[87] b0 .
[epson2] buf[88] 04 .
[epson2] buf[89] 52 R
[epson2] buf[90] 40 @
[epson2] buf[91] 06 .
[epson2] buf[92] 52 R
[epson2] buf[93] 08 .
[epson2] buf[94] 07 .
[epson2] buf[95] 52 R
[epson2] buf[96] 60 `
[epson2] buf[97] 09 .
[epson2] buf[98] 41 A
[epson2] buf[99] b0 .
[epson2] buf[100] 4f O
[epson2] buf[101] b0 .
[epson2] buf[102] 6d m
[epson2] e2_set_cmd_level: B7
[epson2] e2_add_resolution: add (dpi): 50
[epson2] e2_add_resolution: add (dpi): 60
[epson2] e2_add_resolution: add (dpi): 72
[epson2] e2_add_resolution: add (dpi): 75
[epson2] e2_add_resolution: add (dpi): 80
[epson2] e2_add_resolution: add (dpi): 90
[epson2] e2_add_resolution: add (dpi): 100
[epson2] e2_add_resolution: add (dpi): 120
[epson2] e2_add_resolution: add (dpi): 133
[epson2] e2_add_resolution: add (dpi): 144
[epson2] e2_add_resolution: add (dpi): 150
[epson2] e2_add_resolution: add (dpi): 160
[epson2] e2_add_resolution: add (dpi): 175
[epson2] e2_add_resolution: add (dpi): 180
[epson2] e2_add_resolution: add (dpi): 200
[epson2] e2_add_resolution: add (dpi): 216
[epson2] e2_add_resolution: add (dpi): 240
[epson2] e2_add_resolution: add (dpi): 266
[epson2] e2_add_resolution: add (dpi): 300
[epson2] e2_add_resolution: add (dpi): 320
[epson2] e2_add_resolution: add (dpi): 350
[epson2] e2_add_resolution: add (dpi): 360
[epson2] e2_add_resolution: add (dpi): 400
[epson2] e2_add_resolution: add (dpi): 480
[epson2] e2_add_resolution: add (dpi): 600
[epson2] e2_add_resolution: add (dpi): 720
[epson2] e2_add_resolution: add (dpi): 800
[epson2] e2_add_resolution: add (dpi): 900
[epson2] e2_add_resolution: add (dpi): 1200
[epson2] e2_add_resolution: add (dpi): 1600
[epson2] e2_add_resolution: add (dpi): 1800
[epson2] e2_add_resolution: add (dpi): 2400
[epson2] maximum scan area: 20400x28080
[epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 2400 [mm]
[epson2] esci_request_status
[epson2] e2_send: size = 2, reply = 4
[epson2] e2_send: ESC F
[epson2] buf[0] 1b .
[epson2] buf[1] 46 F
[epson2] e2_send: cmd count, r = 4, w = 3
[epson2] e2_recv: size = 4, buf = 0xbfd15bd2
[epson2] e2_recv: cmd count, r = 5, w = 3
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] status: 02
[epson2]  ready
[epson2]  no option equipment installed
[epson2]  support extended commands
[epson2] detection with request_extended_identity
[epson2] esci_request_extended_identity
[epson2] e2_send: size = 2, reply = 80
[epson2] e2_send: FS I
[epson2] buf[0] 1c .
[epson2] buf[1] 49 I
[epson2] e2_send: cmd count, r = 5, w = 4
[epson2] e2_recv: size = 80, buf = 0xbfd15c60
[epson2] e2_recv: cmd count, r = 7, w = 4
[epson2] buf[0] 42 B
[epson2] buf[1] 37 7
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] buf[4] b0 .
[epson2] buf[5] 04 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 19 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] 00 .
[epson2] buf[12] 80 .
[epson2] buf[13] 25 %
[epson2] buf[14] 00 .
[epson2] buf[15] 00 .
[epson2] buf[16] f0 .
[epson2] buf[17] 7f .
[epson2] buf[18] 00 .
[epson2] buf[19] 00 .
[epson2] buf[20] d8 .
[epson2] buf[21] 27 '
[epson2] buf[22] 00 .
[epson2] buf[23] 00 .
[epson2] buf[24] d8 .
[epson2] buf[25] 36 6
[epson2] buf[26] 00 .
[epson2] buf[27] 00 .
[epson2] buf[28] 00 .
[epson2] buf[29] 00 .
[epson2] buf[30] 00 .
[epson2] buf[31] 00 .
[epson2] buf[32] 00 .
[epson2] buf[33] 00 .
[epson2] buf[34] 00 .
[epson2] buf[35] 00 .
[epson2] buf[36] 00 .
[epson2] buf[37] 00 .
[epson2] buf[38] 00 .
[epson2] buf[39] 00 .
[epson2] buf[40] 00 .
[epson2] buf[41] 00 .
[epson2] buf[42] 00 .
[epson2] buf[43] 00 .
[epson2] buf[44] 01 .
[epson2] buf[45] 00 .
[epson2] buf[46] 50 P
[epson2] buf[47] 65 e
[epson2] buf[48] 72 r
[epson2] buf[49] 66 f
[epson2] buf[50] 65 e
[epson2] buf[51] 63 c
[epson2] buf[52] 74 t
[epson2] buf[53] 69 i
[epson2] buf[54] 6f o
[epson2] buf[55] 6e n
[epson2] buf[56] 31 1
[epson2] buf[57] 32 2
[epson2] buf[58] 30 0
[epson2] buf[59] 30 0
[epson2] buf[60] 20
[epson2] buf[61] 20
[epson2] buf[62] 31 1
[epson2] buf[63] 2e .
[epson2] buf[64] 30 0
[epson2] buf[65] 33 3
[epson2] buf[66] 00 .
[epson2] buf[67] 00 .
[epson2] buf[68] 00 .
[epson2] buf[69] 00 .
[epson2] buf[70] 00 .
[epson2] buf[71] 00 .
[epson2] buf[72] 00 .
[epson2] buf[73] 00 .
[epson2] buf[74] 00 .
[epson2] buf[75] 00 .
[epson2] buf[76] 00 .
[epson2] buf[77] 00 .
[epson2] buf[78] 00 .
[epson2] buf[79] 00 .
[epson2]  command level   : B7
[epson2]  basic resolution: 1200
[epson2]  min resolution  : 25
[epson2]  max resolution  : 9600
[epson2]  max pixel num   : 32752
[epson2]  scan area       : 10200x14040
[epson2]  adf area        : 0x0
[epson2]  tpu area        : 0x0
[epson2]  main status     : 0x01
[epson2]  input depth     : 0
[epson2]  max output depth: 0
[epson2]  rom version     : 1.03
[epson2]  model name      : Perfection1200
[epson2] options:
[epson2] status:
[epson2]  push button is supported
[epson2] e2_set_cmd_level: B7
[epson2] e2_set_model: model is 'Perfection1200'
[epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm]
[epson2] discovering max depth, NAKs are expected
[epson2] e2_esc_cmd: cmd = 0x44, val = 16
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC D
[epson2] buf[0] 1b .
[epson2] buf[1] 44 D
[epson2] e2_send: cmd count, r = 7, w = 5
[epson2] e2_recv: size = 1, buf = 0xbfd15bdb
[epson2] e2_recv: cmd count, r = 8, w = 5
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 10 .
[epson2] e2_send: cmd count, r = 8, w = 6
[epson2] e2_recv: size = 1, buf = 0xbfd15bdb
[epson2] e2_recv: cmd count, r = 9, w = 6
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
[epson2] e2_esc_cmd: cmd = 0x44, val = 14
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC D
[epson2] buf[0] 1b .
[epson2] buf[1] 44 D
[epson2] e2_send: cmd count, r = 9, w = 7
[epson2] e2_recv: size = 1, buf = 0xbfd15bdb
[epson2] e2_recv: cmd count, r = 10, w = 7
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 0e .
[epson2] e2_send: cmd count, r = 10, w = 8
[epson2] e2_recv: size = 1, buf = 0xbfd15bdb
[epson2] e2_recv: cmd count, r = 11, w = 8
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
[epson2] e2_esc_cmd: cmd = 0x44, val = 12
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC D
[epson2] buf[0] 1b .
[epson2] buf[1] 44 D
[epson2] e2_send: cmd count, r = 11, w = 9
[epson2] e2_recv: size = 1, buf = 0xbfd15bdb
[epson2] e2_recv: cmd count, r = 12, w = 9
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 0c .
[epson2] e2_send: cmd count, r = 12, w = 10
[epson2] e2_recv: size = 1, buf = 0xbfd15bdb
[epson2] e2_recv: cmd count, r = 13, w = 10
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
[epson2] maximum supported color depth: 8
[epson2] esci_request_focus_position
[epson2] setting focus is not supported
[epson2] esci_request_scanner_status
[epson2] e2_send: size = 2, reply = 16
[epson2] e2_send: FS F
[epson2] buf[0] 1c .
[epson2] buf[1] 46 F
[epson2] e2_send: cmd count, r = 13, w = 11
[epson2] e2_recv: size = 16, buf = 0xbfd15cb0
[epson2] e2_recv: cmd count, r = 14, w = 11
[epson2] buf[0] 00 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] buf[4] 00 .
[epson2] buf[5] 00 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 00 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] 00 .
[epson2] buf[12] 00 .
[epson2] buf[13] 00 .
[epson2] buf[14] 00 .
[epson2] buf[15] 00 .
[epson2] global status   : 0x00
[epson2] adf status      : 0x00
[epson2]  not installed
[epson2]  not enabled
[epson2] tpu status      : 0x00
[epson2]  not installed
[epson2]  not enabled
[epson2] device type     : 0x00
[epson2] main body status: 0x00
[epson2] CCT model id is 0x07, profile offset 3
[epson2] esci_reset
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC @
[epson2] buf[0] 1b .
[epson2] buf[1] 40 @
[epson2] e2_send: cmd count, r = 14, w = 12
[epson2] e2_recv: size = 1, buf = 0xbfd15c9b
[epson2] e2_recv: cmd count, r = 15, w = 12
[epson2] buf[0] 06 .
[epson2] scanner model: Perfection1200
[epson2] close_scanner: fd = 0
[epson2] esci_request_status
[epson2] e2_send: size = 2, reply = 4
[epson2] e2_send: ESC F
[epson2] buf[0] 1b .
[epson2] buf[1] 46 F
[epson2] e2_send: cmd count, r = 15, w = 13
[epson2] e2_recv: size = 4, buf = 0xbfd15ce2
[epson2] e2_recv: cmd count, r = 16, w = 13
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] status: 02
[epson2]  ready
[epson2]  no option equipment installed
[epson2]  support extended commands
[epson2] esci_request_extended_status
[epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0xbfd15d24
[epson2] e2_send: size = 2, reply = 46
[epson2] e2_send: ESC f
[epson2] buf[0] 1b .
[epson2] buf[1] 66 f
[epson2] e2_send: cmd count, r = 16, w = 14
[epson2] e2_recv: size = 4, buf = 0xbfd15c92
[epson2] e2_recv: cmd count, r = 17, w = 14
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 2a *
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 42
[epson2] e2_recv: size = 42, buf = 0x85d27b8
[epson2] e2_recv: cmd count, r = 18, w = 14
[epson2] buf[0] 01 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] buf[4] 00 .
[epson2] buf[5] 00 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 00 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] 00 .
[epson2] buf[12] 00 .
[epson2] buf[13] 00 .
[epson2] buf[14] 00 .
[epson2] buf[15] 00 .
[epson2] buf[16] 00 .
[epson2] buf[17] 00 .
[epson2] buf[18] 00 .
[epson2] buf[19] 00 .
[epson2] buf[20] 00 .
[epson2] buf[21] 00 .
[epson2] buf[22] 00 .
[epson2] buf[23] 00 .
[epson2] buf[24] 00 .
[epson2] buf[25] 00 .
[epson2] buf[26] 50 P
[epson2] buf[27] 65 e
[epson2] buf[28] 72 r
[epson2] buf[29] 66 f
[epson2] buf[30] 65 e
[epson2] buf[31] 63 c
[epson2] buf[32] 74 t
[epson2] buf[33] 69 i
[epson2] buf[34] 6f o
[epson2] buf[35] 6e n
[epson2] buf[36] 31 1
[epson2] buf[37] 32 2
[epson2] buf[38] 30 0
[epson2] buf[39] 30 0
[epson2] buf[40] 20
[epson2] buf[41] 20
[epson2] main = 01, ADF = 00, TPU = 00, main 2 = 00
[epson2] attach_one_config: len = 17, line = net autodiscovery
[epson2] e2_network_discovery, sent discovery packet
[epson2] e2_network_discovery, end
[epson2] sane_epson2_get_devices - results:
[epson2]  0 (3): Perfection1200
[epson2] sane_epson2_open: name = libusb:001:006
[epson2] handle obtained
[epson2] open_scanner: libusb:001:006
[epson2] scanner opened
[epson2] esci_reset
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC @
[epson2] buf[0] 1b .
[epson2] buf[1] 40 @
[epson2] e2_send: cmd count, r = 18, w = 15
[epson2] e2_recv: size = 1, buf = 0xbfd16f5b
[epson2] e2_recv: cmd count, r = 19, w = 15
[epson2] buf[0] 06 .
[epson2] sane_epson2_control_option: action = 0, option = 0
[epson2] getvalue: option = 0
[epson2] sane_epson2_control_option: action = 0, option = 0
[epson2] getvalue: option = 0
[epson2] sane_epson2_control_option: action = 0, option = 27
[epson2] getvalue: option = 27
[epson2] sane_epson2_control_option: action = 0, option = 25
[epson2] getvalue: option = 25
[epson2] sane_epson2_control_option: action = 0, option = 28
[epson2] getvalue: option = 28
[epson2] sane_epson2_control_option: action = 0, option = 26
[epson2] getvalue: option = 26
/home/rd/SW.nobackup/sane-backends/frontend/.libs/lt-scanimage: unrecognized 
option `--help'
[epson2] close_scanner: fd = 0
[epson2] esci_request_status
[epson2] e2_send: size = 2, reply = 4
[epson2] e2_send: ESC F
[epson2] buf[0] 1b .
[epson2] buf[1] 46 F
[epson2] e2_send: cmd count, r = 19, w = 16
[epson2] e2_recv: size = 4, buf = 0xbfd16f62
[epson2] e2_recv: cmd count, r = 20, w = 16
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] status: 02
[epson2]  ready
[epson2]  no option equipment installed
[epson2]  support extended commands
[epson2] sane_epson2_exit
[epson2] free_devices
rd at blackbox:~/SW.nobackup/sane-backends$            

Do you see something unexpected in there?

Thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdorsch at web.de
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100104/6fcaafc4/attachment.pgp>


More information about the sane-devel mailing list