kopia lustrzana https://gitlab.com/sane-project/website
268 wiersze
8.9 KiB
HTML
268 wiersze
8.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: testing BH on copiscan 8080d</TITLE>
|
|
<META NAME="Author" CONTENT="Tom Martone (tom@martoneconsulting.com)">
|
|
<META NAME="Subject" CONTENT="Re: testing BH on copiscan 8080d">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: testing BH on copiscan 8080d</H1>
|
|
<!-- received="Tue Dec 12 19:14:30 2000" -->
|
|
<!-- isoreceived="20001213031430" -->
|
|
<!-- sent="Tue, 12 Dec 2000 22:31:03 -0500" -->
|
|
<!-- isosent="20001213033103" -->
|
|
<!-- name="Tom Martone" -->
|
|
<!-- email="tom@martoneconsulting.com" -->
|
|
<!-- subject="Re: testing BH on copiscan 8080d" -->
|
|
<!-- id="3A36ED77.575658BB@martoneconsulting.com" -->
|
|
<!-- inreplyto="3A368952.865CD9D0@ABClabs.com" -->
|
|
<STRONG>From:</STRONG> Tom Martone (<A HREF="mailto:tom@martoneconsulting.com?Subject=Re:%20testing%20BH%20on%20copiscan%208080d&In-Reply-To=<3A36ED77.575658BB@martoneconsulting.com>"><EM>tom@martoneconsulting.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Tue Dec 12 2000 - 19:31:03 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0137.html">Eugene Kanter: "Re: sane-pre1-1.0.4 available"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0135.html">Steve Underwood: "Re: Which scanners REALLY provide 36 bit output? HP?"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0129.html">Mark Temple: "testing BH on copiscan 8080d"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#136">[ date ]</A>
|
|
<A HREF="index.html#136">[ thread ]</A>
|
|
<A HREF="subject.html#136">[ subject ]</A>
|
|
<A HREF="author.html#136">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Greetings,
|
|
<BR>
|
|
<P>You're well on the way, I think. As far as I know no one has tested
|
|
<BR>
|
|
with an 8080 yet. The code is being a bit too fussy about the strings
|
|
<BR>
|
|
coming back from the SCSI inquiry command. You can make the following
|
|
<BR>
|
|
change to the code to get past this.
|
|
<BR>
|
|
<P>Change this:
|
|
<BR>
|
|
<P> if (ibuf.devtype != 6
|
|
<BR>
|
|
|| strncmp ((char *)ibuf.vendor, "B&H SCSI", 8) != 0
|
|
<BR>
|
|
|| strncmp ((char *)ibuf.product, "COPISCAN II", 11) != 0)
|
|
<BR>
|
|
{
|
|
<BR>
|
|
DBG (1,
|
|
<BR>
|
|
"attach: device is not a recognized Bell and Howell scanner\n");
|
|
<BR>
|
|
sanei_scsi_close (fd);
|
|
<BR>
|
|
return SANE_STATUS_INVAL;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
<P>to this (and rebuild):
|
|
<BR>
|
|
<P> if (ibuf.devtype != 6
|
|
<BR>
|
|
|| strncmp ((char *)ibuf.vendor, "B&H SCSI", 8) != 0
|
|
<BR>
|
|
|| strncmp ((char *)ibuf.product, "COPISCAN", 8) != 0)
|
|
<BR>
|
|
{
|
|
<BR>
|
|
DBG (1,
|
|
<BR>
|
|
"attach: device is not a recognized Bell and Howell scanner\n");
|
|
<BR>
|
|
sanei_scsi_close (fd);
|
|
<BR>
|
|
return SANE_STATUS_INVAL;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
<P>Happy scanning and let me know how things go.
|
|
<BR>
|
|
<P>Thanks, Tom
|
|
<BR>
|
|
<P><P>Mark Temple wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hello SANE Enthusiasts,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I've gotten a Bell & Howell 8080d for one week to test. I am eager to
|
|
</EM><BR>
|
|
<EM>> get SANE to work with it. I have tested SANE on an HPscanjet
|
|
</EM><BR>
|
|
<EM>> with the ADF and it worked pretty well. I have connected the B&H
|
|
</EM><BR>
|
|
<EM>> scanner to my Linux (RedHat 7.0) computer and checked the SCSI port
|
|
</EM><BR>
|
|
<EM>> with find-scanner. Here is the output:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> find-scanner: found scanner "B&H SCSI COPISCAN 8080D 0120" at device
|
|
</EM><BR>
|
|
<EM>> /dev/scanner
|
|
</EM><BR>
|
|
<EM>> find-scanner: found scanner "B&H SCSI COPISCAN 8080D 0120" at device
|
|
</EM><BR>
|
|
<EM>> /dev/sg0
|
|
</EM><BR>
|
|
<EM>> find-scanner: found scanner "B&H SCSI COPISCAN 8080D 0120" at device
|
|
</EM><BR>
|
|
<EM>> /dev/sga
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> so far so good. (I also made sure the /dev... were world accessible)
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> When I issue the command: scanimage -L, all I get is a blank stare. :-(
|
|
</EM><BR>
|
|
<EM>> scanimage doesn't know about this scanner.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Next I issued the commands:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> export SANE_DEBUG_BH=15
|
|
</EM><BR>
|
|
<EM>> scanimage -d bh:/dev/scanner > bh.lis 2>&1
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Here is the output from the above command:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> [sanei_debug] Setting debug level of bh to 15.
|
|
</EM><BR>
|
|
<EM>> [bh] sane_init called
|
|
</EM><BR>
|
|
<EM>> [bh] Bell+Howell SANE backend 1.0 build 4 little endian
|
|
</EM><BR>
|
|
<EM>> [bh] attach called
|
|
</EM><BR>
|
|
<EM>> [bh] attach: opening /dev/scanner
|
|
</EM><BR>
|
|
<EM>> [bh] attach: sending TEST_UNIT_READY
|
|
</EM><BR>
|
|
<EM>> [bh] test_unit_ready called
|
|
</EM><BR>
|
|
<EM>> [bh] attach: sending INQUIRY (standard data)
|
|
</EM><BR>
|
|
<EM>> [bh] inquiry called
|
|
</EM><BR>
|
|
<EM>> [bh] attach: reported devtype='6', vendor='B&H SCSI', product='COPISCAN
|
|
</EM><BR>
|
|
<EM>> 8080D ', revision='0120'
|
|
</EM><BR>
|
|
<EM>> [bh] attach: device is not a recognized Bell and Howell scanner
|
|
</EM><BR>
|
|
<EM>> [bh] sane_open called
|
|
</EM><BR>
|
|
<EM>> [bh] attach called
|
|
</EM><BR>
|
|
<EM>> [bh] attach: opening /dev/scanner
|
|
</EM><BR>
|
|
<EM>> [bh] attach: sending TEST_UNIT_READY
|
|
</EM><BR>
|
|
<EM>> [bh] test_unit_ready called
|
|
</EM><BR>
|
|
<EM>> [bh] attach: sending INQUIRY (standard data)
|
|
</EM><BR>
|
|
<EM>> [bh] inquiry called
|
|
</EM><BR>
|
|
<EM>> [bh] attach: reported devtype='6', vendor='B&H SCSI', product='COPISCAN
|
|
</EM><BR>
|
|
<EM>> 8080D ', revision='0120'
|
|
</EM><BR>
|
|
<EM>> [bh] attach: device is not a recognized Bell and Howell scanner
|
|
</EM><BR>
|
|
<EM>> scanimage: open of device bh:/dev/scanner failed: Invalid argument
|
|
</EM><BR>
|
|
<EM>> [bh] sane_exit called
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> SANE is talking to the scanner! :-)
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> My question: can I make a change in the bh.conf file to make it
|
|
</EM><BR>
|
|
<EM>> recognize this scanner? Where do I go from here? Any help will
|
|
</EM><BR>
|
|
<EM>> be greatly appreciated.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Thanks in advance.
|
|
</EM><BR>
|
|
<EM>> --
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> --------------------------------------------------
|
|
</EM><BR>
|
|
<EM>> Mark Temple, Information Technology Manager
|
|
</EM><BR>
|
|
<EM>> ABC Labs, Columbia, Missouri 65202
|
|
</EM><BR>
|
|
<EM>> voice:573.876.8198 fax:573.443.9033
|
|
</EM><BR>
|
|
<EM>> --------------------------------------------------
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> --
|
|
</EM><BR>
|
|
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
</EM><BR>
|
|
<EM>> To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20testing%20BH%20on%20copiscan%208080d&In-Reply-To=<3A36ED77.575658BB@martoneconsulting.com>">majordomo@mostang.com</A>
|
|
</EM><BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20testing%20BH%20on%20copiscan%208080d&In-Reply-To=<3A36ED77.575658BB@martoneconsulting.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0137.html">Eugene Kanter: "Re: sane-pre1-1.0.4 available"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0135.html">Steve Underwood: "Re: Which scanners REALLY provide 36 bit output? HP?"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0129.html">Mark Temple: "testing BH on copiscan 8080d"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#136">[ date ]</A>
|
|
<A HREF="index.html#136">[ thread ]</A>
|
|
<A HREF="subject.html#136">[ subject ]</A>
|
|
<A HREF="author.html#136">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Tue Dec 12 2000 - 20:40:02 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|