Re: Q: xsane says "device busy", scanimage works fine

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Fri Apr 20 2001 - 08:34:14 PDT

  • Next message: Steven Hatfield: "Epson Perfection 1240U"

    Hi,

    On Thu, Apr 19, 2001 at 10:23:34PM -0400, Reece Hart wrote:
    > $ SANE_DEBUG_DLL=255 SANE_DEBUG_V4L=255 SANE_DEBUG_EPSON=255 \
    > /usr/local/bin/xsane epson:/dev/usbscanner
    > [sanei_debug] Setting debug level of v4l to 255.
    > [v4l] sane_init: failed to open device `/dev/bttv0'
    > [v4l] sane_init: failed to open device `/dev/video0'
    > [v4l] sane_init: failed to open device `/dev/video1'
    > [v4l] sane_init: failed to open device `/dev/video2'
    > [v4l] sane_init: failed to open device `/dev/video3'
    > [v4l] open(epson:/dev/usbscanner)
    > ^^^^^^^^^^^^^^^^^^^^^
    > Hmm, that's suspicious. Is that trying to open a filed called
    > `epson:/dev/usbscanner'?

    Yes. The reason is that the frontend doesn't use the dll backend but
    is directly linked to the v4l backend.

    > $ ldd /usr/local/bin/xsane
    > libsane.so.1 => /usr/local/lib/sane/libsane.so.1 (0x40024000)

    That's strange. It should look like that:
    hmg1:~# ldd /usr/local/bin/xsane
    libsane.so.1 => /usr/local/lib/libsane.so.1 (0x4001b000)

    Could you look to which the link "/usr/local/lib/sane/libsane.so.1"
    points to? Or if it isn't a link, if it has the same file size than
    libsane-v4l.so?

    Look at /etc/ld.so.conf: if there is an entry "/usr/local/lib/sane/".
    Remove it (see xsane.PROBLEMS for details) and run ldconfig.

    Also remove the link/file /usr/local/lib/sane/libsane.so.1. To be sure
    you can remove /usr/local/lib/libsane* and /usr/local/lib/sane/ . The
    sane/libsane.so.1 shouldn't appear again.

    Bye,
      Henning

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Fri Apr 20 2001 - 08:38:18 PDT