[sane-devel] teco1: RELISYS 9630 with sane 1.0.9
Pierre SOUCHAY
bad.sheep at free.fr
Sun Dec 8 22:03:06 GMT 2002
Hi,
To make my scanner work, I added the following lines to teco1.c
$ diff teco1.c teco1.c.back
201,210d200
< },
<
< {6, "TECO VM6540",
< TECO_VM6540,
< "Relisys", "RELI 9630",
< {1, 600, 1}, /* resolution */
< 600, 600, /* max x and Y resolution */
< 1, /* color 1 pass */
< 1024, /* number of bytes per gamma color */
< 99 /* number of bytes in a window */
$ diff teco1.h teco1.h.back
277,278c277
< TECO_VM4542,
< TECO_VM6540
---
> TECO_VM4542
and these two lines to teco1.conf :
# Relisys 9640
scsi "RELISYS" "VM6540" Scanner * * * 0
But since I don't know the capabilities of the Relisys 9630 (I was not able to
find any documentation on it), I'm not sure of the validity of the parameters
:(
So when I'll have more time, I will try to install a Bill Gates based OS with
the same configuration to have more informations on the scanner :)
With these modifications, I have the followings results :
scanimage -L
device `teco1:/dev/scanner' is a Relisys RELI 9630 flatbed scanner
device `teco1:/dev/sg0' is a Relisys RELI 9630 flatbed scanner
Seems good :)
But :
export SANE_DEBUG_TECO1=128 ; scanimage -d teco1:/dev/scanner 2>log.txt
Gives the following output :
[sanei_debug] Setting debug level of teco1 to 128.
[teco1] sane_init
[teco1] This is sane-teco1 version 1.0-9
[teco1] (C) 2002 by Frank Zago
[teco1] attach_scanner: /dev/sg0
[teco1] teco_init: enter
[teco1] teco_init: exit
[teco1] attach_scanner: opening /dev/sg0
[teco1] teco_identify_scanner: enter
[teco1] inquiry
[teco1] 000: 06 00 02 02 30 00 00 10 52 45 4c 49 53 59 53 20
....0...RELISYS
[teco1] 016: 56 4d 36 35 34 30 20 20 20 20 20 20 20 20 20 20 VM6540
[teco1] 032: 31 2e 31 31 31 2e 31 31 02 00 54 45 43 4f 20 56 1.111.11..TECO
V
[teco1] 048: 4d 36 35 34 30 M6540
[teco1] device is "RELISYS " "VM6540 " "1.11" "TECO VM6540"
[teco1] teco_identify_scanner: scanner supported
[teco1] teco_get_inquiry_82: enter
[teco1] inquiry page 0x82
[teco1] 000: 06 82 00 12 11 54 45 43 4f 20 56 4d 36 35 34 30 .....TECO
VM6540
[teco1] 016: 20 56 31 2e 31 31 V1.11
[teco1] teco_get_inquiry_82: leave
[teco1] teco_close: enter
[teco1] teco_close: exit
[teco1] attach_scanner: exit
[teco1] attach_scanner: /dev/scanner
[teco1] teco_init: enter
[teco1] teco_init: exit
[teco1] attach_scanner: opening /dev/scanner
[teco1] teco_identify_scanner: enter
[teco1] inquiry
[teco1] 000: 06 00 02 02 30 00 00 10 52 45 4c 49 53 59 53 20
....0...RELISYS
[teco1] 016: 56 4d 36 35 34 30 20 20 20 20 20 20 20 20 20 20 VM6540
[teco1] 032: 31 2e 31 31 31 2e 31 31 02 00 54 45 43 4f 20 56 1.111.11..TECO
V
[teco1] 048: 4d 36 35 34 30 M6540
[teco1] device is "RELISYS " "VM6540 " "1.11" "TECO VM6540"
[teco1] teco_identify_scanner: scanner supported
[teco1] teco_get_inquiry_82: enter
[teco1] inquiry page 0x82
[teco1] 000: 06 82 00 12 11 54 45 43 4f 20 56 4d 36 35 34 30 .....TECO
VM6540
[teco1] 016: 20 56 31 2e 31 31 V1.11
[teco1] teco_get_inquiry_82: leave
[teco1] teco_close: enter
[teco1] teco_close: exit
[teco1] attach_scanner: exit
[teco1] sane_init: leave
[teco1] sane_open: enter
[teco1] sane_open: devicename=/dev/scanner
[teco1] sane_control_option: enter, option 2, action 1
[teco1] sane_open: exit
[teco1] sane_control_option: enter, option 0, action 0
[teco1] sane_control_option: enter, option 0, action 0
[teco1] sane_get_option_descriptor: enter, option 0
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 1
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 2
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 3
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 4
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 5
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 6
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 7
[teco1] sane_get_option_descriptor: exit
[teco1] sane_control_option: enter, option 7, action 0
[teco1] sane_get_option_descriptor: enter, option 8
[teco1] sane_get_option_descriptor: exit
[teco1] sane_control_option: enter, option 8, action 0
[teco1] sane_get_option_descriptor: enter, option 9
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 10
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 11
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 12
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 13
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 14
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 15
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 16
[teco1] sane_get_option_descriptor: exit
[teco1] sane_get_option_descriptor: enter, option 17
[teco1] sane_get_option_descriptor: exit
[teco1] sane_control_option: enter, option 5, action 0
[teco1] sane_control_option: enter, option 6, action 0
[teco1] sane_control_option: enter, option 5, action 0
[teco1] sane_get_option_descriptor: enter, option 7
[teco1] sane_get_option_descriptor: exit
[teco1] sane_control_option: enter, option 7, action 1
[teco1] sane_control_option: enter, option 6, action 0
[teco1] sane_get_option_descriptor: enter, option 8
[teco1] sane_get_option_descriptor: exit
[teco1] sane_control_option: enter, option 8, action 1
[teco1] sane_start: enter
[teco1] sane_get_parameters: enter
[teco1] sane_get_parameters: exit
[teco1] teco_wait_scanner: enter
[teco1] teco_mode_select: enter
[teco1] teco_mode_select: exit
[teco1] teco_set_window: enter
[teco1] windows
[teco1] 000: 00 00 00 00 00 00 00 5b 00 00 00 64 00 64 00 00
.......[...d.d..
[teco1] 016: 00 00 00 00 00 00 00 00 13 eb 00 00 20 cf 00 80 ............
...
[teco1] 032: 00 00 08 00 00 80 00 00 00 00 00 00 00 00 00 00
................
[teco1] 048: 00 00 00 00 00 00 00 80 00 80 00 80 00 80 00 00
................
[teco1] 064: 00 80 00 80 00 80 00 80 00 80 00 80 00 80 00 80
................
[teco1] 080: 00 00 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00
................
[teco1] 096: 00 ff 00 ...
[teco1] teco_sense_handler: enter
[teco1] sense
[teco1] 000: f0 00 05 00 00 00 00 0a 00 00 00 00 80 08 00 00
................
[teco1] 016: 00 .
[teco1] teco_sense_handler: sense=5
[teco1] teco_set_window: exit, status=9
[teco1] teco_close: enter
[teco1] teco_close: exit
scanimage: sane_start: Error during device I/O
[teco1] sane_cancel: enter
[teco1] do_cancel enter
[teco1] do_cancel exit
[teco1] sane_cancel: exit
[teco1] sane_close: enter
[teco1] do_cancel enter
[teco1] do_cancel exit
[teco1] teco_close: enter
[teco1] teco_close: exit
[teco1] teco_free: enter
[teco1] teco_close: enter
[teco1] teco_close: exit
[teco1] teco_free: exit
[teco1] sane_close: exit
[teco1] sane_exit: enter
[teco1] sane_close: enter
[teco1] do_cancel enter
[teco1] do_cancel exit
[teco1] teco_close: enter
[teco1] teco_close: exit
[teco1] teco_free: enter
[teco1] teco_close: enter
[teco1] teco_close: exit
[teco1] teco_free: exit
[teco1] sane_close: exit
[teco1] sane_exit: exit
So, I suppose my parameters are not good :)
If you have any suggestions, don't hesitate :)
Regards.
Pierre SOUCHAY
Gerard Klaver wrote:
> Pierre SOUCHAY wrote:
>
>> Hi,
>>
>> I'm trying to make my RELISYS 9630 work with SANE 1.0.9.
>> The scanner is connected to a Adaptec aic7870 card using a debian
>> linux 2.4.18-686 kernel.
>> The sane-find-scanner finds a scanner, but I cannot make it work.
>> It seems this scanner has never been tested, maybe I can help the
>> teco1 maintainers ?
>> Maybe the error is due to the SCSI card, I don't really now.
>> That is why I join all the commands I tried.
>> Note : I've never seen this card working with the scanner since I
>> don't have Windows, so I don't know if both can work together.
>>
>> Regards.
>>
>> Pierre SOUCHAY
>>
>> commands used :
>>
>
> See also homepage: http://fz.eryx.net/sane/#teco
>
> Use for finding scanner: sane-find-scanner -v (as root)
>
> This info is needed to be patched into the teco1 files to identify the
> scanner when it is used.
>
> Also for debug info use:
>
> export SANE_DEBUG_TECO1=128
>
> xscanimage 2>log1.txt teco1:/dev/scanner
More information about the sane-devel
mailing list