sane-project-website/old-archive/1999-01/0251.html

148 wiersze
6.6 KiB
HTML

<!-- received="Sat Jan 30 08:24:36 1999 PST" -->
<!-- sent="Tue, 19 Jan 1999 13:18:30 +1100 (EST)" -->
<!-- name="Craig Small" -->
<!-- email="csmall@scooter.eye-net.com.au" -->
<!-- subject="Gnome tools and separation" -->
<!-- id="E102QkQ-0002Ed-00@scooter.eye-net.com.au" -->
<!-- inreplyto="" -->
<title>sane-devel: Gnome tools and separation</title>
<h1>Gnome tools and separation</h1>
<b>Craig Small</b> (<a href="mailto:csmall@scooter.eye-net.com.au"><i>csmall@scooter.eye-net.com.au</i></a>)<br>
<i>Tue, 19 Jan 1999 13:18:30 +1100 (EST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#251">[ date ]</a><a href="index.html#251">[ thread ]</a><a href="subject.html#251">[ subject ]</a><a href="author.html#251">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0252.html">John M. Mills: "Re: Scanner Purchase Advice short list"</a>
<li> <b>Previous message:</b> <a href="0250.html">Oliver Rauch: "Re: Feature request for xscanimage"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
G'day All,<br>
A while back David asked someone to gnomeify the X SANE tools, I took<br>
up his offer. Now I'd like to get them into the mainstream instead of<br>
hiding on the gnome CVS server.<br>
<p>
To do this I'll need to have the libraries available and probably need<br>
a name change (gxscanimage?). I'll also need some more advise on how<br>
to best split the stuff up.<br>
<p>
Any ideas from the list? or suggestions? I'm re-subscrbing to the list<br>
but that may take a few days.<br>
<p>
- Craig<br>
<p>
<pre>
--
Craig Small VK2XLZ, PGP: AD 8D D8 63 6E BF C3 C7 47 41 B1 A2 1F 46 EC 90
|@work: csmall@scooter.o.i.net, @play: vk2xlz@vk2xlz.ampr.org|
|@home: csmall@small.dropbear.id.au, @debian:csmall@debian.org|
|@web: <a href="http://www.triode.net.au/~csmall">http://www.triode.net.au/~csmall</a> @irc:seeS @icq:5723597|
<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="0252.html">John M. Mills: "Re: Scanner Purchase Advice short list"</a>
<li> <b>Previous message:</b> <a href="0250.html">Oliver Rauch: "Re: Feature request for xscanimage"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
or any commercial purpose and/or for unsolicited e-mail.
Furthermore, German Bundesdatenschutzgesetz (BDSG) is applicable.
** Microsoft Network is prohibited from redistributing this work in any form,
in whole or in part.
By violating these terms, a handling fee of 500,- DM (300US$) is accepted
and immediately due. German law is applicable. Designated court: Alzey.
<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="0252.html">John M. Mills: "Re: Scanner Purchase Advice short list"</a>
<li> <b>Previous message:</b> <a href="0250.html">Oliver Rauch: "Re: Feature request for xscanimage"</a>
<li> <b>Maybe in reply to:</b> <a href="0160.html">Tokyo7 Shopping Arcade: "OS/2 and Sane"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<i>&gt; In what respect ? I know LHII is very limited as compared to SANE, but it</i><br>
<i>&gt; should suffice for those simple handscanners - right ?</i><br>
<p>
Yes, but it has some quirks and ambiguities I don't like. For example setting<br>
modes.. If you specify both a depth and mode, which should take precedence? <br>
What if you specify both BPL and margins? And the select_threshold seems to<br>
be a bad hack. Select (well, poll in the module, these days), should just<br>
check if there's _any_ data immediately available. If the user wants to know<br>
better, he can manually poll and check how much stuff is in the internal<br>
buffer..<br>
<p>
<i>&gt; &gt; Or does anyone have other suggestions for an ioctl interface of a hand </i><br>
<i>&gt; &gt; scanner device? I may well end up doing a new one, and then a sane </i><br>
<i>&gt; &gt; backend that uses that. </i><br>
<i>&gt; </i><br>
<i>&gt; That is an interesting option, and I'd gladly try to help you with that.</i><br>
<i>&gt; It is more work, though, and it would mean all drivers would have to be</i><br>
<i>&gt; ported, but actually I'd even say this is the "right" thing to do.</i><br>
<p>
Yup.. are any other LHII drivers still in use these days, that the interface<br>
was worth supporting in sane?<br>
<p>
Making a simple scanman-specific interface would keep the kernel module size<br>
at a minimum.<br>
<p>
<i>&gt; With SANE, one could employ a KGI-like scheme. That is _thin_ hardware layer</i><br>
<i>&gt; in kernel, and then tailored userspace-lib that knows how to talk to it.</i><br>
<p>
That has always seemed the Right Thing to me. The kernel should just provide a<br>
safe, possibly standardized interface to access the hardware, and not do<br>
anything to the actual data coming from the hardware, unless emulation is<br>
_really_ necessary. All manipulation stuff should be done in user space.<br>
<p>
<i>&gt; &gt; Also, is there any hardware documentation existing (available),</i><br>
<i>&gt; &gt; besides the small document and (somewhat sparse) comments in the driver</i><br>
<i>&gt; &gt; source?</i><br>
<i>&gt; </i><br>
<i>&gt; No. The driver was reverse engineered from the logitech DOS driver.</i><br>
<i>&gt; </i><br>
<i>&gt; I don't know myself what it _exactly_ does.</i><br>
<p>
You wouldn't happen to have the disassembly stored anywhere? As I don't have<br>
much dos debugging tools...<br>
<p>
There's a mention of some specification in the CREDITS file, though..<br>
<p>
<p>
Lauri Alanko<br>
<a href="mailto:la@iki.fi">la@iki.fi</a><br>
<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="0252.html">John M. Mills: "Re: Scanner Purchase Advice short list"</a>
<li> <b>Previous message:</b> <a href="0250.html">Oliver Rauch: "Re: Feature request for xscanimage"</a>
<li> <b>In reply to:</b> <a href="0172.html">becka@rz.uni-duesseldorf.de: "Re: Reviving logiscan"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>