[sane-devel] Epson GT-7400U not detected

mpsuzuki at hiroshima-u.ac.jp mpsuzuki at hiroshima-u.ac.jp
Sun Mar 28 17:06:46 BST 2004


Dear Mr. Olaf and Mr. Julian,

Recently I've got Epson GT-7400U and trying the instructions
posted in this list. So, before all, great thanks to Mr. Olaf
and Mr. Julian.

Modifications I did are only 2:

(1) modification in linux-2.4.x/drivers/usb/scanner.h
I add following line to make scanner.o can detect GT-7400U,
if without it, the device files like /dev/usbscanner etc
cannot be accessible, thus sane-find-scanner and scanimage
cannot detect it.

        { USB_DEVICE(0x04b8, 0x011e) }, /* Perfection 1660 Photo */
====>   { USB_DEVICE(0x04b8, 0x0120) }, /* GT-7400U */
        { USB_DEVICE(0x04b8, 0x0801) }, /* Stylus CX5200 */

(2) modification in snapscan.conf
I rewrite the path of firmware image and USB vendor and product ID as:

# Epson GT-7400U
usb 0x04b8 0x0120

Please find attached snapscan.conf

--

As a result, sane-find-scanner and scanimage -L could find
(see attached scanimage-L_GT-7400U.log, it is executed under
env SANE_DEBUG_SNAPSCAN=255) report it.

When I execute scanimage to scan image, it accesses the scanner,
but it seems that no data can be red.

Please find attached scanimage_GT-7400U.log.
After measuring speed, scanimage writes 10 octet command to USB, 
GT-7400U does not start scanning at all (CCD head is not moved),
and scanimage does not read anything. It looks like hang up.

[snapscan] sane_snapscan_start: after measuring speed:
	15312 bytes per scan line
	5.000000 milliseconds per scan line.
	==>3062.400000 bytes per millisecond
[snapscan] calibrate: reading calibration data (2 lines)
[snapscan] read_calibration_data
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(1,0x8104c70,10,0x81193f0,0xbfff660c (61200))
[snapscan] atomic_usb_cmd(1,0x8104c70,10,0x81193f0,0xbfff660c (61200))
[snapscan] usb_cmd(1,0x8104c70,10,0x81193f0,0xbfff660c (61200))
[snapscan] usb_cmd: cmdlen=10, datalen=0
[snapscan] usb_write: writing:  0x28 0x00 0x82 0x00 0x00 0x02 0x00 0xef 0x10 0x00
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
--hang up--

BTW, in the debug messages, I cannot find any mention about
transfering of firmware image. Did I mistake in snapscan.conf?

Regards,

mpsuzuki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapscan.conf
Type: application/octet-stream
Size: 2037 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040328/11cbc9fa/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_GT7400U.log
Type: application/octet-stream
Size: 2904 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040328/11cbc9fa/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanimage-L_GT-7400U.log
Type: application/octet-stream
Size: 2814 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040328/11cbc9fa/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanimage_GT-7400U.log
Type: application/octet-stream
Size: 16304 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040328/11cbc9fa/attachment-0003.obj>


More information about the sane-devel mailing list