sane-project-website/old-archive/1999-08/0083.html

48 wiersze
1.9 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Tue Aug 10 03:55:02 1999 PDT" -->
<!-- sent="Tue, 10 Aug 1999 12:55:13 +0200" -->
<!-- name="Ewald R. de Wit" -->
<!-- email="ewald@pobox.com" -->
<!-- subject="sane_read() always reads only 4096 bytes" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: sane_read() always reads only 4096 bytes</title>
<h1>sane_read() always reads only 4096 bytes</h1>
<b>Ewald R. de Wit</b> (<a href="mailto:ewald@pobox.com"><i>ewald@pobox.com</i></a>)<br>
<i>Tue, 10 Aug 1999 12:55:13 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#83">[ date ]</a><a href="index.html#83">[ thread ]</a><a href="subject.html#83">[ subject ]</a><a href="author.html#83">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0084.html">252353N@knotes.kodak.com: "Starting a discussion about SANE and TWAIN..."</a>
<li> <b>Previous message:</b> <a href="0082.html">Andreas Rick: "Re: Slide scanner support?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
I noticed that with my HP photosmart scanner &amp; Linux, sane_read() only<br>
reads a maximum of 4 kB. Is there a connection with PIPE_BUF as<br>
defined in linux/limits.h? I like to know how to get more then 4 kB<br>
per read. I tried recompiling the kernel with a larger PIPE_BUF but<br>
then all sorts of things go wrong (like X11 won't starting anymore).<br>
<p>
<pre>
--
-- Ewald
<p>
<p>
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0084.html">252353N@knotes.kodak.com: "Starting a discussion about SANE and TWAIN..."</a>
<li> <b>Previous message:</b> <a href="0082.html">Andreas Rick: "Re: Slide scanner support?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>