182 lines
5.3 KiB
HTML
182 lines
5.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of sane-canon630u</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>sane-canon630u</H1>
|
|
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 11 Jul 2008<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
sane-canon630u - SANE backend for the Canon 630u USB flatbed scanner
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>sane-canon630u</B>
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that
|
|
provides access to the following Canon flatbed scanners:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
CanoScan 630u
|
|
<BR>
|
|
|
|
CanoScan 636u
|
|
<BR>
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
Color scanning is supported at 75, 150, 300, and 600 dpi, and gamma and
|
|
analog gain are adjustable.
|
|
<P>
|
|
|
|
TESTERS ARE WELCOME. Send your bug reports and comments to
|
|
Nathan Rutman <<A HREF="mailto:nthn1@yahoo.com">nthn1@yahoo.com</A>>
|
|
<P>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>CONFIGURATION</H2>
|
|
|
|
The contents of the
|
|
<I>canon630u.conf</I>
|
|
|
|
file is a list of device names that correspond to Canon
|
|
USB scanners. Empty lines and lines starting with a hash mark (#) are
|
|
ignored. Only one device name can be listed in
|
|
<I>canon630u.conf</I>.
|
|
|
|
The program
|
|
<I>sane-find-scanner</I>
|
|
|
|
helps to find out the correct device. Under Linux, such a device name
|
|
could be
|
|
<I>/dev/usb/scanner0</I>
|
|
|
|
for example. See <A HREF="/cgi-bin/man/man2html?5+sane-usb">sane-usb</A>(5) for details.
|
|
<P>
|
|
|
|
This product-specific scanner driver uses the lower-level kernel USB driver
|
|
"scanner". Check for "Driver=usbscanner" under /proc/bus/usb/devices. If
|
|
"Driver=(none)", try forcing it with "insmod scanner vendor=0x04a9 product=0x2204"
|
|
<A NAME="lbAE"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<P>
|
|
|
|
Due to Canon's unwillingness to provide scanner documentation, this
|
|
software was developed by analyzing the USB traffic of the Windows
|
|
2000 driver. So things like the calibration procedure I kind of made up;
|
|
it seems to work for my scanner. If you have complaints, let me know.
|
|
<P>
|
|
|
|
This driver requires the ability to send USB Control Messages, available in
|
|
kernel 2.4.12 or later.
|
|
<P>
|
|
|
|
Some users have reported that this driver doesn't work at all. This seems
|
|
to be a hardware specific issue, although I don't know what exactly the
|
|
problem is. If you are having problems, please send me the info in
|
|
/proc/bus/usb/devices, /proc/pci, the kernel scanner.c driver version from
|
|
/var/log/messages, and the output from "SANE_DEBUG_CANON630U=12 scanimage > /dev/null"
|
|
<P>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="2"><I>@CONFIGDIR@/canon630u.conf</I>
|
|
|
|
<DD>
|
|
The backend configuration file (see also description of
|
|
<B>SANE_CONFIG_DIR</B>
|
|
|
|
below).
|
|
<DT id="3"><I>@LIBDIR@/libsane-canon630u.a</I>
|
|
|
|
<DD>
|
|
The static library implementing this backend.
|
|
<DT id="4"><I>@LIBDIR@/libsane-canon630u.so</I>
|
|
|
|
<DD>
|
|
The shared library implementing this backend (present on systems that
|
|
support dynamic loading).
|
|
<DT id="5"><I>/tmp/canon.cal</I>
|
|
|
|
<DD>
|
|
The calibration file used to normalize pixel brightness. This is
|
|
calculated every time the scanner is first used after it has lost power.
|
|
Deleting this file will force recalibration.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="6"><B>SANE_CONFIG_DIR</B>
|
|
|
|
<DD>
|
|
This environment variable specifies the list of directories that may
|
|
contain the configuration file. Under UNIX, the directories are
|
|
separated by a colon (`:'), under OS/2, they are separated by a
|
|
semi-colon (`;'). If this variable is not set, the configuration file
|
|
is searched in two default directories: first, the current working
|
|
directory (".") and then in @CONFIGDIR@. If the value of the
|
|
environment variable ends with the directory separator character, then
|
|
the default directories are searched after the explicitly specified
|
|
directories. For example, setting
|
|
<B>SANE_CONFIG_DIR</B>
|
|
|
|
to "/tmp/config:" would result in directories "tmp/config", ".", and
|
|
"@CONFIGDIR@" being searched (in this order).
|
|
<DT id="7"><B>SANE_DEBUG_CANON630U</B>
|
|
|
|
<DD>
|
|
If the library was compiled with debug support enabled, this
|
|
environment variable controls the debug level for this backend. Higher
|
|
debug levels increase the verbosity of the output.
|
|
<P>
|
|
Example:
|
|
<BR>
|
|
|
|
SANE_DEBUG_CANON630U=12 scanimage > /dev/null
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?7+sane">sane</A>(7), <A HREF="/cgi-bin/man/man2html?5+sane-usb">sane-usb</A>(5), <A HREF="/cgi-bin/man/man2html?1+sane-find-scanner">sane-find-scanner</A>(1)
|
|
<BR>
|
|
|
|
<A HREF="http://canon-fb630u.sourceforge.net/">http://canon-fb630u.sourceforge.net/</A>
|
|
<BR>
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Nathan Rutman
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">CONFIGURATION</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">NOTES</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="13"><A HREF="#lbAG">ENVIRONMENT</A><DD>
|
|
<DT id="14"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="15"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:04 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|