[sane-devel] HP ScanJet 4100C

Henning Meier-Geinitz henning at meier-geinitz.de
Sat Jan 4 18:31:08 GMT 2003


Hi,

On Sat, Jan 04, 2003 at 07:09:21PM +0100, Michel Janssens wrote:
> I have a little problem to have a HP 4100C configured on my linux service
> running Clarkconnect (Standard 1.2).

I have no idea what Clarkconnect is but I hope it doesn't matter :-)

> found USB scanner (vendor=0x03f0, product=0x0101) at /dev/usb/scanner0

Ok, so it was detected by the kernel scanner driver.

Before trying saned, try if it's running locally without saned. E.g.
is it detected by scanimage -L? Does scanning with "scanimage >image.pnm" work?

> But when I try to start the daemon, after a while I got the following
> messages
> 
> [root at gateway etc]# saned -d
> [saned] main: starting debug mode (level 2)
> [saned] main: bind failed: Address already in use

Well, you can't start saned twice. If you run it in debug mode (-d)
you must disable it in /etc/inetd.conf and restart inetd.

> Extract of /var/log/messages :

There is no sign of saned. Looks like it wasn't even started.

> ehci-hcd               16384   0  (unused)
> usb-ohci               19616   0  (unused)

Ok, that's ohci and EHCI running USB 2.0. But that shouldn't matter.

> T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=03f0 ProdID=0101 Rev= 1.00
> S:  SerialNumber=000000000000
> C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  16 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=250ms

Looks ok.

> The main problem is that I can't connect from W2K server...
> 
> I use the xsane for WIN32. And got no answer from the server ... in fact the
> answer from xsane : no device available

If it's a problem with Windows/XSane I can't help. But most probably
it isn't.

> Can you help me?

I wrote in my mail:

> - sane-backends and kernel version?
> - output of scanimage -L
>   if this doesn't list you scanner but sane-find-scanner did, send us
>   the output of:
>   SANE_DEBUG_HP=255 scanimage -L
> - what tests did you do? What files did you change?

Please just respond to that.

When local scanning works, set up saned, check inetd.conf and
saned.conf.

Check on the server if saned runs correctly, e.g. by adding
"localhost" t o net.conf and running scanimage -L. It should show the
server not only directly (hp:/dev/usb/scanner) but also "over the net"
(net:localhost:hp:/dev/usb/scanner0). Please show us this output.

When this works, try again from the Windows server. If XSane32 still
fails, I guess it's a problem on the Windows side.

Bye,
  Henning



More information about the sane-devel mailing list