[sane-devel] Pb with xsane-0.95

francois baert francois.baert at wanadoo.fr
Sun Nov 27 20:45:50 UTC 2005


Le Vendredi 25 Novembre 2005 22:01, francois baert a écrit :
> Le Vendredi 25 Novembre 2005 18:32, Henning Meier-Geinitz a écrit :
> > Hi,
> >
> > On Thu, Nov 24, 2005 at 05:42:05PM +0100, francois.baert wrote:
> > > Up to now I have not managed to run xsane:
> >
> > What happens if you do so?
> >
> > > found USB scanner (vendor=0x04b8 [EPSON], product=0x0101 [Scanner
> > > GT-7000]) at libusb:002:003
> >
> > Ok.
> >
> > > scanimage -L
> > > device `epson:libusb:002:003' is a Epson GT-7000 flatbed scanner
> >
> > Ok. So your scanner is detected. What happens if you try to scan?
> >
> > > in the file /proc/bus/usb/devices I observe that Driver=none
> > > How Do I have to proceed to load the right driver with the system file
> > > usbfs.
> >
> > That's ok and normal. All devices with "none" can be accessed by usbfs.
> >
> > > In other words the command which replace /sbin/modprobe scanner
> > > vendor=... product=...
> >
> > No replacement. Simply works. Otherwise you scanner would not have
> > been detected at all.
> >
> > If you get any errors during scan, provide a log file
> > export SANE_DEBUG_EPSON=255
> >
> > scanimage >image.pnm 2>logfile.txt
> >
> > Bye,
> >   Henning
>
> Hello
> When I try to scan, at the beginning everything is o.k. but the scanner
> does not start and I have no thing on the screen, the program hangs for a
> while and the screen with "  Xsane  (c) Oliver Rauch , xsane 0.95
> GT-7000:003 " becomes pale and then I got this message:
> failure to start the scanner Error I/O on the peripherical.
>
> Fortunately I have the version 0.89  which works with redhat 9.0 kernel
> 2.4.20.
>
> thanks
> François

output of export SANE_DEBUG_EPSON=255
[sanei_debug] Setting debug level of epson to 255.
[epson] sane_init: sane-backends 1.0.15
[epson] sane_init, ># epson.conf<
[epson] sane_init, >#<
[epson] sane_init, ># here are some examples for how to configure the EPSON 
backend<
[epson] sane_init, >#<
[epson] sane_init, ># SCSI scanner:<
[epson] sane_init, >#scsi EPSON<
[epson] sane_init, >#<
[epson] sane_init, ># Parallel port scanner:<
[epson] sane_init, >#pio 0x278<
[epson] sane_init, >#pio 0x378<
[epson] sane_init, >#pio 0x3BC<
[epson] sane_init, >#<
[epson] sane_init, ># USB scanner:<
[epson] sane_init, ># There are two different methods of configuring a USB 
scanner: libusb and the kernel module<
[epson] sane_init, ># For any system with libusb support (which is pretty much 
any recent Linux distribution) the<
[epson] sane_init, ># following line is sufficient. This however assumes that 
the connected scanner (or to be more<
[epson] sane_init, ># accurate, it's device ID) is known to the backend.<
[epson] sane_init, >#usb<
[epson] sane_init, ># For libusb support for unknown scanners use the 
following command<
[epson] sane_init, ># usb <product ID> <device ID><
[epson] sane_init, ># e.g.:<
[epson] sane_init, >usb 0x04b8 0x0101<
[epson] attach_one_usb(libusb:002:003)
[epson] SANE Epson Backend v0.2.43 - 2004-10-16
[epson] attach(libusb:002:003, 3)
[epson] attach: opening libusb:002:003
[epson] Found valid EPSON scanner: 0x4b8/0x101 (vendorID/productID)
[epson] reset()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 40 @
[epson] receive buf, expected = 1, got = 0
[epson] get_identity_information()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 49 I
[epson] receive buf, expected = 4, got = 4
[epson] buf[0] 02 .
[epson] buf[1] 00 .
[epson] buf[2] 61 a
[epson] buf[3] 00 .
[epson] code   02
[epson] status 00
[epson] count  97
[epson] receive buf, expected = 97, got = 97
[epson] buf[0] 42 B
[epson] buf[1] 37 7
[epson] buf[2] 52 R
[epson] buf[3] 32 2
[epson] buf[4] 00 .
[epson] buf[5] 52 R
[epson] buf[6] 3c <
[epson] buf[7] 00 .
[epson] buf[8] 52 R
[epson] buf[9] 48 H
[epson] buf[10] 00 .
[epson] buf[11] 52 R
[epson] buf[12] 4b K
[epson] buf[13] 00 .
[epson] buf[14] 52 R
[epson] buf[15] 50 P
[epson] buf[16] 00 .
[epson] buf[17] 52 R
[epson] buf[18] 5a Z
[epson] buf[19] 00 .
[epson] buf[20] 52 R
[epson] buf[21] 64 d
[epson] buf[22] 00 .
[epson] buf[23] 52 R
[epson] buf[24] 78 x
[epson] buf[25] 00 .
[epson] buf[26] 52 R
[epson] buf[27] 85 .
[epson] buf[28] 00 .
[epson] buf[29] 52 R
[epson] buf[30] 90 .
[epson] buf[31] 00 .
[epson] buf[32] 52 R
[epson] buf[33] 96 .
[epson] buf[34] 00 .
[epson] buf[35] 52 R
[epson] buf[36] a0 .
[epson] buf[37] 00 .
[epson] buf[38] 52 R
[epson] buf[39] af .
[epson] buf[40] 00 .
[epson] buf[41] 52 R
[epson] buf[42] b4 .
[epson] buf[43] 00 .
[epson] buf[44] 52 R
[epson] buf[45] c8 .
[epson] buf[46] 00 .
[epson] buf[47] 52 R
[epson] buf[48] d8 .
[epson] buf[49] 00 .
[epson] buf[50] 52 R
[epson] buf[51] f0 .
[epson] buf[52] 00 .
[epson] buf[53] 52 R
[epson] buf[54] 2c ,
[epson] buf[55] 01 .
[epson] buf[56] 52 R
[epson] buf[57] 40 @
[epson] buf[58] 01 .
[epson] buf[59] 52 R
[epson] buf[60] 68 h
[epson] buf[61] 01 .
[epson] buf[62] 52 R
[epson] buf[63] 90 .
[epson] buf[64] 01 .
[epson] buf[65] 52 R
[epson] buf[66] e0 .
[epson] buf[67] 01 .
[epson] buf[68] 52 R
[epson] buf[69] 58 X
[epson] buf[70] 02 .
[epson] buf[71] 52 R
[epson] buf[72] d0 .
[epson] buf[73] 02 .
[epson] buf[74] 52 R
[epson] buf[75] 20  
[epson] buf[76] 03 .
[epson] buf[77] 52 R
[epson] buf[78] 84 .
[epson] buf[79] 03 .
[epson] buf[80] 52 R
[epson] buf[81] b0 .
[epson] buf[82] 04 .
[epson] buf[83] 52 R
[epson] buf[84] 40 @
[epson] buf[85] 06 .
[epson] buf[86] 52 R
[epson] buf[87] 08 .
[epson] buf[88] 07 .
[epson] buf[89] 52 R
[epson] buf[90] 60 `
[epson] buf[91] 09 .
[epson] buf[92] 41 A
[epson] buf[93] b0 .
[epson] buf[94] 4f O
[epson] buf[95] b0 .
[epson] buf[96] 6d m
[epson] type    B 0x42
[epson] level   7 0x37
[epson] no option equipment installed
[epson] resolution (dpi): 50
[epson] resolution (dpi): 60
[epson] resolution (dpi): 72
[epson] resolution (dpi): 75
[epson] resolution (dpi): 80
[epson] resolution (dpi): 90
[epson] resolution (dpi): 100
[epson] resolution (dpi): 120
[epson] resolution (dpi): 133
[epson] resolution (dpi): 144
[epson] resolution (dpi): 150
[epson] resolution (dpi): 160
[epson] resolution (dpi): 175
[epson] resolution (dpi): 180
[epson] resolution (dpi): 200
[epson] resolution (dpi): 216
[epson] resolution (dpi): 240
[epson] resolution (dpi): 300
[epson] resolution (dpi): 320
[epson] resolution (dpi): 360
[epson] resolution (dpi): 400
[epson] resolution (dpi): 480
[epson] resolution (dpi): 600
[epson] resolution (dpi): 720
[epson] resolution (dpi): 800
[epson] resolution (dpi): 900
[epson] resolution (dpi): 1200
[epson] resolution (dpi): 1600
[epson] resolution (dpi): 1800
[epson] resolution (dpi): 2400
[epson] maximum scan area: x 20400 y 28080
[epson] fbf tlx 0.000000 tly 0.000000 brx 215.899994 bry 297.179993 [mm]
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 44 D
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] send buf, size = 1
[epson] buf[0] 10 .
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 15 .
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 44 D
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] send buf, size = 1
[epson] buf[0] 0e .
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 15 .
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 44 D
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] send buf, size = 1
[epson] buf[0] 0c .
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 15 .
[epson] Max. supported color depth = 8
[epson] request_focus_position()
[epson] Disabling 'Set Focus' support
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 66 f
[epson] receive buf, expected = 4, got = 4
[epson] buf[0] 02 .
[epson] buf[1] 00 .
[epson] buf[2] 2a *
[epson] buf[3] 00 .
[epson] code   02
[epson] status 00
[epson] count  42
[epson] receive buf, expected = 42, got = 42
[epson] buf[0] 01 .
[epson] buf[1] 00 .
[epson] buf[2] 00 .
[epson] buf[3] 00 .
[epson] buf[4] 00 .
[epson] buf[5] 00 .
[epson] buf[6] 00 .
[epson] buf[7] 00 .
[epson] buf[8] 00 .
[epson] buf[9] 00 .
[epson] buf[10] 00 .
[epson] buf[11] 00 .
[epson] buf[12] 00 .
[epson] buf[13] 00 .
[epson] buf[14] 00 .
[epson] buf[15] 00 .
[epson] buf[16] 00 .
[epson] buf[17] 00 .
[epson] buf[18] 00 .
[epson] buf[19] 00 .
[epson] buf[20] 00 .
[epson] buf[21] 00 .
[epson] buf[22] 00 .
[epson] buf[23] 00 .
[epson] buf[24] 00 .
[epson] buf[25] 00 .
[epson] buf[26] 47 G
[epson] buf[27] 54 T
[epson] buf[28] 2d -
[epson] buf[29] 37 7
[epson] buf[30] 30 0
[epson] buf[31] 30 0
[epson] buf[32] 30 0
[epson] buf[33] 20  
[epson] buf[34] 20  
[epson] buf[35] 20  
[epson] buf[36] 20  
[epson] buf[37] 20  
[epson] buf[38] 20  
[epson] buf[39] 20  
[epson] buf[40] 20  
[epson] buf[41] 20  
[epson] scanner model: GT-7000
[epson] close_scanner(fd = 0)
[epson] sane_init, ># And for the scanner module, use the following 
configuration:<
[epson] sane_init, >#usb libusb:002:002<
[epson] sane_init, >#usb /dev/usb/scanner0<
[epson] sane_get_devices()
[epson] sane_open(libusb:002:003)
[epson] init_options()
[epson] open_scanner()
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 50
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 215.899994 
bry 297.179993 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 53
[epson] params.pixels_per_line = 424
[epson] params.lines = 585
[epson] params.depth = 1
[epson] setvalue(option = 2, value = 0x83a3188)
[epson] setvalue(option = 4, value = 0x83d2590)
[epson] setvalue(option = 5, value = 0x83d2200)
[epson] setvalue(option = 6, value = 0xbfe33cb8)
[epson] setvalue(option = 7, value = 0xbfe33cb8)
[epson] setvalue(option = 8, value = 0x83d2210)
[epson] setvalue(option = 10, value = 0xbfe33cb8)
[epson] setvalue(option = 13, value = 0xbfe33cb8)
[epson] setvalue(option = 14, value = 0xbfe33cb8)
[epson] setvalue(option = 15, value = 0xbfe33cb8)
[epson] setvalue(option = 16, value = 0xbfe33cb8)
[epson] setvalue(option = 21, value = 0xbfe33cb8)
[epson] setvalue(option = 33, value = 0xbfe33cb8)
[epson] setvalue(option = 34, value = 0xbfe33cb8)
[epson] setvalue(option = 36, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 37, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 38, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 39, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 40, value = 0x83d2230)
[epson] setvalue(option = 4, value = 0x83d2288)
[epson] setvalue(option = 5, value = 0x83d2248)
[epson] setvalue(option = 6, value = 0xbfe33cb8)
[epson] setvalue(option = 7, value = 0xbfe33cb8)
[epson] setvalue(option = 8, value = 0x83d22a8)
[epson] setvalue(option = 13, value = 0xbfe33cb8)
[epson] setvalue(option = 14, value = 0xbfe33cb8)
[epson] setvalue(option = 15, value = 0xbfe33cb8)
[epson] setvalue(option = 21, value = 0xbfe33cb8)
[epson] setvalue(option = 33, value = 0xbfe33cb8)
[epson] setvalue(option = 34, value = 0xbfe33cb8)
[epson] setvalue(option = 36, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 37, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 38, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] setvalue(option = 39, value = 0xbfe33cb8)
[epson] set = 0.000000
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] setvalue(option = 10, value = 0xbfe34fdc)
[epson] setvalue(option = 10, value = 0xbfe3530c)
[epson] setvalue(option = 36, value = 0xbfe3530c)
[epson] set = 0.000000
[epson] setvalue(option = 37, value = 0xbfe3530c)
[epson] set = 0.000000
[epson] setvalue(option = 38, value = 0xbfe3530c)
[epson] set = 215.899994
[epson] setvalue(option = 39, value = 0xbfe3530c)
[epson] set = 297.179993
[epson] setvalue(option = 33, value = 0xbfe35310)
[epson] sane_start()
[epson] open_scanner()
[epson] scanner is already open: fd = 0
[epson] sane_start: Setting data format to 1 bits
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 44 D
[epson] receive buf, expected = 1, got = 0
[epson] sane_start: set_data_format failed: Error during device I/O
[epson] setvalue(option = 10, value = 0x83b8b60)
[epson] setvalue(option = 36, value = 0x83b8b7c)
[epson] set = 0.000000
[epson] setvalue(option = 37, value = 0x83b8b80)
[epson] set = 0.000000
[epson] setvalue(option = 38, value = 0x83b8b84)
[epson] set = 0.000000
[epson] setvalue(option = 39, value = 0x83b8b88)
[epson] set = 0.000000
[epson] setvalue(option = 2, value = 0x83b8ba0)
[epson] setvalue(option = 33, value = 0xbfe35150)
[epson] setvalue(option = 36, value = 0xbfe3407c)
[epson] set = 0.000000
[epson] setvalue(option = 37, value = 0xbfe3407c)
[epson] set = 0.000000
[epson] setvalue(option = 38, value = 0xbfe3407c)
[epson] set = 0.000000
[epson] setvalue(option = 39, value = 0xbfe3407c)
[epson] set = 0.000000
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] sane_get_parameters()
[epson] Preview = 0
[epson] Resolution = 2400
[epson] get para 0x834f088 0x834f778 tlx 0.000000 tly 0.000000 brx 0.000000 
bry 0.000000 [mm]
[epson] params.format = 0
[epson] params.last_frame = 1
[epson] params.bytes_per_line = 0
[epson] params.pixels_per_line = 0
[epson] params.lines = 0
[epson] params.depth = 1
[epson] close_scanner(fd = 0)




More information about the sane-devel mailing list