[sane-devel] HP ScanJet 4100C

Michel Janssens mjanssens at skynet.be
Sat Jan 4 18:09:21 GMT 2003


Hi

I have a little problem to have a HP 4100C configured on my linux service
running Clarkconnect (Standard 1.2). I installed gcc  2.96 in order to
compile the source myself. And the installation is perfectly done, I think.

Result of the sane-find-scanner

[root at gateway sane.d]# sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure
that
  # you have loaded a SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x03f0, product=0x0101) at /dev/usb/scanner0
  # Your USB scanner was 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.


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

Extract of /var/log/messages :

Jan  2 12:44:09 gateway kernel: SCSI subsystem driver Revision: 1.00
Jan  2 12:44:51 gateway kernel: usb.c: registered new driver usbscanner
Jan  2 12:44:51 gateway kernel: scanner.c: 0.4.6:USB Scanner Driver
Jan  2 12:45:29 gateway kernel: usb.c: registered new driver hpusbscsi
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(0): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(1): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(2): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(3): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(4): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(5): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(5): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(7): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(8): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(9): Unable to access
minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(10): Unable to
access minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(11): Unable to
access minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(12): Unable to
access minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(13): Unable to
access minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(14): Unable to
access minor data
Jan  2 12:45:38 gateway kernel: scanner.c: open_scanner(15): Unable to
access minor data
Jan  2 12:49:47 gateway kernel: scanner.c: open_scanner(0): Unable to access
minor data
Jan  2 12:50:23 gateway kernel: hub.c: USB new device connect on bus2/2,
assigned device number 5
Jan  2 12:50:23 gateway kernel: scanner.c: probe_scanner: User specified USB
scanner -- Vendor:Product - 3f0:101
Jan  2 12:50:26 gateway /etc/hotplug/usb.agent: Setup scanner for USB
product 3f0/101/100

Lsmod result :

[root at gateway root]# lsmod
Module                  Size  Used by    Not tainted
3c59x                  27176   1
ide-cd                 29696   0  (autoclean)
cdrom                  32992   0  (autoclean) [ide-cd]
scanner                 9824   0  (unused)
ehci-hcd               16384   0  (unused)
usb-ohci               19616   0  (unused)
usbcore                69088   1  [scanner ehci-hcd usb-ohci]
ext3                   62144   5
jbd                    46004   5  [ext3]


[root at gateway root]# cat /proc/bus/usb/devices
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 5
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.18-18.7.x ehci-hcd
S:  Product=NEC Corporation USB 2.0
S:  SerialNumber=00:10.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 11/900 us ( 1%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=d0867000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
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
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=d0865000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms


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

Can you help me?

Best regards

Michel


 -----Original Message-----
From: 	sane-devel-admin at www.mostang.com
[mailto:sane-devel-admin at www.mostang.com]  On Behalf Of Henning
Meier-Geinitz
Sent:	samedi 4 janvier 2003 16:09
To:	sane-devel at www.mostang.com
Subject:	Re: [sane-devel] HP ScanJet 4100C

Hi,

On Sat, Jan 04, 2003 at 03:40:20PM +0100, Michel Janssens wrote:
> Has someone succeed in the implementation of a HP ScanJet 4100C with SANE?
> If so please contact me, I made all possible test and didn't find where it
> stuck.

Well, if you give us more details, maybe someone can find out. You are
just telling us "it doesn't work". Well, we know that it works, or at
least worked some time ago, otherwise the scanner wouldn't be listed
on the supported scanners page.

So what about:

- sane-backends and kernel version?
- USB host controller driver (uhci, usb-uhci, ohci), see lsmod
- output of sane-find-scanner
- output of cat /proc/bus/usb/devices
- 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?

Bye,
  henning
_______________________________________________
Sane-devel mailing list
Sane-devel at www.mostang.com
http://www.mostang.com/mailman/listinfo/sane-devel




More information about the sane-devel mailing list