[sane-devel] HP ScanJet IIcx /T --- any hope?

Peter Kirchgessner peter at kirchgessner.net
Sat Jan 4 08:41:51 GMT 2003


Hi,

from the logfile is see that everything is working well up to that point 
when the scan-data is read from the scanner. It immediately fails when 
trying to read 32768 bytes of data.
You are using the option dumb-read of the hp-backend. What happens 
without that option ? If scanning fails earlier, I would say the problem 
is the kernel driver of the card. This option could be used for Buslogic 
cards to work around a problem of the corresponding kernel driver.
It simply reads data from the scanner bytewise until an error occurs. 
This makes sense for small amount of data when setting up options in the 
scanner. But it makes no sense when reading the image data.
Just for a test please drop the option dumb-read and rerun scanimage
to create a new logfile.

--Peter

Moritz Angermann schrieb:
> well i did apply the patch for HP scanners as posted on the 
> one page.
> 
> so i got freshly installed: Backends 1.0.9 + HP 1.01 patch | Frontend:
> 1.0.9
> 
> ai:/my/scanner/bin# ./scanimage --version
> scanimage (sane-backends) 1.0.9; backend version 1.0.9
> 
> the log of ./scanimage -d hp:/dev/sg2 >image.pnm  2>sane.log
> is attached as bzip2 archive.
> 
> reg.
>   moritz angermann
> 
> Am Fre, 2003-01-03 um 18.00 schrieb abel deuring:
> 
>>Moritz Angermann wrote:
>>
>>>well i got here a
>>>HP ScanJet IIcx /T on my SCSI card.
>>>running kernel 2.4.17-xfs. ( vanilla + xfs ).
>>>
>>>this one worked once... ago. 2 years or so.
>>>i don't remember wich i used ...
>>>but i was the same SCSI card ( Adaptec 2940 )
>>>
>>>now. i get an IO error each time i try to scan :*/
>>>
>>>anyone any idea?
>>>is it the kernel? or the SANE version? xsane-0.90.
>>
>>Moritz,
>>
>>your problem "sounds" like a sanei_scsi or kernel problem.
>>
>>could you run
>>
>>export SANE_DEBUG_SANEI_SCSI=255
>>export SANE_DEBUG_HP=255
>>xsane 2> logfile
>>
>>(or start any other Sane backend, with stderr redirected to a logfile)
>>
>>and send me the logfile ?
>>
>>
>>Abel
>>
>>PS: Which Sane version are you using? "scanimage --version" tells the 
>>version number.
> 


-- 
Peter Kirchgessner
http://www.kirchgessner.net
mailto:peter at kirchgessner.net




More information about the sane-devel mailing list