[sane-devel] Re: Patch for HP8200C scanner support in avision.c

René Rebe rene at exactcode.de
Thu Dec 15 23:35:00 UTC 2005


Hi,

On Friday 16 December 2005 00:10, you wrote:
> Hello, first I would like to thank you for the avision driver.
> It is the base of the few commercial scanners I have found with ADF
> that is supported by Sane yet still available for new purchase.
> 
> I am using sane-backends-1.0.16 with what appeared to be build
> 176 that I obtained from http://svn.exactcode.de/sane-avision/trunk/backend/
> a few weeks ago.  sane-backends-1.0.16 contains build 167.  I see 
> that the current download is build 182 which I have not tested,
> but I can.  I did get 176 to work with my HP8200 on FreeBSD 6.0
> by making a single change to avision.c (as well as making the kernel
> identify the device as a uscanner device):
> 
> --- /root/avision.c     Mon Nov 21 19:36:28 2005
> +++ avision.c   Wed Nov 23 20:33:36 2005
> @@ -1151,7 +1151,7 @@
>      { "HP",      "C9930A",
>        0x03f0, 0x0b01,
>        "Hewlett-Packard", "ScanJet 8200",
> -      AV_FIRMWARE},
> +      AV_FIRMWARE | AV_NO_MATRIX},
> 
>
> I was performing debugging using SANE_DEBUG_AVISION 7 and 
> SANE_DEBUG_USB 4, and it always seemed to time out during 
> the 3x3 color matrix attempts, which eventually lead me to 
> discover and try the AV_NO_MATRIX flag.

Yes, this is already known. I try to review soon if there is
s.th. wrong in the command we send to the scanner.

> I can now scan  
> Line art reliably which is my goal for my project.  I have
> not tried color support extensively.  The ADF works when I 
> add the 8290 ADF lid to my 8200, and a brand new 8250 with
> ADF works as well.  

;-)

> Should I try the latest build first?  Do you have any other
> testing recommendations?

Well - if it works for you stay with it so far. Interesting
that it works so well for you, since I hear a lot of problems
on some scanner revisions over the last days. When you say
8200 and 8250 I assume those are connected via USB. Strange
that some people have some problems with the 82xx series over
USB.

> I also have a remaining issue.  I have found that I cannot do
> an ADF scan on our brand new 8250 unless I do a non-adf scan
> first.  As a workaround, I modified my scripts to make sure
> the scanner performs a normal scan to /dev/null before anyone
> uses the scanner, so ADF should work when requested.  If I do
> not do a normal scan first, the ADF scan times out.  

Hm - that is really strange. Off hand I have no idea how that
could be.

Yours,

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
            http://www.exactcode.de | http://www.t2-project.org
            +49 (0)30  255 897 45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051216/a5bfddf1/attachment.pgp


More information about the sane-devel mailing list