kopia lustrzana https://gitlab.com/sane-project/website
152 wiersze
6.1 KiB
HTML
152 wiersze
6.1 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: Failed to open device `coolscan:/dev/scanner':</TITLE>
|
|
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
|
|
<META NAME="Subject" CONTENT="Re: Failed to open device `coolscan:/dev/scanner': Device busy.">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Failed to open device `coolscan:/dev/scanner': Device busy.</H1>
|
|
<!-- received="Thu Jan 18 19:38:41 2001" -->
|
|
<!-- isoreceived="20010119033841" -->
|
|
<!-- sent="Thu, 18 Jan 2001 22:34:03 -0500" -->
|
|
<!-- isosent="20010119033403" -->
|
|
<!-- name="Douglas Gilbert" -->
|
|
<!-- email="dgilbert@interlog.com" -->
|
|
<!-- subject="Re: Failed to open device `coolscan:/dev/scanner': Device busy." -->
|
|
<!-- id="3A67B5AB.4E9C1C0F@interlog.com" -->
|
|
<!-- inreplyto="ygen1co2u4x.fsf_-_@bfnet.com" -->
|
|
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Failed%20to%20open%20device%20`coolscan:/dev/scanner':%20Device%20busy.&In-Reply-To=<3A67B5AB.4E9C1C0F@interlog.com>"><EM>dgilbert@interlog.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Thu Jan 18 2001 - 19:34:03 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0198.html">Hendrik Sattler: "Re: False Colors with Microtek Scanmaker X6 SCSI"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0196.html">dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0196.html">dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0202.html">Henning Meier-Geinitz: "Re: Failed to open device `coolscan:/dev/scanner': Device busy."</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#197">[ date ]</A>
|
|
<A HREF="index.html#197">[ thread ]</A>
|
|
<A HREF="subject.html#197">[ subject ]</A>
|
|
<A HREF="author.html#197">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
<A HREF="mailto:dave-mlist@bfnet.com?Subject=Re:%20Failed%20to%20open%20device%20`coolscan:/dev/scanner':%20Device%20busy.&In-Reply-To=<3A67B5AB.4E9C1C0F@interlog.com>">dave-mlist@bfnet.com</A> wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I've searched for some kind of explanation for this in the man pages,
|
|
</EM><BR>
|
|
<EM>> to no avail. Can anyone suggest why scanimage thinks my scanner is
|
|
</EM><BR>
|
|
<EM>> busy?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> [root@home /root]# scanimage -V
|
|
</EM><BR>
|
|
<EM>> scanimage (sane-backends) 1.0.4
|
|
</EM><BR>
|
|
<EM>> [root@home /root]# scanimage -d coolscan:/dev/scanner
|
|
</EM><BR>
|
|
<EM>> scanimage: open of device coolscan:/dev/scanner failed: Device busy
|
|
</EM><BR>
|
|
<EM>> [root@home /root]# cat /proc/scsi/scsi
|
|
</EM><BR>
|
|
<EM>> Attached devices:
|
|
</EM><BR>
|
|
<EM>> Host: scsi0 Channel: 00 Id: 02 Lun: 00
|
|
</EM><BR>
|
|
<EM>> Vendor: Nikon Model: LS-2000 Rev: 1.31
|
|
</EM><BR>
|
|
<EM>> Type: Scanner ANSI SCSI revision: 02
|
|
</EM><BR>
|
|
<EM>> [root@home /root]# ./sane-backends-1.0.4/tools/find-scanner
|
|
</EM><BR>
|
|
<EM>> # Note that find-scanner will find any scanner that is connected
|
|
</EM><BR>
|
|
<EM>> # to a SCSI bus. It will even find scanners that are not supported
|
|
</EM><BR>
|
|
<EM>> # at all by SANE. It won't find a scanner that is connected to a
|
|
</EM><BR>
|
|
<EM>> # parallel, USB or other non-SCSI port.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> find-scanner: found scanner "Nikon LS-2000 1.31" at device /dev/scanner
|
|
</EM><BR>
|
|
<EM>> find-scanner: found scanner "Nikon LS-2000 1.31" at device /dev/sg0
|
|
</EM><BR>
|
|
<EM>> find-scanner: found scanner "Nikon LS-2000 1.31" at device /dev/sga
|
|
</EM><BR>
|
|
<EM>> [root@home /root]#
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> And here is the output of strace. I have no idea why it is looking
|
|
</EM><BR>
|
|
<EM>> for the v4linux devices.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> [root@home /root]# strace scanimage -d coolscan:/dev/scanner
|
|
</EM><BR>
|
|
<EM>> [snip]
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> open("coolscan:/dev/scanner", O_RDWR) = -1 ENOENT (No such file or directory)
|
|
</EM><BR>
|
|
<P>Strange, this open() took the "-d" argument too literally.
|
|
<BR>
|
|
It should be trying to open("/dev/scanner", ...).
|
|
<BR>
|
|
<P><EM>> write(2, "scanimage: open of device coolsc"..., 68scanimage:
|
|
</EM><BR>
|
|
<EM>> open of device coolscan:/dev/scanner failed: Device busy
|
|
</EM><BR>
|
|
<P>This "Device busy" is confusing since ENOENT means
|
|
<BR>
|
|
exactly what strace says: "no such file or directory".
|
|
<BR>
|
|
<P>Doug Gilbert
|
|
<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:%20Failed%20to%20open%20device%20`coolscan:/dev/scanner':%20Device%20busy.&In-Reply-To=<3A67B5AB.4E9C1C0F@interlog.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0198.html">Hendrik Sattler: "Re: False Colors with Microtek Scanmaker X6 SCSI"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0196.html">dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0196.html">dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0202.html">Henning Meier-Geinitz: "Re: Failed to open device `coolscan:/dev/scanner': Device busy."</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#197">[ date ]</A>
|
|
<A HREF="index.html#197">[ thread ]</A>
|
|
<A HREF="subject.html#197">[ subject ]</A>
|
|
<A HREF="author.html#197">[ 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 Jan 18 2001 - 19:42:42 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|