[sane-devel] sane configure in Fedora 5
Ray Curtis
ray at ccux.com
Thu Jul 13 20:26:04 UTC 2006
I have a Epson 2450 usb scanner that I am trying to get to work.
First I have these rpms installed:
sane-backends-1.0.17-5.fc5.9.x86_64
xsane-0.99-2.2.fc5.4.x86_64
sane-frontends-1.0.14-1.2.1.x86_64
I have in /etc/services:
sane-port 6566/tcp # SANE Control Port
sane-port 6566/udp # SANE Control Port
I commented out all the lines in /etc/sane.d/dll.conf except
epson
I changed /etc/sane.d/epson.conf to have the line:
usb 0x04b8 0x0112
which came from the output of scanimage -L
Then in /etc/sane.d/saned.conf I have:
192.168.1.4
the ip of the localhost which has the scanner attached.
However when I call up xsane I get the error:
Failed to start scanner: Error during device I/O
I have attached the output of :
SANE_DEBUG_EPSON=255 SANE_DEBUG_SANEI_USB=255 scanimage -L
What have I gotten wrong here please, I used to have
this working in redhat 9 ?
Thanks,
--
Ray Curtis
mailto:ray at ccux.com http://www.ccux.com
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
[sanei_debug] Setting debug level of epson to 255.
[epson] sane_init: sane-backends 1.0.17
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
usb_os_find_devices: Found 008 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Operation not permitted
[sanei_usb] sanei_usb_init: device 0x051d/0x0002, interface 0 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x051d/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x0112) interface 0 at libusb:001:008
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 1 devices
[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, ># for the GT-6500, comment out the previous line and uncomment the following line:<
[epson] sane_init, >#scsi<
[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] attach_one_usb()
[epson] SANE Epson Backend v0.2.45 - 2000-01-09
[epson] attach(, 3)
[epson] attach: opening
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0101
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0103
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010c
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0104
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010b
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0106
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0109
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010a
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0107
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0110
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0112
[epson] attach_one_usb(libusb:001:008)
[epson] SANE Epson Backend v0.2.45 - 2000-01-09
[epson] attach(libusb:001:008, 3)
[epson] attach: opening libusb:001:008
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:008'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open: interface nr: 0
[sanei_usb] sanei_usb_open: alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x02)
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:008' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04b8, productID: 0x0112
[epson] Found valid EPSON scanner: 0x4b8/0x112 (vendorID/productID)
[epson] reset()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 40 @
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 40 . at ..............
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[epson] w_cmd_count = 1
[epson] r_cmd_count = 0
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 0000: 06 ................
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[epson] w_cmd_count = 1
[epson] r_cmd_count = 1
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] get_identity_information()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 49 I
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 49 .I..............
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[epson] w_cmd_count = 2
[epson] r_cmd_count = 1
[sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
[sanei_usb] 0000: 02 12 6A 00 ..j.............
[sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 4 bytes
[epson] w_cmd_count = 2
[epson] r_cmd_count = 2
[epson] receive buf, expected = 4, got = 4
[epson] buf[0] 02 .
[epson] buf[1] 12 .
[epson] buf[2] 6a j
[epson] buf[3] 00 .
[epson] code 02
[epson] status 12
[epson] count 106
[sanei_usb] sanei_usb_read_bulk: trying to read 106 bytes
[sanei_usb] 0000: 42 38 52 32 00 52 3C 00 52 48 00 52 4B 00 52 50 B8R2.R<.RH.RK.RP
[sanei_usb] 0010: 00 52 5A 00 52 64 00 52 78 00 52 85 00 52 90 00 .RZ.Rd.Rx.R..R..
[sanei_usb] 0020: 52 96 00 52 A0 00 52 AF 00 52 B4 00 52 C8 00 52 R..R..R..R..R..R
[sanei_usb] 0030: D8 00 52 F0 00 52 0A 01 52 2C 01 52 40 01 52 5E ..R..R..R,.R at .R^
[sanei_usb] 0040: 01 52 68 01 52 90 01 52 E0 01 52 58 02 52 D0 02 .Rh.R..R..RX.R..
[sanei_usb] 0050: 52 20 03 52 84 03 52 B0 04 52 40 06 52 08 07 52 R .R..R..R at .R..R
[sanei_usb] 0060: 60 09 52 80 0C 41 40 6A 40 92 `.R..A at j@.......
[sanei_usb] sanei_usb_read_bulk: wanted 106 bytes, got 106 bytes
[epson] w_cmd_count = 2
[epson] r_cmd_count = 4
[epson] receive buf, expected = 106, got = 106
[epson] buf[0] 42 B
[epson] buf[1] 38 8
[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] 0a .
[epson] buf[55] 01 .
[epson] buf[56] 52 R
[epson] buf[57] 2c ,
[epson] buf[58] 01 .
[epson] buf[59] 52 R
[epson] buf[60] 40 @
[epson] buf[61] 01 .
[epson] buf[62] 52 R
[epson] buf[63] 5e ^
[epson] buf[64] 01 .
[epson] buf[65] 52 R
[epson] buf[66] 68 h
[epson] buf[67] 01 .
[epson] buf[68] 52 R
[epson] buf[69] 90 .
[epson] buf[70] 01 .
[epson] buf[71] 52 R
[epson] buf[72] e0 .
[epson] buf[73] 01 .
[epson] buf[74] 52 R
[epson] buf[75] 58 X
[epson] buf[76] 02 .
[epson] buf[77] 52 R
[epson] buf[78] d0 .
[epson] buf[79] 02 .
[epson] buf[80] 52 R
[epson] buf[81] 20
[epson] buf[82] 03 .
[epson] buf[83] 52 R
[epson] buf[84] 84 .
[epson] buf[85] 03 .
[epson] buf[86] 52 R
[epson] buf[87] b0 .
[epson] buf[88] 04 .
[epson] buf[89] 52 R
[epson] buf[90] 40 @
[epson] buf[91] 06 .
[epson] buf[92] 52 R
[epson] buf[93] 08 .
[epson] buf[94] 07 .
[epson] buf[95] 52 R
[epson] buf[96] 60 `
[epson] buf[97] 09 .
[epson] buf[98] 52 R
[epson] buf[99] 80 .
[epson] buf[100] 0c .
[epson] buf[101] 41 A
[epson] buf[102] 40 @
[epson] buf[103] 6a j
[epson] buf[104] 40 @
[epson] buf[105] 92 .
[epson] type B 0x42
[epson] level 8 0x38
[epson] option equipment is 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): 266
[epson] resolution (dpi): 300
[epson] resolution (dpi): 320
[epson] resolution (dpi): 350
[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] resolution (dpi): 3200
[epson] maximum scan area: x 27200 y 37440
[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
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 44 .D..............
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[epson] w_cmd_count = 3
[epson] r_cmd_count = 4
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 0000: 06 ................
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[epson] w_cmd_count = 3
[epson] r_cmd_count = 5
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] send buf, size = 1
[epson] buf[0] 10 .
[sanei_usb] sanei_usb_write_bulk: trying to write 1 bytes
[sanei_usb] 0000: 10 ................
[sanei_usb] sanei_usb_write_bulk: wanted 1 bytes, wrote 1 bytes
[epson] w_cmd_count = 4
[epson] r_cmd_count = 5
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 0000: 06 ................
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[epson] w_cmd_count = 4
[epson] r_cmd_count = 6
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] Max. supported color depth = 16
[epson] request_focus_position()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 71 q
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 71 .q..............
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[epson] w_cmd_count = 5
[epson] r_cmd_count = 6
[sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
[sanei_usb] 0000: 02 12 02 00 ................
[sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 4 bytes
[epson] w_cmd_count = 5
[epson] r_cmd_count = 7
[epson] receive buf, expected = 4, got = 4
[epson] buf[0] 02 .
[epson] buf[1] 12 .
[epson] buf[2] 02 .
[epson] buf[3] 00 .
[sanei_usb] sanei_usb_read_bulk: trying to read 2 bytes
[sanei_usb] 0000: 00 40 . at ..............
[sanei_usb] sanei_usb_read_bulk: wanted 2 bytes, got 2 bytes
[epson] w_cmd_count = 5
[epson] r_cmd_count = 8
[epson] receive buf, expected = 2, got = 2
[epson] buf[0] 00 .
[epson] buf[1] 40 @
[epson] Focus position = 0x40
[epson] Enabling 'Set Focus' support
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 66 f
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 66 .f..............
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[epson] w_cmd_count = 6
[epson] r_cmd_count = 8
[sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
[sanei_usb] 0000: 02 12 2A 00 ..*.............
[sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 4 bytes
[epson] w_cmd_count = 6
[epson] r_cmd_count = 9
[epson] receive buf, expected = 4, got = 4
[epson] buf[0] 02 .
[epson] buf[1] 12 .
[epson] buf[2] 2a *
[epson] buf[3] 00 .
[epson] code 02
[epson] status 12
[epson] count 42
[sanei_usb] sanei_usb_read_bulk: trying to read 42 bytes
[sanei_usb] 0000: 07 00 00 00 00 00 80 00 32 C0 71 00 00 00 00 00 ........2.q.....
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 00 00 47 54 2D 39 37 30 ..........GT-970
[sanei_usb] 0020: 30 20 20 20 20 20 20 20 20 20 0 ......
[sanei_usb] sanei_usb_read_bulk: wanted 42 bytes, got 42 bytes
[epson] w_cmd_count = 6
[epson] r_cmd_count = 10
[epson] receive buf, expected = 42, got = 42
[epson] buf[0] 07 .
[epson] buf[1] 00 .
[epson] buf[2] 00 .
[epson] buf[3] 00 .
[epson] buf[4] 00 .
[epson] buf[5] 00 .
[epson] buf[6] 80 .
[epson] buf[7] 00 .
[epson] buf[8] 32 2
[epson] buf[9] c0 .
[epson] buf[10] 71 q
[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] 39 9
[epson] buf[30] 37 7
[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] TPU detected
[epson] tpu tlx 0.000000 tly 0.000000 brx 101.599991 bry 231.139999 [mm]
[epson] scanner model: GT-9700
[epson] close_scanner(fd = 0)
[epson] w_cmd_count = 6
[epson] r_cmd_count = 10
[epson] w_cmd_count = 6
[epson] r_cmd_count = 10
[sanei_usb] sanei_usb_close: closing device 0
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0116
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011b
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011c
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0126
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0128
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0129
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x012a
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0801
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0802
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0805
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0806
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0807
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0808
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080d
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080f
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0810
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0811
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0814
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0815
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0820
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0000
[epson] sane_init, ># For libusb support for unknown scanners use the following command<
[epson] sane_init, ># usb <product ID> <device ID><
[epson] sane_init, >#vendor=0x04b8 [EPSON], product=0x0112 [EPSON Scanner]) at libusb:001:007<
[epson] sane_init, ><
[epson] sane_init, >usb 0x04b8 0x0112<
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0112
[epson] attach_one_usb(libusb:001:008)
[epson] SANE Epson Backend v0.2.45 - 2000-01-09
[epson] attach(libusb:001:008, 3)
[epson] sane_init, ><
[epson] sane_init, ># And for the scanner module, use the following configuration:<
[epson] sane_init, >#usb /dev/usb/scanner0<
[epson] sane_init, ><
[epson] sane_get_devices()
device `epson:libusb:001:008' is a Epson GT-9700 flatbed scanner
More information about the sane-devel
mailing list