old-www/HOWTO/Scanner-HOWTO/troubleshooting.html

360 lines
7.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Troubleshooting</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="The Scanner HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="SANE Frontends"
HREF="frontends.html"><LINK
REL="NEXT"
TITLE="Gnu Free Documentation License"
HREF="gfdpl.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>The Scanner HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="frontends.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="gfdpl.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="TROUBLESHOOTING"
></A
>7. Troubleshooting</H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="INITIAL-HINTS"
></A
>7.1. Help, my scanner cannot be found by scanimage or xsane!</H2
><P
>First, don't despair.
If you're sure you've done everything correctly up to this point, all the right modules are loaded and all the configuration files tweaked as outlined and you know you're hardware is supported, check your permissions.
In order to access scanner hardware you must have read and write access.
See <A
HREF="dev-intro.html#PERMISSIONS"
>Section 3.3</A
> for more info.
If this isn't the problem, go to <TT
CLASS="FILENAME"
>/etc/sane.d/</TT
> (or <TT
CLASS="FILENAME"
>/usr/local/etc/sane.d</TT
>) and edit the file <TT
CLASS="FILENAME"
>dll.conf</TT
>, commenting out any backend or other (i.e. v4l) protocol that you don't need. </P
><P
>If none of the above work, from within the directory containing the SANE configuration files, open the one named after the backend for your particular scanner.
There are (among others) two important entries in the file: interface type (scsi vs. usb), and the device name.
If you have a usb scanner, you will usually need to comment out (make a # mark in front of) the 'scsi' line, and uncomment the line containing 'usb.'
In addition the device name may need to be changed, depending on your distribution (i.e., <TT
CLASS="FILENAME"
>/dev/usbscanner0</TT
> may become <TT
CLASS="FILENAME"
>/dev/usb/usbscanner0</TT
>).
As you may have noted, there may be several other options available to your scanner in this file depending on the model, so if your scanner doesn't operate as planned, you may want to take a look at this file and the accompanying model-specific documentation if any; see <B
CLASS="COMMAND"
>man sane-scsi</B
> or <B
CLASS="COMMAND"
>sane-usb</B
>, or whichever manufacturer made your scanner (including <B
CLASS="COMMAND"
>sane-plustek</B
>, <B
CLASS="COMMAND"
>sane-qcam</B
>, <B
CLASS="COMMAND"
>sane-ricoh</B
>, <B
CLASS="COMMAND"
>sane-sharp</B
>, <B
CLASS="COMMAND"
>sane-snapscan</B
>, <B
CLASS="COMMAND"
>sane-umax</B
> and so on.
For a full list try <B
CLASS="COMMAND"
>apropos sane</B
>.
The exact protocols and manufacturers available may depend on your version of SANE.</P
><P
>If none of the above work, see <A
HREF="troubleshooting.html#LISTS"
>Section 7.5</A
>.
Also, if you're particularly daring you should check the <A
HREF="http://www.meier-geinitz.de/sane/sts/"
TARGET="_top"
>sane-troubleshoot Homepage</A
>, still in an early development stage at the time of this writing.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="USB-HARD"
></A
>7.2. Help, I'm not sure my USB hardware is working!</H2
><P
>Assuming you have usbdevfs and /proc filesystem support, you should issue the following command: <B
CLASS="COMMAND"
>cat /proc/bus/usb/devices</B
>.
It should give you an output of the USB bus status and the connected devices and troubleshoot your hardware.
If your scanner is supported and you can see your hardware you'll know your problem lies elsewhere.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="BACKEND-CONFIG"
></A
>7.3. Help, scanimage or the frontend I am using identifies the wrong device!</H2
><P
>First, locate your configuration files, located in one of the usual places: <TT
CLASS="FILENAME"
>/etc/sane.d</TT
> or <TT
CLASS="FILENAME"
>/usr/local/etc/sane.d</TT
>.
In general, if you obtained a precompiled package from your distribution or a binary from the SANE homepage it is in <TT
CLASS="FILENAME"
>/etc</TT
>, while if you compiled it from source it is in <TT
CLASS="FILENAME"
>/usr/local/etc/sane.d</TT
>.
Change (<B
CLASS="COMMAND"
>cd</B
>) to that particular directory.
In <A
HREF="interfaces.html"
>Section 2</A
> you were referred to the <A
HREF="http://www.sane-project.org/sane-mfgs.html"
TARGET="_top"
>SANE list of supported and not-yet-supported</A
> hardware.
There you will find among the charts of individual manufacturers listed the <SPAN
CLASS="QUOTE"
>"Backend,"</SPAN
> or SANE driver for each model in addition to the support status.
Within <TT
CLASS="FILENAME"
>/etc/sane.d</TT
> or <TT
CLASS="FILENAME"
>/usr/local/etc/sane.d</TT
> there are similarly named files for each backend.
You should select the file named <TT
CLASS="FILENAME"
>dll.conf</TT
>.
This will list the backend protocols one by one.
Check to be sure your scanner's backend is not commented out (i.e., has a hash mark in front of it).
If it is you will need to (as root, and using your editor program) remove the '#.'
If you still can't get things to work, see <A
HREF="troubleshooting.html#LISTS"
>Section 7.5</A
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="PARPORT-ROOT"
></A
>7.4. Help, I can only access my parallel-port scanner as root!</H2
><P
>The SANE driver for your scanner accesses the parallel port directly (via <TT
CLASS="FILENAME"
>/dev/port</TT
>).
This only works for root for security reasons.
See <A
HREF="http://www.linuxprinting.org/download/digitalimage/Scanning-as-Normal-User-on-Wierd-Scanner-Mini-HOWTO.txt"
TARGET="_top"
>this mini-HOWTO</A
> by Till Kamppeter for instructions on how to approach this problem.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="LISTS"
></A
>7.5. Help, I have an <SPAN
CLASS="TRADEMARK"
>Acme Whizzbang</SPAN
>&#8482; or other model scanner and you haven't addressed my particular problem!</H2
><P
>Go to <A
HREF="http://www.sane-project.org/mailing-lists.html"
TARGET="_top"
> the mailing list and irc channel </A
> at the SANE website.
Check the link for instructions on how to subscribe, etc.
Also, you should read the <A
HREF="http://www.xs4all.nl/~ljm/SANE-faq.html"
TARGET="_top"
>SANE FAQ</A
> which has several hardware-specific questions, answers and links to relevant documentation.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="frontends.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="gfdpl.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>SANE Frontends</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Gnu Free Documentation License</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>