[sane-devel] 7400c USB/scsi dump

Srinivas Digumarty screen at digumarty.net
Tue Apr 23 15:29:13 BST 2002


Hi Rene

I sort of tried reading 16 bit calibration information from the scanner
with no real success, I did this in a bit of a hurry so will attempt it
again.
As for the scsi-debugging, I know of scsi logging that you can enable
via the proc filesystem, is the scsi debugging the same?
I may just edit the sg driver and place a few printk statements to see
what the buffers hold on read and writes.

On a similar note, I recently got the HP precision scan software to run
under the latest wine version (after installing it first with the wine
version from codeweaver's office cross over plug-in) - I am able to talk
to the scanner via the software until the initialization point. (scanner
panel changes to "initializing" during lamp warm up) Precision scan then
then just waits indefinitely (probably for a scanner response). Looking
at the aspi debug info tells me that one of the problems is with the
sense buffer header having a value of 0x00 instead of 0x70 (not 0x7f).
This is independent of sane, so the problem may be in either the sg
driver or hpusbscsi (or similar). I believe this problem has been around
for a while, do you have any idea how this problem can be addressed?
(I am running the 2.4.19-pre5 kernel)
   
FYI you can find the wine aspi output here (it's pretty big)

http://www.digumarty.net/~screen/avision/trace_precisionscan_1

You may find it helpful, for other HP scanners, you're working on.


regards

screen


On Tue, 2002-04-23 at 03:25, Rene Rebe wrote:
> Hi.
> 
> Another possibility is, that we have to read the image data in a
> different way for this scanner, maybe in some raw mode reading 16bit
> data.
> 
> It might be possible to use the scsi-debugging in the linux kernel to
> i.e. get the data vuescan sends ... (Untested)
> 
> On: 21 Apr 2002 09:54:59 -0400,
>     Srinivas Digumarty <screen at digumarty.net> wrote:
> > Hello everyone,
> > 
> > I am currently trying to work on the scanner calibration in regard to
> > the HP scanjet 7400c. I am using the avision backend from rene rebe.
> > 
> > If any one has any information, especially an USB or scsi dump (actual
> > commands sent to scanner), this may be helpful. The only snoop
> > applications I know of work under MS windows, which I don't have access
> > to.
> > 
> > Please email any details you may have.
> > 
> > Thanks
> > 
> > 
> > srinivas
> > 
> > (a.k.a screen)
> 
> k33p h4ck1n6
>   René
> 
> --  
> René Rebe (Registered Linux user: #248718 <http://counter.li.org>)
> 
> eMail:    rene.rebe at gmx.net
>           rene at rocklinux.org
> 
> Homepage: http://drocklinux.dyndns.org/rene/
> 
> Anyone sending unwanted advertising e-mail to this address will be
> charged $25 for network traffic and computing time. By extracting my
> address from this message or its header, you agree to these terms.








More information about the sane-devel mailing list