sane-project-website/old-archive/2001-02/0169.html

186 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: HP5300C - USB-problems?</TITLE>
<META NAME="Author" CONTENT="Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)">
<META NAME="Subject" CONTENT="Re: HP5300C - USB-problems?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: HP5300C - USB-problems?</H1>
<!-- received="Sat Feb 17 00:56:28 2001" -->
<!-- isoreceived="20010217085628" -->
<!-- sent="Sat, 17 Feb 2001 10:03:10 +0100" -->
<!-- isosent="20010217090310" -->
<!-- name="Oliver Neukum" -->
<!-- email="Oliver.Neukum@lrz.uni-muenchen.de" -->
<!-- subject="Re: HP5300C - USB-problems?" -->
<!-- id="01021710031002.01507@idun" -->
<!-- inreplyto="3A8DEED8.882A5639@interlog.com" -->
<STRONG>From:</STRONG> Oliver Neukum (<A HREF="mailto:Oliver.Neukum@lrz.uni-muenchen.de?Subject=Re:%20HP5300C%20-%20USB-problems?&In-Reply-To=&lt;01021710031002.01507@idun&gt;"><EM>Oliver.Neukum@lrz.uni-muenchen.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Feb 17 2001 - 01:03:10 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0168.html">David M. Anderson: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0167.html">Douglas Gilbert: "Re: HP5300C - USB-problems?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0171.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0171.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0172.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#169">[ date ]</A>
<A HREF="index.html#169">[ thread ]</A>
<A HREF="subject.html#169">[ subject ]</A>
<A HREF="author.html#169">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
On Samstag, 17. Februar 2001 04:24, Douglas Gilbert wrote:
<BR>
<EM>&gt; <A HREF="mailto:j.steindlberger@gmx.de?Subject=Re:%20HP5300C%20-%20USB-problems?&In-Reply-To=&lt;01021710031002.01507@idun&gt;">j.steindlberger@gmx.de</A> wrote:
</EM><BR>
<EM>&gt; &gt; &gt; &gt; I'd be interested for anyone who actually has got it working to post
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; the
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; details of their system to see if there's anything obviously
</EM><BR>
<EM>&gt; &gt; &gt; &gt; different to mine:
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Pentium III 733Mhz
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Via Apollo Pro 133 motherboard with uchi USB ports
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Kernel 2.4.1
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Sane 1.04
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; Which UHCI-driver ?
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; What does scanimage -T give you ?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Hi Oliver, hi all others!
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; &quot;scanimage -T&quot; gave me an error, because the buffersize was too small. I
</EM><BR>
<EM>&gt; &gt; took 8k - as it's written in the MiniHowto. But I should have been
</EM><BR>
<EM>&gt; &gt; starting with the 32768 (=32k).
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; With the 8k I got a memory-failure
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; ...# scanimage
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of avision to 10.
</EM><BR>
<EM>&gt; &gt; [avision] sane_init: parsing config line &quot;scsi HP&quot;
</EM><BR>
<EM>&gt; &gt; [avision] sane_init: config file line 1: trying to attach `scsi HP'
</EM><BR>
<EM>&gt; &gt; [avision] attach
</EM><BR>
<EM>&gt; &gt; [avision] attach: opening /dev/sg0
</EM><BR>
<EM>&gt; &gt; [avision] attach: open failed (Out of memory)
</EM><BR>
<EM>&gt; &gt; [avision] sane_get_devices
</EM><BR>
<EM>&gt; &gt; scanimage: no SANE devices found
</EM><BR>
<EM>&gt; &gt; [avision] sane_exit
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; An out of memory failure during a sg device open
</EM><BR>
<EM>&gt; means the kernel couldn't find 4 KB . [Sg reduces
</EM><BR>
<EM>&gt; the requested reserved size buffer until the kernel
</EM><BR>
<EM>&gt; gets some memory or the size is &lt;= 4KB.] This is
</EM><BR>
<EM>&gt; horrible. Sounds as if that usb-scsi patch has
</EM><BR>
<EM>&gt; 'unchecked_isa_dma' set to 1 thus restricting sg to
</EM><BR>
<EM>&gt; getting memory below the 16 MB level.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Just checked the usb-scsi code and that is not the case.
</EM><BR>
<EM>&gt; Have you any idea why there would be such a shortage
</EM><BR>
<EM>&gt; of memory on your machine? If you have CONFIG_MAGIC_SYSRQ
</EM><BR>
<EM>&gt; selected in your kernel, what does Alt+SysRq+M output?
</EM><BR>
<P>It isn't that serious. SANE reports &quot;Out of memory&quot; as soon as it can't get
<BR>
the buffer it wants and possibly on other conditions. Still you should be
<BR>
able to get 8K. How much RAM do you have ?
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HTH
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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:%20HP5300C%20-%20USB-problems?&In-Reply-To=&lt;01021710031002.01507@idun&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0168.html">David M. Anderson: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0167.html">Douglas Gilbert: "Re: HP5300C - USB-problems?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0171.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0171.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0172.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#169">[ date ]</A>
<A HREF="index.html#169">[ thread ]</A>
<A HREF="subject.html#169">[ subject ]</A>
<A HREF="author.html#169">[ 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>Sat Feb 17 2001 - 00:58:15 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>