kopia lustrzana https://gitlab.com/sane-project/website
229 wiersze
8.6 KiB
HTML
229 wiersze
8.6 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: Q: xsane says "device busy", scanimage wo</TITLE>
|
||
|
<META NAME="Author" CONTENT="Reece Hart (reece@in-machina.com)">
|
||
|
<META NAME="Subject" CONTENT="Q: xsane says "device busy", scanimage works fine">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
|
<H1>Q: xsane says "device busy", scanimage works fine</H1>
|
||
|
<!-- received="Thu Apr 19 19:27:40 2001" -->
|
||
|
<!-- isoreceived="20010420022740" -->
|
||
|
<!-- sent="Thu, 19 Apr 2001 22:23:34 -0400 (EDT)" -->
|
||
|
<!-- isosent="20010420022334" -->
|
||
|
<!-- name="Reece Hart" -->
|
||
|
<!-- email="reece@in-machina.com" -->
|
||
|
<!-- subject="Q: xsane says "device busy", scanimage works fine" -->
|
||
|
<!-- id="Pine.LNX.4.33.0104192158480.24958-100000@localhost.localdomain" -->
|
||
|
<STRONG>From:</STRONG> Reece Hart (<A HREF="mailto:reece@in-machina.com?Subject=Re:%20Q:%20xsane%20says%20"device%20busy",%20scanimage%20works%20fine&In-Reply-To=<Pine.LNX.4.33.0104192158480.24958-100000@localhost.localdomain>"><EM>reece@in-machina.com</EM></A>)<BR>
|
||
|
<STRONG>Date:</STRONG> Thu Apr 19 2001 - 19:23:34 PDT
|
||
|
<P>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0184.html">Ulrich Deiters: "Re: ./configure xsane is failing?"</A>
|
||
|
<UL>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0182.html">Marc Parrish: "./configure xsane is failing?"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0186.html">Oliver Rauch: "Re: Q: xsane says "device busy", scanimage works fine"</A>
|
||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0186.html">Oliver Rauch: "Re: Q: xsane says "device busy", scanimage works fine"</A>
|
||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0190.html">Henning Meier-Geinitz: "Re: Q: xsane says "device busy", scanimage works fine"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#183">[ date ]</A>
|
||
|
<A HREF="index.html#183">[ thread ]</A>
|
||
|
<A HREF="subject.html#183">[ subject ]</A>
|
||
|
<A HREF="author.html#183">[ author ]</A>
|
||
|
</UL>
|
||
|
<HR NOSHADE><P>
|
||
|
<!-- body="start" -->
|
||
|
<P>
|
||
|
Cheers. I'm a sane/xsane newbie with a problem. Any
|
||
|
<BR>
|
||
|
advice/solutions/things to try will be welcomed.
|
||
|
<BR>
|
||
|
<P>Thanks,
|
||
|
<BR>
|
||
|
Reece
|
||
|
<BR>
|
||
|
<P><P>The problem
|
||
|
<BR>
|
||
|
-----------
|
||
|
<BR>
|
||
|
scanimage works fine (great, in fact), but xscanimage and xsane both claim
|
||
|
<BR>
|
||
|
that the scanner is busy.
|
||
|
<BR>
|
||
|
<P><P>The environment
|
||
|
<BR>
|
||
|
---------------
|
||
|
<BR>
|
||
|
RedHat 7.1
|
||
|
<BR>
|
||
|
sane, xsane installed from sources, NOT rpms
|
||
|
<BR>
|
||
|
sane-backends & -frontends 1.0.4
|
||
|
<BR>
|
||
|
xsane-0.75
|
||
|
<BR>
|
||
|
epson 1240U photo via usb
|
||
|
<BR>
|
||
|
<P><P>Sample invocations and output
|
||
|
<BR>
|
||
|
-----------------------------
|
||
|
<BR>
|
||
|
$ scanimage -L
|
||
|
<BR>
|
||
|
device `epson:/dev/usbscanner' is a Epson Perfection1240 flatbed scanner
|
||
|
<BR>
|
||
|
<P>$ scanimage --format=tiff >image.tiff
|
||
|
<BR>
|
||
|
(no problems)
|
||
|
<BR>
|
||
|
<P>$ xscanimage
|
||
|
<BR>
|
||
|
[xscanimage] No scanners were identified...
|
||
|
<BR>
|
||
|
<P>$ xscanimage epson:/dev/usbscanner
|
||
|
<BR>
|
||
|
(dialog says "Failed to open device `epson:/dev/usbscanner': Device busy.")
|
||
|
<BR>
|
||
|
<P>$ xsane
|
||
|
<BR>
|
||
|
(dialog says "xsane: no devices available")
|
||
|
<BR>
|
||
|
<P>$ xsane epson:/dev/usbscanner
|
||
|
<BR>
|
||
|
(dialog says "Failed to open device `epson:/dev/usbscanner': Device busy."
|
||
|
<BR>
|
||
|
just like xscan image)
|
||
|
<BR>
|
||
|
<P><P>What I've tried and other info
|
||
|
<BR>
|
||
|
------------------------------
|
||
|
<BR>
|
||
|
* I've verified that there are no other versions of sane or xsane around
|
||
|
<BR>
|
||
|
<P>* I've pored over READMEs, FAQs, etc.
|
||
|
<BR>
|
||
|
<P>* DEBUG flags:
|
||
|
<BR>
|
||
|
$ SANE_DEBUG_DLL=255 SANE_DEBUG_V4L=255 SANE_DEBUG_EPSON=255 \
|
||
|
<BR>
|
||
|
/usr/local/bin/xsane epson:/dev/usbscanner
|
||
|
<BR>
|
||
|
[sanei_debug] Setting debug level of v4l to 255.
|
||
|
<BR>
|
||
|
[v4l] sane_init: failed to open device `/dev/bttv0'
|
||
|
<BR>
|
||
|
[v4l] sane_init: failed to open device `/dev/video0'
|
||
|
<BR>
|
||
|
[v4l] sane_init: failed to open device `/dev/video1'
|
||
|
<BR>
|
||
|
[v4l] sane_init: failed to open device `/dev/video2'
|
||
|
<BR>
|
||
|
[v4l] sane_init: failed to open device `/dev/video3'
|
||
|
<BR>
|
||
|
[v4l] open(epson:/dev/usbscanner)
|
||
|
<BR>
|
||
|
^^^^^^^^^^^^^^^^^^^^^
|
||
|
<BR>
|
||
|
Hmm, that's suspicious. Is that trying to open a filed called
|
||
|
<BR>
|
||
|
`epson:/dev/usbscanner'?
|
||
|
<BR>
|
||
|
<P><P>* strace:
|
||
|
<BR>
|
||
|
$ ( strace /usr/local/bin/xsane epson:/dev/usbscanner ) >log 2>&1
|
||
|
<BR>
|
||
|
And log says:
|
||
|
<BR>
|
||
|
execve("/usr/local/bin/xsane", ["/usr/local/bin/xsane", "epson:/dev/usbscanner"], [/* 72 vars */]) = 0
|
||
|
<BR>
|
||
|
[snip]
|
||
|
<BR>
|
||
|
open("epson:/dev/usbscanner", O_RDWR) = -1 ENOENT (No such file or directory)
|
||
|
<BR>
|
||
|
^^^^^^^^^^^^^^^^^^^^^
|
||
|
<BR>
|
||
|
Indeed, it's trying to open this literally.
|
||
|
<BR>
|
||
|
(As a trick, I tried symlinking `./epson:usbscanner' to this, but no luck)
|
||
|
<BR>
|
||
|
<P>* libraries:
|
||
|
<BR>
|
||
|
$ ldd /usr/local/bin/xsane
|
||
|
<BR>
|
||
|
libsane.so.1 => /usr/local/lib/sane/libsane.so.1 (0x40024000)
|
||
|
<BR>
|
||
|
libnsl.so.1 => /lib/libnsl.so.1 (0x4002a000)
|
||
|
<BR>
|
||
|
libm.so.6 => /lib/i686/libm.so.6 (0x40041000)
|
||
|
<BR>
|
||
|
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40065000)
|
||
|
<BR>
|
||
|
libgimpui-1.2.so.0 => /usr/lib/libgimpui-1.2.so.0 (0x40084000)
|
||
|
<BR>
|
||
|
libgimp-1.2.so.0 => /usr/lib/libgimp-1.2.so.0 (0x400aa000)
|
||
|
<BR>
|
||
|
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x400c9000)
|
||
|
<BR>
|
||
|
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x401ff000)
|
||
|
<BR>
|
||
|
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x40235000)
|
||
|
<BR>
|
||
|
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40238000)
|
||
|
<BR>
|
||
|
libdl.so.2 => /lib/libdl.so.2 (0x4025d000)
|
||
|
<BR>
|
||
|
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40261000)
|
||
|
<BR>
|
||
|
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40269000)
|
||
|
<BR>
|
||
|
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40277000)
|
||
|
<BR>
|
||
|
libpng.so.2 => /usr/lib/libpng.so.2 (0x40357000)
|
||
|
<BR>
|
||
|
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40379000)
|
||
|
<BR>
|
||
|
libz.so.1 => /usr/lib/libz.so.1 (0x403bc000)
|
||
|
<BR>
|
||
|
libc.so.6 => /lib/i686/libc.so.6 (0x403ca000)
|
||
|
<BR>
|
||
|
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
|
||
|
<BR>
|
||
|
<P><P><PRE>
|
||
|
--
|
||
|
Reece Hart, <A HREF="http://www.in-machina.com/~reece/">http://www.in-machina.com/~reece/</A>, PGP:0xD178AAF9
|
||
|
<P><P>--
|
||
|
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:%20Q:%20xsane%20says%20"device%20busy",%20scanimage%20works%20fine&In-Reply-To=<Pine.LNX.4.33.0104192158480.24958-100000@localhost.localdomain>">majordomo@mostang.com</A>
|
||
|
</PRE>
|
||
|
<P><!-- body="end" -->
|
||
|
<HR NOSHADE>
|
||
|
<UL>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0184.html">Ulrich Deiters: "Re: ./configure xsane is failing?"</A>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0182.html">Marc Parrish: "./configure xsane is failing?"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0186.html">Oliver Rauch: "Re: Q: xsane says "device busy", scanimage works fine"</A>
|
||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0186.html">Oliver Rauch: "Re: Q: xsane says "device busy", scanimage works fine"</A>
|
||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0190.html">Henning Meier-Geinitz: "Re: Q: xsane says "device busy", scanimage works fine"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#183">[ date ]</A>
|
||
|
<A HREF="index.html#183">[ thread ]</A>
|
||
|
<A HREF="subject.html#183">[ subject ]</A>
|
||
|
<A HREF="author.html#183">[ 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>Thu Apr 19 2001 - 19:28:52 PDT</EM>
|
||
|
</EM>
|
||
|
</SMALL>
|
||
|
</BODY>
|
||
|
</HTML>
|