[sane-devel] HP 3200c - UMAX 1220p - it doesn't work!

svoltz@wanadoo.fr svoltz@wanadoo.fr
Mon, 27 Oct 2003 21:19:51 -0500


On Sat, Oct 25, 2003 at 12:39:56PM -0200, Carlos Eduardo Dantas de Menezes wrote:
> Hi people,
> 
> I couldn't get my HP3200c working in my Debian box.
> I'm sending informations about my problem (attached). Could you help me?
> 
> 
> Carlos Menezes  -- Tycho Brahe Project
> LABORATORIO DE SISTEMAS INTEGRAVEIS.
> ESCOLA POLITECNICA DA UNIVERSIDADE DE SAO PAULO.
> E-MAIL: menezes@lsi.usp.br
> URL:    http://www.lsi.usp.br/~menezes/menezes.html

> 
> I'm using libsane 1.0.12-7. My dll.conf is:
> 
> 
> # /etc/sane.d/dll.conf -  Configuration file for the SANE dynamic backend loader
> #
> # See the end of this file for information on some specific backends.
> 
> # enable the next line if you want to allow access through the network:
> #net
> #abaton
> #agfafocus
> #apple
> #avision
> #artec
> #artec_eplus48u
> #as6e
> #bh
> #canon
> #canon630u
> #canon_pp
> #coolscan
> #coolscan2
> #dc25
> #dc210
> #dc240
> #dmc
> #epson
> #fujitsu
> #gphoto2
> #gt68xx
> hp
> hpsj5s
> hp5400
> #ibm
> #leo
> #ma1509
> #matsushita
> #microtek
> #microtek2
> #mustek
> mustek_pp
> #mustek_usb
> #nec
> #pie
> #plustek
> #pnm
> #qcam
> #ricoh
> #s9036
> #sceptre
> #sharp
> #sm3600
> #snapscan
> #sp15c
> #st400
> #tamarack
> #teco1
> #teco2
> #teco3
> #test
> #umax
> umax_pp
> #umax1220u
> #v4l
> 
> # The following backends are not part of the SANE distribution
> # but are provided by the libsane-extras Debian package
> #hp4200
> #niash
> # The HP OfficeJet backend is not part of the SANE distribution
> # but is provided by the hpoj Debian package
> #hpoj
> 
> 
> My umax_pp.conf is:
> 
> 
> # For documentation see sane-umax_pp(5)
> 
> # GLOBAL #
> 
> # size (in bytes) of scan buffer (default: 2 megabyte)
> option buffer 2097152
> 
> 
> # DEVICES #
> 
> # specify the port your scanner is connected to. Possible are 0x378 (lp0)
> # 0x278 (lp2) and 0x3c8 (lp1)
> #
> # on linux systems, you may provide the device name of the ppdev character
> # device : /dev/parport0, /dev/parport1, ......
> #
> # on *BSD, you may provide the device name of the ppi device: /dev/ppi0,
> # /dev/ppi1, ...
> # default is ppdev since major use of the backend is for linux
> port /dev/parport0

could you try:
port 0x378

and run as root, just to sse if the scanner is detected.

> #port /dev/lp0
> # the following options are local to this scanner
> # brightness for red channel, if not given, will be automatically computed
> # must be between 0 and 15
> #option red-brightness 8
> 
> # brightness for green channel, if not given, will be automatically computed
> # must be between 0 and 15
> #option green-brightness 4
> 
> # brightness for blue channel, if not given, will be automatically computed
> # must be between 0 and 15
> #option blue-brightness 8
> 
> # contrast for red channel, if not given, will default to 0
> # must be between 0 and 15
> #option red-contrast 2
> 
> # contrast for green channel, if not given, will default to 0
> # must be between 0 and 15
> #option green-contrast 1
> 
> # contrast for blue channel, if not given, will default to 0
> # must be between 0 and 15
> #option red-contrast 2
> 
> # contrast for green channel, if not given, will default to 0
> # must be between 0 and 15
> #option green-contrast 1
> 
> # contrast for blue channel, if not given, will default to 0
> # must be between 0 and 15
> #option blue-contrast 1
> 
> 
> #
> #
> # model number
> #
> # valid values are 610, 1220, 1600 and 2000
> #
> # by default, no model, we rely on autodetection
> # in case you have black or 'inverted' scans,
> # you may prevent detection by providing the
> # model number
> #option astra 1220
> 
> 
> 
> 
> Parallel port is configured as EPP:
> 
> # quiteinsane
> No device were found
> [umax_pp_low] Found 0xFF expected 0x00  (umax_pp_low.c:5002)
> [umax_pp_low] Unexpected value for for register 0x0D, expected 0x00 or 0x40, got 0x18 ! (umax_pp_low.c:5073)
> [umax_pp_low] SlowNibbleRegisterRead: found 0x20 expected 0x0 (umax_pp_low.c:5084)
> [umax_pp_low] SlowNibbleRegisterRead: found 0xC expected 0x4 (umax_pp_low.c:5135)
> [umax_pp_low] Loop 4, char 481 EPPReadBuffer failed! (umax_pp_low.c:5224)

	It reminds me something, I'll try to dig in my mail archive.
Failure at that point is pretty unusual.

> 
> .....another try:
> 
> # quiteinsane
> No device were found
> [umax_pp_low] Found 0x11 expected 0x00  (umax_pp_low.c:5002)
> [umax_pp_low] Unexpected value for for register 0x0D, expected 0x00 or 0x40, got 0x18 ! (umax_pp_low.c:5073)
> [umax_pp_low] SlowNibbleRegisterRead: found 0x20 expected 0x0 (umax_pp_low.c:5084)
> [umax_pp_low] SlowNibbleRegisterRead: found 0xC expected 0x4 (umax_pp_low.c:5135)
> [umax_pp_low] RegisterRead, found 0xFF expected 0x1F (umax_pp_low.c:5203)
> 
> 
> # dmesg | grep parport
> parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
> lp0: using parport0 (polling).
> 
	Your parport is correctly detected, but sometime adding a line:
options parport_pc io=0x378 irq=7 dma=none
might help.
> 
> 
> 

	BTW, what is your motherboard ? An experiment to try is to
switch to single user mode (with telinit) and do 'scanimage -L'. And a
last question, have tried with scanimage or xsane ?


Regards,
	Stef