[sane-devel] 4 years and It's still the same error

jebga@tin.it jebga@tin.it
Mon, 05 Nov 2001 08:44:45 +0100


root@xevilstar:~# su xsane
xsane@xevilstar:/root$ SANE_DEBUG_EPSON=128 scanimage -T
[sanei_debug] Setting debug level of epson to 128.
[epson] sane_init: sane-backends 1.0.6
[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, >scsi EPSON<
[epson] attach(/dev/sg2)
[epson] SANE Epson Backend v0.2.12 - 2001-10-28
[epson] attach(/dev/sg2)
[epson] attach: opening /dev/sg2
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 40 @
[epson] receive buf, expected = 1, got = 1
[epson] buf[0] 06 .
[epson] attach: sending INQUIRY
[epson] >EPSON   Perfection1200  1.03<
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 40 @
[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
[epson] receive buf, expected = 4, got = 4
[epson] buf[0] 15 .
[epson] buf[1] 00 .
[epson] buf[2] 00 .
[epson] buf[3] 00 .
[epson] code   15
[epson] type     0xd0
[epson] level    0xdc
[epson] no option equipment installed
[epson] Unknown type  or level @, 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] 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] 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] 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] 82 .
[epson] buf[2] 2a *
[epson] buf[3] 00 .
[epson] code   02
[epson] status 82
[epson] count  42
[epson] receive buf, expected = 42, got = 42
[epson] buf[0] 81 .
[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] 50 P
[epson] buf[27] 65 e
[epson] buf[28] 72 r
[epson] buf[29] 66 f
[epson] buf[30] 65 e
[epson] buf[31] 63 c
[epson] buf[32] 74 t
[epson] buf[33] 69 i
[epson] buf[34] 6f o
[epson] buf[35] 6e n
[epson] buf[36] 31 1
[epson] buf[37] 32 2
[epson] buf[38] 30 0
[epson] buf[39] 30 0
[epson] buf[40] 20
[epson] buf[41] 20
[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 - only enable this if you have an
EPSON scanner. It could<
[epson] sane_init, >#               otherwise block your non-EPSON
scanner from being<
[epson] sane_init, >#               recognized.<
[epson] sane_init, >#usb /dev/usbscanner0<
[epson] sane_get_devices()
[epson] sane_open(/dev/sg2)
[epson] set = 0.000000
[epson] set = 0.000000
[epson] open_scanner()xsane@xevilstar:/root$ xsane
[epson] Unknown type H or level @, using B3
Segmentation fault
xsane@xevilstar:/root$xsane@xevilstar:/root$ xscanimage
[epson] Unknown type ? or level @, using B3
Segmentation fault
xsane@xevilstar:/root$



[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 = 1
[epson] buf[0] 15 .
[epson] sane_start: set_data_format failed: Invalid argument
scanimage: sane_start: Invalid argument
xsane@xevilstar:/root$




scanimage
[epson] Unknown type  or level @, using B3
scanimage: sane_start: Invalid argument
xsane@xevilstar:/root$


????

I've followed all the documentation step by step

It's a slackware linux version 8

sane-config --version
1.0.6


uname -a
Linux xevilstar 2.4.13 #7 Mon Nov 5 02:18:52 CET 2001 i586 unknown

gcc --version
2.95.3

scanimage -L
[epson] Unknown type  or level @, using B3
device `epson:/dev/sg2' is a Epson Perfection1200 flatbed scanner


cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-W1610A Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: CREATIVE Model: DVD-ROM DVD1241E Rev: 0.39
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
  Vendor: EPSON    Model: Perfection1200   Rev: 1.03
  Type:   Processor                        ANSI SCSI revision: 02


ls /dev/sg*
/dev/sg0   /dev/sg13  /dev/sg3  /dev/sg8  /dev/sgd  /dev/sgi  /dev/sgn
/dev/sg1   /dev/sg14  /dev/sg4  /dev/sg9  /dev/sge  /dev/sgj  /dev/sgo
/dev/sg10  /dev/sg15  /dev/sg5  /dev/sga  /dev/sgf  /dev/sgk  /dev/sgp
/dev/sg11  /dev/sg16  /dev/sg6  /dev/sgb  /dev/sgg  /dev/sgl  /dev/sgq
/dev/sg12  /dev/sg2   /dev/sg7  /dev/sgc  /dev/sgh  /dev/sgm


 lsmod
Module                  Size  Used by
tdfx                   32592   1
aic7xxx_old           129792   0
capsel                 15520   6
3c59x                  25120   1
emu10k1                57104   0
ac97_codec              9152   0  [emu10k1]
ppp_deflate            39200   0  (unused)
ppp_async               6416   0  (unused)
ppp_generic            17024   0  [ppp_deflate ppp_async]
slip                    8208   0  (unused)
slhc                    4704   0  [ppp_generic slip]



pls help I've started four years ago with a phantom mikrotek scanner and
now I'm here with an epson, four years and the error is always the same

            p.s. If I  forgot to paste something please tell me .....