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

Henning Meier-Geinitz henning@meier-geinitz.de
Mon, 24 May 2004 21:35:12 +0200


Hi,

On Mon, May 24, 2004 at 12:48:35PM +0200, Gerhard Jaeger wrote:
> >found USB scanner (vendor=0x05d8, product=0x4002) at libusb:002:004 
> >found USB scanner (vendor=0x057c [AVM Berlin], product=0x0c00 [AVM ISDN-Controller FRITZ!Card USB]) at libusb:002:003 
> ># Your USB scanner was (probably) detected. It may or may not be supported by 
> ># SANE. Try scanimage -L and read the backend's manpage. 
> >
> ># Scanners connected to the parallel port or other proprietary ports can't be 
> ># detected by this program. 
> 
> Strange enough, that an ISDN-Controller is detectet as scanner!!!!

Not really strange as there is no USB class for scanners. So
sane-find-scanner just shows all devices that are not hubs, printers,
discs and so on.

> michael@linux:~> export SANE_DEBUG_GT68XX=255 ; scanimage > /dev/null 
> [sanei_debug] Setting debug level of gt68xx to 255. 
> [gt68xx] SANE GT68xx backend version 1.0 build 49 from sane-backends 1.0.13 
[...]
> [gt68xx] gt68xx_device_activate: model "artec-ultima-2000" 

Double-check that this scanner is really really an ARtec Ultima 2000.
There are so many scanners with the same USB ids but which are
internally quite different. All of them should work with the gt68xx
backend but may need an override flag.

> [gt68xx] download_firmware: trying /usr/share//sane/gt68xx/Gt680xfw.usb 
> [gt68xx] firmware size: 7154 
> [gt68xx] gt68xx_device_memory_write: dev=0x8054988, addr=0x0, size=0x40, data=0x8064e48 

We try to write the first 64 bates of the firmware file to the scanner...

> [gt68xx] gt68xx_device_memory_read: dev=0x8054988, addr=0x3f00, size=0x40, data=0xbfff3f40 
> [gt68xx] gt68xx_device_memory_read: sanei_usb_control_msg failed: Invalid argument 

And read some sort of checksum which fails. I have never seen that
problem but it may be cause by defective hardware or USB problems. DOe
the scanner work with Windows?

> 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 backend on
> a Debian box and also on kernel 2.6.4 - are there any known USB issus on these
> 2.6.x kernels????

Not really. I've tested some of the gt68xx scanners with 2.4 and
couldn't find any special problems. I don't remember if I tested
2.6.4, however.

> Henning, what do you think, it's your backend? Could it be, that the user downloads the
> wrong firmware?

Some of the Artec Ultima 2000 scanners use ePlus2k.usb instead of
Gt680xfw.usb so that one should also be tried. Also keep in mind to
reset the scanner after each test. Otherwise the scanner is blocked by
the wrong firmware and the next test will fail even with the correct
file. 

Bye,
  Henning