[sane-devel] HP Photosmart S20

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 23 Nov 2003 14:06:55 +0100


Hi,

On Sat, Nov 22, 2003 at 10:33:26AM +0100, Evilio del Rio Silvan wrote:
> I have started a project to implement a backend for the HP Photosmart
> S20xi. 

Nice, one more supported scanner. Well, some time in the future, I
hope :-)

> You can find the project at SourceForge:
> 
> http://sourceforge.net/projects/hps20xi/

I've added the scanner to the list of unsupported devices with a link
to your site.

Do you have some more information? E.g. do you know which kind of
chipset is used by that scanner? Please get sane-backends 1.0.13 or a
CVS version of sane and run sane-find-scanner. Is it able to detect
the type of chip used by that scanner?

Could you please show us the output of "cat /proc/bus/usb/devices"
when the scanner is plugged in?

Can you point to a page describing that scanner? Are there any similar
scanners that may be also supported by your backend?

> I have found a strange behavior of this scanner: there is no USB traffic
> during operation (preview, scan, adjust, etc.).

The Windows USB sniffers seem to not be able to trace the traffic of
some scanners. I have also seen that with a GL646 based scanner. I had
better luck with an old version of sniffusb but even there only one of
10 tries to get a log succeeded. So it's not only a problem with your
scanner.

>  I have tried
> also with a VMWare Windows guest on top of a Linux machine and the same
> thing happens: there's no apparent USB activity from/to the scanner.  

So the scanner works with vmware but you can't log anything? I don't
know exactly how vmware accesses the USB, but I guess it at least uses
the Linux ohci and uhci drivers. So if you enable debugging in that
drivers, you should get a nice usb log.

> ; SANE Backend specification file

I haven't added that file yet because there is no real backend yet.
When you have a backend that actually can scan something (even if the
quality is bad or only one mode is supported), we can add the file.

Please use the current CVS version of SANE for your development.
Otherwise you may need to change some code/docu when your backend is
included. E.g.:

> :backend "hps20"               ; name of backend
> :version "0.0.1"                   ; version of backend
> :status :alpha                    ; :alpha, :beta, :stable

There is no backend status anymore.

> :model "Photosmart S20xi (C5101A)"; name models for above-specified mfg.
> :status :alpha                    ; :alpha, :beta, :stable, :untested, 

The status of the devices has been changed (mininimal, basic,...).
It's described in doc/descriptions.txt of a recent SANE version.

Good luck!

Bye,
  Henning