Rayudu Addagarla <[email protected]> writes: > Hai > Seems this problem was there in epson backend years back, > see this list from november 2001. > http://lists.alioth.debian.org/pipermail/sane-devel/2001-November/000875.html > I have no other suggestions now, but if i find will post.
The mail mentioned concerns the Perfection 1200 which _is_ supported by the epson and epkowa backends. As I already mentioned in another mail, the Perfection 4490 will not be supported by the epson backend. Support is planned for the epkowa backend and will require an closed source library. > -rayudu > > On 8/24/05, Gerhard Grygiel <[email protected]> wrote: >> Hi, >> >> On Wed, Aug 24, 2005 at 12:06:44PM -0400, Rayudu Addagarla wrote: >> > Hai Gerhard, >> > Try the snapscan backend. >> > I saw some references of epson and the vendor ID, in snapscan.h and >> > snapscan.conf >> I build sane-backends new from cvs (1.0.16). >> >> # the snapascn backend test: >> $ export SANE_DEBUG_SNAPSCAN=128 >> $ scanimage -L >> [sanei_debug] Setting debug level of snapscan to 128. >> [snapscan] sane_snapscan_init >> [snapscan] sane_snapscan_init: Snapscan backend version 1.4.43 >> [snapscan] add_usb_device(libusb:004:002) >> [snapscan] add_usb_device: Detected (kind of) an USB device >> [snapscan] snapscani_usb_open(libusb:004:002) >> [snapscan] add_usb_device: Checking if 0x04b8 is a supported USB vendor >> ID >> [snapscan] snapscani_check_device() >> [snapscan] mini_inquiry >> [snapscan] snapscan_cmd >> [snapscan] snapscani_usb_cmd(0,0xbf992762,6,0xbf99273e,0xbf992768 (36)) >> [snapscan] atomic_usb_cmd(0,0xbf992762,6,0xbf99273e,0xbf992768 (36)) >> [snapscan] usb_cmd(0,0xbf992762,6,0xbf99273e,0xbf992768 (36)) >> [snapscan] usb_cmd: cmdlen=6, datalen=0 >> [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x24 0x00 >> [snapscan] Written 6 bytes >> [snapscan] usb_read Only 0 bytes read >> [snapscan] usb_read: reading: 0x12 0x00 0x00 0x00 0x24 0x00 0x17 0xc0 >> [snapscan] Read 0 bytes >> [snapscan] mini_inquiry: snapscan_cmd command failed: Error during device I/O >> [snapscan] snapscani_check_device: mini_inquiry failed with Error during >> device I/O. >> [snapscan] snapscani_usb_close(0) >> [snapscan] 1st read 0 write 1 >> [snapscan] snapscani_usb_cmd(0,0xbf992758,6,0xbf9926e0,0xbf992764 (120)) >> [snapscan] atomic_usb_cmd(0,0xbf992758,6,0xbf9926e0,0xbf992764 (120)) >> [snapscan] usb_cmd(0,0xbf992758,6,0xbf9926e0,0xbf992764 (120)) >> [snapscan] usb_cmd: cmdlen=6, datalen=0 >> [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x78 0x00 >> [snapscan] Written 6 bytes >> [snapscan] usb_read Only 0 bytes read >> [snapscan] usb_read: reading: 0x12 0x00 0x00 0x00 0x78 0x00 0x00 0x00 >> [snapscan] Read 0 bytes >> [snapscan] 2nd read 0 write 2 >> [snapscan] sane_snapscan_exit >> >> >> It seems that the snapscan backend can't talk to the scanner. >> >> # the epson backend test >> $ scanimage -L >> device `epson:libusb:004:002' is a Epson flatbed scanner >> $ export SANE_DEBUG_EPSON=128 >> $ scanimage -d epson:libusb:004:002 > out.pnm >> [sanei_debug] Setting debug level of epson to 128. >> [epson] sane_init: sane-backends 1.0.16-cvs >> [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 >> [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 0x4b8 0x110< >> [epson] sane_init, ># And for the scanner module, use the following >> configuration:< >> [epson] sane_init, >#usb /dev/usbscanner0< >> [epson] sane_init, >#usb /dev/usb/scanner0< >> [epson] sane_init, >< >> [epson] sane_init, ># Epson Perfection 4490< >> [epson] sane_init, >usb 0x04b8 0x0119< >> [epson] attach_one_usb(libusb:004:002) >> [epson] SANE Epson Backend v0.2.45 - 2000-01-09 >> [epson] attach(libusb:004:002, 3) >> [epson] attach: opening libusb:004:002 >> [epson] Found valid EPSON scanner: 0x4b8/0x119 (vendorID/productID) >> [epson] reset() >> [epson] send buf, size = 2 >> [epson] buf[0] 1b . >> [epson] buf[1] 40 @ >> [epson] w_cmd_count = 1 >> [epson] r_cmd_count = 0 >> [epson] w_cmd_count = 1 >> [epson] r_cmd_count = 1 >> [epson] receive buf, expected = 1, got = 1 >> [epson] buf[0] 15 . >> [epson] get_identity_information() >> [epson] send buf, size = 2 >> [epson] buf[0] 1b . >> [epson] buf[1] 49 I >> [epson] w_cmd_count = 2 >> [epson] r_cmd_count = 1 >> [epson] w_cmd_count = 2 >> [epson] r_cmd_count = 2 >> [epson] receive buf, expected = 4, got = 1 >> [epson] buf[0] 15 . >> [epson] code 15 >> [epson] type 1 0x31 >> [epson] level 9 0x39 >> [epson] no option equipment installed >> [epson] Unknown type 1 or level 9, using B3 >> [epson] fbf tlx 0.000000 tly 0.000000 brx 0.000000 bry 0.000000 [mm] >> [epson] send buf, size = 2 >> [epson] buf[0] 1b . >> [epson] buf[1] 44 D >> [epson] w_cmd_count = 3 >> [epson] r_cmd_count = 2 >> [epson] w_cmd_count = 3 >> [epson] r_cmd_count = 3 >> [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] w_cmd_count = 4 >> [epson] r_cmd_count = 3 >> [epson] w_cmd_count = 4 >> [epson] r_cmd_count = 4 >> [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] w_cmd_count = 5 >> [epson] r_cmd_count = 4 >> [epson] w_cmd_count = 5 >> [epson] r_cmd_count = 5 >> [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] w_cmd_count = 6 >> [epson] r_cmd_count = 5 >> [epson] w_cmd_count = 6 >> [epson] r_cmd_count = 6 >> [epson] receive buf, expected = 4, got = 1 >> [epson] buf[0] 15 . >> [epson] code 15 >> [epson] scanner model: >> [epson] close_scanner(fd = 0) >> [epson] w_cmd_count = 6 >> [epson] r_cmd_count = 6 >> [epson] w_cmd_count = 6 >> [epson] r_cmd_count = 6 >> [epson] sane_init, >< >> [epson] sane_open(libusb:004:002) >> [epson] init_options() >> [epson] open_scanner() >> [epson] setvalue(option = 38, value = 0xbf9b9794) >> [epson] set = 0.000000 >> [epson] setvalue(option = 39, value = 0xbf9b9794) >> [epson] set = 0.000000 >> [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] w_cmd_count = 7 >> [epson] r_cmd_count = 6 >> [epson] w_cmd_count = 7 >> [epson] r_cmd_count = 7 >> [epson] receive buf, expected = 1, got = 1 >> [epson] buf[0] 15 . >> [epson] sane_start: set_data_format failed: Invalid argument >> scanimage: sane_start: Invalid argument >> [epson] close_scanner(fd = 0) >> [epson] send buf, size = 2 >> [epson] buf[0] 1b . >> [epson] buf[1] 46 F >> [epson] w_cmd_count = 8 >> [epson] r_cmd_count = 7 >> [epson] w_cmd_count = 8 >> [epson] r_cmd_count = 8 >> [epson] receive buf, expected = 4, got = 1 >> [epson] buf[0] 15 . >> [epson] w_cmd_count = 8 >> [epson] r_cmd_count = 8 >> [epson] w_cmd_count = 8 >> [epson] r_cmd_count = 8 >> >> For the epkowa backend, I don't know were to find the newest sources. >> >> Please let me know if I can provide any further informations. >> >> Greetings Gerhard >> >> >> -- >> sane-devel mailing list: [email protected] >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to [email protected] >> > > > -- > Kondala Rayudu Addagarla > Java Developer & Unix/Linux Administrator. > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected] > -- Olaf Meeuwissen EPSON AVASYS Corporation, LAN FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2
