[sane-devel] lamp going off on scanning pass - scans all black - fixed !!

John Youells jyouells@adelphia.net
Mon, 26 Apr 2004 23:06:16 -0400


Henning Meier-Geinitz wrote:

>Hi,
>
>On Sat, Apr 17, 2004 at 03:56:18PM -0400, John Youells wrote:
>  
>
>>I have an old hpIIcx  running on  gentoo linux with a 2.6.5  kernel .  
>>In order to keep either a Symbios 825a or  BT-930 from timing out and 
>>reseting I have changed line 283 in sanei_scsi to :
>>static int sane_scsicmd_timeout = 7200;  and then with these options set 
>>    
>>
>
>The default is 120 seconds. That's not enough for one single SCSI
>command? What is the scanner doing during that time?
>
>You can also change the SCSI timeout by setting the environment
>variable "SANE_SCSICMD_TIMEOUT=720".
>
>If it worked before and if it's neither a sane-backends nor a kernel
>issue the only reminaing source can be the hardware. Does the scanner
>really work with other operating systems? Have you changed the SCSI
>cable?
>
>Concerning testing kernels: Also try older kernels (e.g. 2.4.21). If
>there were a bug in e.g. 2.6.4 it may have been backported to later
>2.4.*.
>
>Bye,
>  Henning
>
>  
>
Henning, and list,

 My hp IIcx is scanning again. All of my  problems stemmed from dirty 
mirrors
and lens. Turns out that if the scanner can't calibrate then the lamps are
NOT turned on during the scan pass.  The large scsi timeout is not 
needed anymore
because the IIcx is calibrating correctly. Seems to work better than I 
can ever
remember it working with any backend and scsi card that I throw at it.
Currently 1.0.14pre2 and sym53c825a. This post by
Bob Blaylock in 1999  put me on the right track:
----------------------------------------------------------
From: Bob Blaylock (bob-blaylock.nospam@usa.net)
Subject: I think I fixed it! [Re: ScanJet IIcx gets "stuck".]
View: Complete Thread (4 articles)
Original Format
Newsgroups: comp.periphs.scanners, alt.comp.periphs.scanners
Date: 1999/11/25
----------------------------------------------------------

Now to get an old parallel port Genius Colorpage View going .... 
(already works in win9x)

Thanks for the help

John Youells