sane-project-website/old-archive/2000-07/0248.html

194 wiersze
7.0 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: Acer620UT</TITLE>
<META NAME="Author" CONTENT="Oliver Schwartz (Oliver.Schwartz@gmx.de)">
<META NAME="Subject" CONTENT="Re: Acer620UT">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Acer620UT</H1>
<!-- received="Sun Jul 30 04:38:18 2000" -->
<!-- isoreceived="20000730113818" -->
<!-- sent="Sun, 30 Jul 2000 13:24:35 +0200" -->
<!-- isosent="20000730112435" -->
<!-- name="Oliver Schwartz" -->
<!-- email="Oliver.Schwartz@gmx.de" -->
<!-- subject="Re: Acer620UT" -->
<!-- id="00073013473600.00493@oliverspc" -->
<!-- inreplyto="003f01bff9b3$16e2fca0$0af7a8c0@Engineering" -->
<STRONG>From:</STRONG> Oliver Schwartz (<A HREF="mailto:Oliver.Schwartz@gmx.de?Subject=Re:%20Acer620UT&In-Reply-To=&lt;00073013473600.00493@oliverspc&gt;"><EM>Oliver.Schwartz@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jul 30 2000 - 04:24:35 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0249.html">Oliver Schwartz: "Re: Acer620UT"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0247.html">Paul Nixon: "Re: Acer620UT"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0247.html">Paul Nixon: "Re: Acer620UT"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#248">[ date ]</A>
<A HREF="index.html#248">[ thread ]</A>
<A HREF="subject.html#248">[ subject ]</A>
<A HREF="author.html#248">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>this all sounds a bit strange to me...
<BR>
<P><EM>&gt; First thing I noticed was that scanimage was no longer in the path, and
</EM><BR>
<EM>&gt; xscanimage was no longer available at all. So, I cd /usr/local/bin and type
</EM><BR>
<EM>&gt; ./scanimage -L. Lo and behold, I see on the screen something to the effect:
</EM><BR>
<EM>&gt; &quot;Device snapscan:/dev/usbscanner is a Color FlatbedScanner13 flatbed
</EM><BR>
<EM>&gt; scanner&quot; or something like that.
</EM><BR>
<P>This seems to indicate two things: Your PATH may not include /usr/local/bin or
<BR>
you haven't 'rehashed' after uninstalling and installing sane. This should be
<BR>
easy to resolve. Secondly, USB communication seems to work, otherwise scanimage
<BR>
wouldn't recognize your scanner.
<BR>
<P><EM>&gt; 2) Unfortunately, when I run ./scanimage -T the system essentially core
</EM><BR>
<EM>&gt; dumps (not a core dump but something like it).
</EM><BR>
&nbsp;
<BR>
<EM>&gt; 3) According to the original instructions as well as info here I'm supposed
</EM><BR>
<EM>&gt; to upload new firmware using the acerfirm utility. I have been trying to do
</EM><BR>
<EM>&gt; this from the very beginning but something has changed and I don't know
</EM><BR>
<EM>&gt; what. Originally I could simply type ./acerfirm -v /dev/usbscanner
</EM><BR>
<EM>&gt; u64v115.bin and I would see the intial scanner read info (scanner would show
</EM><BR>
<EM>&gt; as a FlatbedScanner16 with a firmware date of Oct. 1999). Within a few
</EM><BR>
<EM>&gt; moments, the scanner would make all sorts of good noise (reinitializing) and
</EM><BR>
<EM>&gt; then acerfirm would report that the firmware was successfully uploaded.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Now, however, no matter when I attempt to run that same utility, I
</EM><BR>
<EM>&gt; constantly get &quot;scanner.c read.scanner got funky result: -75. contact
</EM><BR>
<EM>&gt; maintainer (again, may not be exact but the funky result: -75 is)&quot;. The
</EM><BR>
<EM>&gt; scanner makes no noise, and this time the info returned from the scanner is
</EM><BR>
<EM>&gt; blank.
</EM><BR>
<P>This again sounds as if USB communication does not work anymore. First,
<BR>
'acerfirm' is independent of sane, so it should work no matter how you compiled
<BR>
and installed sane. If it doesn't work there is probably something wrong with
<BR>
the USB kernel layer (scanner.c is part of the kernel USB layer). The best
<BR>
thing I can suggest is a reboot or unloading and reloading of all USB related
<BR>
kernel modules (scanner, usb-uhci or usb-ohci and usbcore). Be sure that the
<BR>
scanner module recognizes your scanner (you should get something similar to the
<BR>
dump below in /var/log/messages:
<BR>
<P>scanner.c: USB Scanner support registered.
<BR>
scanner.c: open_scanner(0): invalid scn_minor
<BR>
usb.c: USB new device connect, assigned device number 2
<BR>
scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product -
<BR>
4a5:2040
<BR>
<P>You may have to supply the vendor and product ID by hand to the scanner module
<BR>
- the version I have doesn't recognize my scanner automatically.
<BR>
<P><EM>&gt; There must be something installed incorrectly. I edited
</EM><BR>
<EM>&gt; /usr/local/etc/sane.d/sane.conf to add Color and /dev/usbscanner. There is
</EM><BR>
<EM>&gt; also an /etc/sane.d directory which contained sane.conf.rpmsave. Is it
</EM><BR>
<EM>&gt; possible that the rpm created the /etc/sane.d directory? Should I symlink
</EM><BR>
<EM>&gt; this to /usr/local/etc/sane.d?
</EM><BR>
<P>Obviously the previous installation used /etc/sane.d. You have modified
<BR>
sane.conf, so rpm didn't delete the file and directory. You can probably delete
<BR>
the whole stuff manually, but it doesn't hurt if it's still there.
<BR>
<P>Still, the problem remains that USB communication in (1) worked and later it
<BR>
didn't. The only solution I can think of is that you have loaded kernel modules
<BR>
with different parameters between both tests.
<BR>
<P>You should first try to get acerfirm to work again. Once you have uploaded the
<BR>
firmware 'scanimage -L' should report 'FlatbedScanner16' instead of
<BR>
'FlatbedScanner13'. (You won't be able to scan at all with the original
<BR>
firmware).
<BR>
<P>If scanimage still coredumps you should supply the output. Maybe it makes sense
<BR>
to someone.
<BR>
<P>Good luck,
<BR>
<P>Oliver
<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:%20Acer620UT&In-Reply-To=&lt;00073013473600.00493@oliverspc&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0249.html">Oliver Schwartz: "Re: Acer620UT"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0247.html">Paul Nixon: "Re: Acer620UT"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0247.html">Paul Nixon: "Re: Acer620UT"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#248">[ date ]</A>
<A HREF="index.html#248">[ thread ]</A>
<A HREF="subject.html#248">[ subject ]</A>
<A HREF="author.html#248">[ 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>Sun Jul 30 2000 - 04:42:21 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>