[sane-devel] Re: HP3200c Problems...

Horacio Samaniego horacio at unm.edu
Wed Sep 3 00:17:05 BST 2003


Dear list, 
I  want to start clarifying some points that have been suggested...

The machine is set to EPP 

> 	for the first point, it is likely that your parallel port isn't set to EPP.
> Check the BIOS first, then look in system messages if your parallel port is 
> correctly detected. For instance, on my system I have (when I boot with scanner and
> printer powered on):


dmesg|grep parport
        parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
        parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
        parport0: only read 126 of 1000 ID bytes
        parport0: device reported incorrect length field (34950, should
        be 127)
        parport0 (addr 0): Legacy device
        parport0 (addr 1): Printer, HEWLETT-PACKARD DESKJET 870C
        parport0 (addr 2): Printer, HEWLETT-PACKARD DESKJET 870C
        parport0 (addr 3): Printer, HEWLETT-PACKARD DESKJET 870C
        parport0: Printer, HEWLETT-PACKARD DESKJET 870C
        lp0: using parport0 (polling).
        
although I'm not sure what all this means (specially the 4th line...)

the other issue regarding why Sa


	For the second point, the umax_pp backend is not activated in default 
> install. You have to edit 'dll.conf' (which is usally located in /etc/sane.d or 
> /usr/local/etc/sane.d) and remove the '#' at the start of the line '#umax_pp'.
> 

find / -name dll.conf -exec grep -in umax '{}' ';'
        /etc/sane.d/dll.conf
        /usr/src/sane-backends-1.0.12/backend/dll.conf
        55:#umax
        56:umax_pp
        57:#umax1220u
        55:#umax
        56:umax_pp
        57:#umax1220u
        


> 	This is strange, even ran by root, it's a user process, and can be killed.
> If you have the occasion to test, I'd like to see the messages of  umax_pp -p -t 255
> 
> 
> 


Whenever I execute this command as root I get a very long output that can be seen at:
http://phyllotis.unm.edu/tmp/test.txt


there is a whole bunch of info that I'm unable to decrypt in that file... maybe some of the more advanced folk can tell me what is going on! 

I have to be thankfull to all the poeple that's helping with this I appreciate it!


thanks, 


H







On Mon, 2003-09-01 at 07:26, sane-devel-request at www.mostang.com wrote:
> Send Sane-devel mailing list submissions to
> 	sane-devel at www.mostang.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.mostang.com/mailman/listinfo/sane-devel
> or, via email, send a message with subject or body 'help' to
> 	sane-devel-request at www.mostang.com
> 
> You can reach the person managing the list at
> 	sane-devel-admin at www.mostang.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Sane-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: ScanJet 3200c (stef)
>    2. Re: What does this mean (Umax P2000 scanner)? (stef)
> 
> --__--__--
> 
> Message: 1
> Date: Sun, 31 Aug 2003 16:26:53 +0000
> From: stef <stef-listes at wanadoo.fr>
> To: sane-devel at www.mostang.com
> Subject: Re: [sane-devel] ScanJet 3200c
> 
> On Fri, Aug 29, 2003 at 05:21:08PM -0600, Horacio Samaniego wrote:
> > Dear list members, 
> > 
> > I've been trying to install this HP scanner with partial to no
> > success... I went through some of the messages that have been posted in
> > the past addressing the issue but I seem to have no chance on htis
> > matter....
> > 
> > 
> > I use 2.4.20-19.9 kernel on RedHat and it seem that there actually is
> > some communication between the computer and the scanner since I've got
> > the scanner to turn the light on and move when I issue the probing
> > command:
> > 
> > umax_pp -p -t 1 
> > 
> > although it get "stuck" in an infinite loop or something ... (I have to
> > turn the machine OFF to get out of this awfull freeze...). The same
> > thing happens if I do
> > 
> 
> 	This is strange, even ran by root, it's a user process, and can be killed.
> If you have the occasion to test, I'd like to see the messages of  umax_pp -p -t 255
> 
> > 
> > umax_pp -s
> > 
> > However, hen I issue this command:
> > 
> > umax_pp -p -t 1 -n /dev/parport0
> > 
> >  I get, 
> > 
> >         [root at localhost tools]#  umax_pp -p -t 1 -n /dev/parport0
> >         [sanei_debug] Setting debug level of umax_pp_low to 1.
> >         [umax_pp_low] sanei_umax_pp_InitPort(0x378,/dev/parport0)
> >         [umax_pp_low] Using /dev/parport0 ...
> >         UMAX 1220P scanning program version 3.1 starting ...
> >         ppdev character device built-in.
> >         direct hardware access built-in.
> >         Probing scanner ....
> >         [umax_pp_low] UMAX Astra 1220/1600/2000 P ASIC detected (mode=7)
> >         [umax_pp_low] SlowNibbleRegisterRead: found 0x20 expected 0x0
> >         (../backend/umax_pp_low.c:5084)
> >         [umax_pp_low] RegisterRead, found 0xC7 expected 0x00
> >         (../backend/umax_pp_low.c:5164)
> >         
> 	Hum, maybe the effect of previous tests. Try to run it again after
> resetting the scanner as explained at hppt://umax1220p.sf.net . 
> 
> > up to my understanding, this means that the scanner IS recognized to be
> > attached at the first parallel port, right? So, I keep going but:
> > 
> > 
> >  scanimage -L responds with:
> >         
> >         No scanners were identified. If you were expecting something
> >         different,
> >         check that the scanner is plugged in, turned on and detected by
> >         the
> >         sane-find-scanner tool (if appropriate). Please read the
> >         documentation
> >         which came with this software (README, FAQ, manpages).
> >         
> 
> 	By default, umax_pp backend isn't 'activated' by SANE's default install. You
> have to edit 'dll.conf' and remove te '#' on the line '#umax_pp' (ie un-commnet the
> Umax_pp backend). 
> 
> > 
> > I would like to know what I'm doing wrong. Or is it that I should just
> > give up on trying old hardware and sucumb to the consumerism that is
> > imposed on us...? 
> > 
> > No, really, I would appreciate some help to have this work.
> > 
> > 
> > sincerely, 
> > Horacio
> > 
> > 
> > 
> > 
> > here are the loaded modules that lsmod gives me (among others): 
> >         parport                37056   1  (autoclean) [ppdev parport_pc
> >         lp]
> >         parport_pc             19076   1  (autoclean)
> >         pcmcia_core            57216   0  [serial_cs xirc2ps_cs ds
> >         yenta_socket]
> >         ppdev                   6796   0  (autoclean)
> >         ppp_async               9440   1  (autoclean)
> >         ppp_deflate             4504   1  (autoclean)
> >         ppp_generic            24444   3  (autoclean) [ppp_deflate
> >         ppp_async]
> >         scsi_mod              107544   3  [sg sr_mod ide-scsi]
> >         
> > 
> > 
> > 
> > 
> > 
> > -- 
> > Horacio Samaniego <horacio at unm.edu>
> > Dep. Biology, University of New Mexico
> > 
> > _______________________________________________
> > Sane-devel mailing list
> > Sane-devel at www.mostang.com
> > http://www.mostang.com/mailman/listinfo/sane-devel
> 
> 
> Regards,
> 	Stef
> 
> --__--__--
> 
> Message: 2
> Date: Sun, 31 Aug 2003 16:39:10 +0000
> From: stef <stef-listes at wanadoo.fr>
> To: sane-devel at www.mostang.com
> Subject: [sane-devel] Re: What does this mean (Umax P2000 scanner)?
> 
> On Sun, Aug 31, 2003 at 01:23:22PM +0530, Frederick Noronha wrote:
> > [umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7 (umax_pp_low.c:3360)
> > [umax_pp_low] Error! expected STATUS=0x38, found 0xFF! (umax_pp_low.c:5217)
> > [umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0xFF
> > (umax_pp_low.c:2446)
> > [umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3741)
> > [umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:166)
> > 
> > when I try scanimage -L
> > 
> > No scanners were identified. If you were expecting something different,
> > check that the scanner is plugged in, turned on and detected by the
> > sane-find-scanner tool (if appropriate). Please read the documentation
> > which came with this software (README, FAQ, manpages).
> > 
> > 
> 
> 	Hello,
> 	for the first point, it is likely that your parallel port isn't set to EPP.
> Check the BIOS first, then look in system messages if your parallel port is 
> correctly detected. For instance, on my system I have (when I boot with scanner and
> printer powered on):
> root:/root>dmesg|grep parport
> parport0: PC-style at 0x278, irq 5 [PCSPP,TRISTATE,EPP]
> parport0: faking semi-colon
> parport0 probe: warning, class 'IMAGE' not understood.
> parport0 (addr 0): Unknown device, UMAX Astra 1220P
> parport0: Printer, EPSON Stylus COLOR 440
> lp0: using parport0 (interrupt-driven).
> 
> 	Note that if you don't have EPP or ECPEPP listed, the scanner won't work.	
> 	
> 	For the second point, the umax_pp backend is not activated in default 
> install. You have to edit 'dll.conf' (which is usally located in /etc/sane.d or 
> /usr/local/etc/sane.d) and remove the '#' at the start of the line '#umax_pp'.
> 
> Regards,
> 	Stef
> 
> 
> --__--__--
> 
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
> 
> 
> End of Sane-devel Digest
-- 
Horacio Samaniego <horacio at unm.edu>
Dep. Biology, University of New Mexico




More information about the sane-devel mailing list