[sane-devel] Problems with Artec Ultima 2000...

Gerhard Jaeger gerhard@gjaeger.de
Mon, 24 May 2004 12:48:35 +0200


Hi list,

I currently try to help somebody with a Ultima scanner using SuSE 9.1 (ke=
rnel 2.6.4 AFAIR).
and SANE-1.0.13 ...

First strange thing I noticed is this:
># sane-find-scanner=20
>
># No SCSI scanners found. If you expected something different, make sure=
 that=20
># you have loaded a SCSI driver for your SCSI adapter.=20
>
>found USB scanner (vendor=3D0x05d8, product=3D0x4002) at libusb:002:004=20
>found USB scanner (vendor=3D0x057c [AVM Berlin], product=3D0x0c00 [AVM I=
SDN-Controller FRITZ!Card USB]) at libusb:002:003=20
># Your USB scanner was (probably) detected. It may or may not be support=
ed by=20
># SANE. Try scanimage -L and read the backend's manpage.=20
>
># Scanners connected to the parallel port or other proprietary ports can=
't be=20
># detected by this program.=20

Strange enough, that an ISDN-Controller is detectet as scanner!!!!


linux:/home/michael # scanimage -L=20
device `gt68xx:libusb:002:004' is a Artec Ultima 2000 flatbed scanner=20

This output seems to be okay!
Now the strange one:

michael@linux:~> export SANE_DEBUG_GT68XX=3D255 ; scanimage > /dev/null=20
[sanei_debug] Setting debug level of gt68xx to 255.=20
[gt68xx] SANE GT68xx backend version 1.0 build 49 from sane-backends 1.0.=
13=20
[gt68xx] sane_init: authorize !=3D null=20
[gt68xx] sane_init: little endian machine=20
[gt68xx] sane_init: reading config file `gt68xx.conf'=20
[gt68xx] sane_init: config file line 1: ignoring empty line=20
[gt68xx] sane_init: config file line 2: ignoring comment line=20
[gt68xx] sane_init: config file line 3: ignoring comment line=20
[gt68xx] sane_init: config file line 4: ignoring empty line=20
[gt68xx] sane_init: config file line 5: ignoring comment line=20
[gt68xx] sane_init: config file line 6: ignoring comment line=20
[gt68xx] sane_init: config file line 7: ignoring comment line=20
[gt68xx] sane_init: config file line 8: ignoring comment line=20
[gt68xx] sane_init: config file line 9: ignoring empty line=20
[gt68xx] sane_init: config file line 10: ignoring comment line=20
[gt68xx] sane_init: config file line 11: ignoring comment line=20
[gt68xx] sane_init: config file line 12: ignoring comment line=20
[gt68xx] sane_init: config file line 13: trying to attach `usb 0x05d8 0x4=
002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: trying to open device `libusb:002:003'=20
[gt68xx] gt68xx_device_new: enter=20
[gt68xx] gt68xx_device_new:: leave: ok=20
[gt68xx] gt68xx_device_open: enter: dev=3D0x8054988=20
[gt68xx] gt68xx_device_open: leave: ok=20
[gt68xx] attach: device `libusb:002:003' successfully opened=20
[gt68xx] attach: found Mustek flatbed scanner BearPaw 1200 CU at libusb:0=
02:003=20
[gt68xx] gt68xx_device_close: enter: dev=3D0x8054988=20
[gt68xx] gt68xx_device_close: leave: ok=20
[gt68xx] attach: exit=20
[gt68xx] sane_init: config file line 14: ignoring empty line=20
[gt68xx] sane_init: config file line 15: ignoring comment line=20
[gt68xx] sane_init: config file line 16: ignoring empty line=20
[gt68xx] sane_init: config file line 17: ignoring comment line=20
[gt68xx] sane_init: config file line 18: ignoring comment line=20
[gt68xx] sane_init: config file line 19: ignoring empty line=20
[gt68xx] sane_init: config file line 20: ignoring comment line=20
[gt68xx] sane_init: config file line 21: ignoring comment line=20
[gt68xx] sane_init: config file line 22: ignoring comment line=20
[gt68xx] sane_init: config file line 23: ignoring comment line=20
[gt68xx] sane_init: config file line 24: ignoring empty line=20
[gt68xx] sane_init: config file line 25: ignoring comment line=20
[gt68xx] sane_init: config file line 26: ignoring comment line=20
[gt68xx] sane_init: config file line 27: ignoring comment line=20
[gt68xx] sane_init: config file line 28: ignoring comment line=20
[gt68xx] sane_init: config file line 29: ignoring empty line=20
[gt68xx] sane_init: config file line 30: ignoring comment line=20
[gt68xx] sane_init: config file line 31: ignoring comment line=20
[gt68xx] sane_init: config file line 32: ignoring empty line=20
[gt68xx] sane_init: config file line 33: ignoring comment line=20
[gt68xx] sane_init: config file line 34: ignoring comment line=20
[gt68xx] sane_init: config file line 35: ignoring comment line=20
[gt68xx] sane_init: config file line 36: ignoring empty line=20
[gt68xx] sane_init: config file line 37: ignoring comment line=20
[gt68xx] sane_init: config file line 38: ignoring comment line=20
[gt68xx] sane_init: config file line 39: ignoring comment line=20
[gt68xx] sane_init: config file line 40: ignoring comment line=20
[gt68xx] sane_init: config file line 41: ignoring empty line=20
[gt68xx] sane_init: config file line 42: ignoring comment line=20
[gt68xx] sane_init: new model set to artec-ultima-2000=20
[gt68xx] sane_init: config file line 44: ignoring comment line=20
[gt68xx] sane_init: config file line 45: ignoring comment line=20
[gt68xx] sane_init: config file line 46: ignoring empty line=20
[gt68xx] sane_init: config file line 47: ignoring comment line=20
[gt68xx] sane_init: config file line 48: ignoring comment line=20
[gt68xx] sane_init: config file line 49: ignoring comment line=20
[gt68xx] sane_init: config file line 50: ignoring comment line=20
[gt68xx] sane_init: config file line 51: ignoring empty line=20
[gt68xx] sane_init: config file line 52: ignoring comment line=20
[gt68xx] sane_init: config file line 53: ignoring comment line=20
[gt68xx] sane_init: config file line 54: ignoring comment line=20
[gt68xx] sane_init: config file line 55: ignoring comment line=20
[gt68xx] sane_init: config file line 56: ignoring empty line=20
[gt68xx] sane_init: config file line 57: ignoring comment line=20
[gt68xx] sane_init: config file line 58: ignoring comment line=20
[gt68xx] sane_init: config file line 59: ignoring empty line=20
[gt68xx] sane_init: config file line 60: ignoring comment line=20
[gt68xx] sane_init: config file line 61: ignoring comment line=20
[gt68xx] sane_init: config file line 62: ignoring comment line=20
[gt68xx] sane_init: config file line 63: ignoring comment line=20
[gt68xx] sane_init: config file line 64: ignoring empty line=20
[gt68xx] sane_init: config file line 65: ignoring comment line=20
[gt68xx] sane_init: config file line 66: ignoring comment line=20
[gt68xx] sane_init: config file line 67: trying to attach `usb 0x055f 0x0=
21e'=20
[gt68xx] sane_init: config file line 68: ignoring empty line=20
[gt68xx] sane_init: config file line 69: ignoring comment line=20
[gt68xx] sane_init: config file line 70: ignoring empty line=20
[gt68xx] sane_init: config file line 71: ignoring comment line=20
[gt68xx] sane_init: config file line 72: ignoring comment line=20
[gt68xx] sane_init: config file line 73: ignoring empty line=20
[gt68xx] sane_init: config file line 74: ignoring comment line=20
[gt68xx] sane_init: config file line 75: ignoring comment line=20
[gt68xx] sane_init: config file line 76: trying to attach `usb 0x055f 0x0=
218'=20
[gt68xx] sane_init: config file line 77: ignoring empty line=20
[gt68xx] sane_init: config file line 78: ignoring comment line=20
[gt68xx] sane_init: config file line 79: ignoring empty line=20
[gt68xx] sane_init: config file line 80: ignoring comment line=20
[gt68xx] sane_init: config file line 81: ignoring comment line=20
[gt68xx] sane_init: config file line 82: ignoring empty line=20
[gt68xx] sane_init: config file line 83: ignoring comment line=20
[gt68xx] sane_init: config file line 84: ignoring comment line=20
[gt68xx] sane_init: config file line 85: trying to attach `usb 0x055f 0x0=
219'=20
[gt68xx] sane_init: config file line 86: ignoring empty line=20
[gt68xx] sane_init: config file line 87: ignoring comment line=20
[gt68xx] sane_init: config file line 88: ignoring comment line=20
[gt68xx] sane_init: config file line 89: trying to attach `usb 0x055f 0x0=
21d'=20
[gt68xx] sane_init: config file line 90: ignoring empty line=20
[gt68xx] sane_init: config file line 91: ignoring comment line=20
[gt68xx] sane_init: config file line 92: ignoring empty line=20
[gt68xx] sane_init: config file line 93: ignoring comment line=20
[gt68xx] sane_init: config file line 94: ignoring comment line=20
[gt68xx] sane_init: config file line 95: trying to attach `usb 0x055f 0x0=
21c'=20
[gt68xx] sane_init: config file line 96: ignoring empty line=20
[gt68xx] sane_init: config file line 97: ignoring comment line=20
[gt68xx] sane_init: config file line 98: ignoring empty line=20
[gt68xx] sane_init: config file line 99: ignoring comment line=20
[gt68xx] sane_init: config file line 100: ignoring comment line=20
[gt68xx] sane_init: config file line 101: ignoring comment line=20
[gt68xx] sane_init: config file line 102: ignoring empty line=20
[gt68xx] sane_init: config file line 103: ignoring comment line=20
[gt68xx] sane_init: config file line 104: ignoring comment line=20
[gt68xx] sane_init: config file line 105: trying to attach `usb 0x055f 0x=
0210'=20
[gt68xx] sane_init: config file line 106: ignoring empty line=20
[gt68xx] sane_init: config file line 107: ignoring comment line=20
[gt68xx] sane_init: config file line 108: ignoring empty line=20
[gt68xx] sane_init: config file line 109: ignoring comment line=20
[gt68xx] sane_init: config file line 110: ignoring comment line=20
[gt68xx] sane_init: config file line 111: trying to attach `usb 0x043d 0x=
002d'=20
[gt68xx] sane_init: config file line 112: ignoring empty line=20
[gt68xx] sane_init: config file line 113: ignoring comment line=20
[gt68xx] sane_init: config file line 114: ignoring empty line=20
[gt68xx] sane_init: config file line 115: ignoring comment line=20
[gt68xx] sane_init: config file line 116: ignoring comment line=20
[gt68xx] sane_init: config file line 117: trying to attach `usb 0x07b3 0x=
0401'=20
[gt68xx] sane_init: config file line 118: trying to attach `usb 0x07b3 0x=
0400'=20
[gt68xx] sane_init: config file line 119: ignoring empty line=20
[gt68xx] sane_init: config file line 120: ignoring comment line=20
[gt68xx] sane_init: config file line 121: ignoring empty line=20
[gt68xx] sane_init: config file line 122: ignoring comment line=20
[gt68xx] sane_init: config file line 123: ignoring comment line=20
[gt68xx] sane_init: config file line 124: ignoring comment line=20
[gt68xx] sane_init: config file line 125: ignoring empty line=20
[gt68xx] sane_init: config file line 126: ignoring comment line=20
[gt68xx] sane_init: config file line 127: ignoring comment line=20
[gt68xx] sane_init: config file line 128: trying to attach `usb 0x07b3 0x=
0403'=20
[gt68xx] sane_init: config file line 129: ignoring empty line=20
[gt68xx] sane_init: config file line 130: ignoring comment line=20
[gt68xx] sane_init: config file line 131: ignoring empty line=20
[gt68xx] sane_init: config file line 132: ignoring comment line=20
[gt68xx] sane_init: config file line 133: ignoring comment line=20
[gt68xx] sane_init: config file line 134: ignoring empty line=20
[gt68xx] sane_init: config file line 135: ignoring comment line=20
[gt68xx] sane_init: config file line 136: ignoring comment line=20
[gt68xx] sane_init: config file line 137: trying to attach `usb 0x07b3 0x=
0413'=20
[gt68xx] sane_init: config file line 138: ignoring empty line=20
[gt68xx] sane_init: config file line 139: ignoring comment line=20
[gt68xx] sane_init: config file line 140: ignoring comment line=20
[gt68xx] sane_init: config file line 141: trying to attach `usb 0x0458 0x=
2011'=20
[gt68xx] sane_init: config file line 142: ignoring empty line=20
[gt68xx] sane_init: config file line 143: ignoring comment line=20
[gt68xx] sane_init: config file line 144: ignoring empty line=20
[gt68xx] sane_init: config file line 145: ignoring comment line=20
[gt68xx] sane_init: config file line 146: ignoring comment line=20
[gt68xx] sane_init: config file line 147: trying to attach `usb 0x0458 0x=
201b'=20
[gt68xx] sane_init: config file line 148: ignoring empty line=20
[gt68xx] sane_init: config file line 149: ignoring comment line=20
[gt68xx] sane_init: config file line 150: ignoring empty line=20
[gt68xx] sane_init: config file line 151: ignoring comment line=20
[gt68xx] sane_init: config file line 152: ignoring comment line=20
[gt68xx] sane_init: config file line 153: trying to attach `usb 0x0458 0x=
2017'=20
[gt68xx] sane_init: config file line 154: ignoring empty line=20
[gt68xx] sane_init: config file line 155: ignoring comment line=20
[gt68xx] sane_init: config file line 156: ignoring empty line=20
[gt68xx] sane_init: config file line 157: ignoring comment line=20
[gt68xx] sane_init: config file line 158: trying to attach `usb 0x5d8  0x=
4002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: device `libusb:002:003' was already in device list=20
[gt68xx] sane_init: config file line 159: trying to attach `usb 0x5d8  0x=
4002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: device `libusb:002:003' was already in device list=20
[gt68xx] sane_init: config file line 160: trying to attach `usb 0x5d8  0x=
4002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: device `libusb:002:003' was already in device list=20
[gt68xx] sane_init: config file line 161: trying to attach `usb 0x5d8  0x=
4002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: device `libusb:002:003' was already in device list=20
[gt68xx] sane_init: config file line 162: trying to attach `usb 0x5d8  0x=
4002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: device `libusb:002:003' was already in device list=20
[gt68xx] sane_init: config file line 163: trying to attach `usb 0x5d8  0x=
4002'=20
[gt68xx] attach: start: devp !=3D NULL, may_wait =3D 0=20
[gt68xx] attach: device `libusb:002:003' was already in device list=20
[gt68xx] sane_init: exit=20
[gt68xx] sane_get_devices: start: local_only =3D false=20
[gt68xx] sane_get_devices: exit=20
[gt68xx] sane_open: start (devicename =3D `libusb:002:003')=20
[gt68xx] sane_open: found `artec-ultima-2000' in devlist=20
[gt68xx] gt68xx_device_open: enter: dev=3D0x8054988=20
[gt68xx] gt68xx_device_open: leave: ok=20
[gt68xx] gt68xx_device_activate: model "artec-ultima-2000"=20
[gt68xx] download_firmware: trying /usr/share//sane/gt68xx/Gt680xfw.usb=20
[gt68xx] firmware size: 7154=20
[gt68xx] gt68xx_device_memory_write: dev=3D0x8054988, addr=3D0x0, size=3D=
0x40, data=3D0x8064e48=20
[gt68xx] gt68xx_device_memory_read: dev=3D0x8054988, addr=3D0x3f00, size=3D=
0x40, data=3D0xbfff3f40=20
[gt68xx] gt68xx_device_memory_read: sanei_usb_control_msg failed: Invalid=
 argument=20
[gt68xx] somewhere: gt68xx_device_memory_read (dev, 0x3f00, block_size, c=
heck_buf): Invalid argument=20
[gt68xx] download_firmware_file: firmware download failed: Invalid argume=
nt=20
[gt68xx] somewhere: download_firmware_file (dev): Invalid argument=20
scanimage: open of device gt68xx:libusb:002:003 failed: Invalid argument=20
[gt68xx] sane_exit: start=20
[gt68xx] gt68xx_device_free: enter: dev=3D0x8054988=20
[gt68xx] gt68xx_device_close: enter: dev=3D0x8054988=20
[gt68xx] gt68xx_device_close: leave: ok=20
[gt68xx] gt68xx_device_free: freeing dev=20
[gt68xx] gt68xx_device_free: leave: ok=20
[gt68xx] sane_exit: exit


Can anybody tell me what's going on? It seems, that there is some problem=
 in USB
communication. I noticed such strange behaviour also for the Plustek back=
end on
a Debian box and also on kernel 2.6.4 - are there any known USB issus on =
these
2.6.x kernels????
Henning, what do you think, it's your backend? Could it be, that the user=
 downloads the
wrong firmware?

Thanx for your help,
  Gerhard
=20