kopia lustrzana https://gitlab.com/sane-project/website
186 wiersze
7.0 KiB
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=<01021710031002.01507@idun>"><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>> <A HREF="mailto:j.steindlberger@gmx.de?Subject=Re:%20HP5300C%20-%20USB-problems?&In-Reply-To=<01021710031002.01507@idun>">j.steindlberger@gmx.de</A> wrote:
|
|
</EM><BR>
|
|
<EM>> > > > I'd be interested for anyone who actually has got it working to post
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > the
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > > > details of their system to see if there's anything obviously
|
|
</EM><BR>
|
|
<EM>> > > > different to mine:
|
|
</EM><BR>
|
|
<EM>> > > >
|
|
</EM><BR>
|
|
<EM>> > > > Pentium III 733Mhz
|
|
</EM><BR>
|
|
<EM>> > > > Via Apollo Pro 133 motherboard with uchi USB ports
|
|
</EM><BR>
|
|
<EM>> > > > Kernel 2.4.1
|
|
</EM><BR>
|
|
<EM>> > > > Sane 1.04
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> > > Which UHCI-driver ?
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> > > What does scanimage -T give you ?
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > Hi Oliver, hi all others!
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > "scanimage -T" gave me an error, because the buffersize was too small. I
|
|
</EM><BR>
|
|
<EM>> > took 8k - as it's written in the MiniHowto. But I should have been
|
|
</EM><BR>
|
|
<EM>> > starting with the 32768 (=32k).
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > With the 8k I got a memory-failure
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > ...# scanimage
|
|
</EM><BR>
|
|
<EM>> > [sanei_debug] Setting debug level of avision to 10.
|
|
</EM><BR>
|
|
<EM>> > [avision] sane_init: parsing config line "scsi HP"
|
|
</EM><BR>
|
|
<EM>> > [avision] sane_init: config file line 1: trying to attach `scsi HP'
|
|
</EM><BR>
|
|
<EM>> > [avision] attach
|
|
</EM><BR>
|
|
<EM>> > [avision] attach: opening /dev/sg0
|
|
</EM><BR>
|
|
<EM>> > [avision] attach: open failed (Out of memory)
|
|
</EM><BR>
|
|
<EM>> > [avision] sane_get_devices
|
|
</EM><BR>
|
|
<EM>> > scanimage: no SANE devices found
|
|
</EM><BR>
|
|
<EM>> > [avision] sane_exit
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> An out of memory failure during a sg device open
|
|
</EM><BR>
|
|
<EM>> means the kernel couldn't find 4 KB . [Sg reduces
|
|
</EM><BR>
|
|
<EM>> the requested reserved size buffer until the kernel
|
|
</EM><BR>
|
|
<EM>> gets some memory or the size is <= 4KB.] This is
|
|
</EM><BR>
|
|
<EM>> horrible. Sounds as if that usb-scsi patch has
|
|
</EM><BR>
|
|
<EM>> 'unchecked_isa_dma' set to 1 thus restricting sg to
|
|
</EM><BR>
|
|
<EM>> getting memory below the 16 MB level.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Just checked the usb-scsi code and that is not the case.
|
|
</EM><BR>
|
|
<EM>> Have you any idea why there would be such a shortage
|
|
</EM><BR>
|
|
<EM>> of memory on your machine? If you have CONFIG_MAGIC_SYSRQ
|
|
</EM><BR>
|
|
<EM>> selected in your kernel, what does Alt+SysRq+M output?
|
|
</EM><BR>
|
|
<P>It isn't that serious. SANE reports "Out of memory" 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> HTH
|
|
<BR>
|
|
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=<01021710031002.01507@idun>">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>
|