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

127 wiersze
5.8 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="Sat Jan 30 23:23:25 1999 PST" -->
<!-- sent="Sat, 30 Jan 1999 23:24:35 -0800" -->
<!-- name="Frank Becker" -->
<!-- email="fbecker@nortelnetworks.com" -->
<!-- subject="Re: Reviving logiscan" -->
<!-- id="" -->
<!-- inreplyto="Reviving logiscan" -->
<title>sane-devel: Re: Reviving logiscan</title>
<h1>Re: Reviving logiscan</h1>
<b>Frank Becker</b> (<a href="mailto:fbecker@nortelnetworks.com"><i>fbecker@nortelnetworks.com</i></a>)<br>
<i>Sat, 30 Jan 1999 23:24:35 -0800</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#267">[ date ]</a><a href="index.html#267">[ thread ]</a><a href="subject.html#267">[ subject ]</a><a href="author.html#267">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0268.html">Oliver Rauch: "XSANE-0.07 available"</a>
<li> <b>Previous message:</b> <a href="0266.html">becka@rz.uni-duesseldorf.de: "Re: Fax-Scanner"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Lauri Alanko wrote:<br>
<i>&gt; </i><br>
<i>&gt; [is this getting to sane-devel? I haven't seen it on the ML archives, but</i><br>
<i>&gt; haven't gotten rejection messages either]</i><br>
It must have taken a detour :) It landed in my mailbox today (30-Jan)<br>
<p>
<i>&gt; </i><br>
<i>&gt; &gt; &gt; I want to get it to work with SANE, so off I went to update it to work</i><br>
<i>&gt; &gt; &gt; with Linux 2.2.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; Do you have that working ? Would you like to become the new maintainer ?</i><br>
<i>&gt; </i><br>
<i>&gt; Well, I haven't done any kernel stuff, or low-level x86 stuff before, and I</i><br>
<i>&gt; haven't bothered to try to compile it for older kernels, so I haven't really</i><br>
<i>&gt; _used_ it at all yet. Nevertheless, I have it compiling and nearly working,</i><br>
<i>&gt; and much cleaner (IMO). It should theoretically support multiple scanners,</i><br>
<i>&gt; don't know if that's of any practical use, though.</i><br>
<p>
I've got one of those Logitech beasts myself (a Scanman Color). After<br>
getting<br>
the driver to work with the latest kernel, I started rewriting it. I<br>
found<br>
it a bit unreadable and I wanted a lighter driver. So far I have a very<br>
thin<br>
ioctl interface, just enough to get the data into user space. If you<br>
want to<br>
collaborate, send me email! <br>
<p>
<i>&gt; </i><br>
<i>&gt; However, I haven't yet gotten DMA to work (the dma buffer just stays</i><br>
<i>&gt; untouched..), so obviously something yet needs to be done.. Shouldn't take too</i><br>
<i>&gt; long, though..</i><br>
Some DMA-IRQ setting don't seem to work on my system (even though they<br>
should<br>
AFAICT). Try changing the IRQ...<br>
<p>
<i>&gt; </i><br>
<i>&gt; &gt; I don't have the device anymore, and I'd like to pass it on to someone who</i><br>
<i>&gt; &gt; _REALLY_ cares.</i><br>
<i>&gt; </i><br>
<i>&gt; Well, right now I really care, I got a new toy and I want to use it from</i><br>
<i>&gt; linux. I'm not sure about future, but being a gimp developer I expect the toy</i><br>
<i>&gt; will have some use in the future (at least until I decide to get a "real"</i><br>
<i>&gt; scanner). I won't commit to anything before I get the bloody thing working,</i><br>
<i>&gt; though..</i><br>
Yeah, same here. I don't want to make empty promises...<br>
<p>
[some stuff deleted...]<br>
<p>
<i>&gt; </i><br>
<i>&gt; &gt; With SANE, one could employ a KGI-like scheme. That is _thin_ hardware layer</i><br>
<i>&gt; &gt; in kernel, and then tailored userspace-lib that knows how to talk to it.</i><br>
<i>&gt; </i><br>
<i>&gt; That has always seemed the Right Thing to me. The kernel should just provide a</i><br>
<i>&gt; safe, possibly standardized interface to access the hardware, and not do</i><br>
<i>&gt; anything to the actual data coming from the hardware, unless emulation is</i><br>
<i>&gt; _really_ necessary. All manipulation stuff should be done in user space.</i><br>
I agree. For example, it looks like some s/w calibration is required <br>
for the Scanman Color, which doesn't belong in the kernel.<br>
<p>
<i>&gt; </i><br>
<i>&gt; &gt; &gt; Also, is there any hardware documentation existing (available),</i><br>
<i>&gt; &gt; &gt; besides the small document and (somewhat sparse) comments in the driver</i><br>
<i>&gt; &gt; &gt; source?</i><br>
I made some updates to the HARDWARE.txt file w.r.t. my experiments with<br>
the<br>
SMC, so it probably won't apply to other SM variations.<br>
<p>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; No. The driver was reverse engineered from the logitech DOS driver.</i><br>
Shiver... The SMC only came with winblows drivers. I tried to<br>
disassemble<br>
the driver with nasm from linux, but couldn't make much out of it.<br>
<p>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; I don't know myself what it _exactly_ does.</i><br>
<i>&gt; </i><br>
<i>&gt; You wouldn't happen to have the disassembly stored anywhere? As I don't have</i><br>
<i>&gt; much dos debugging tools...</i><br>
<i>&gt; </i><br>
<i>&gt; There's a mention of some specification in the CREDITS file, though..</i><br>
Anyone know any disgruntled ex-Logitech employees...:) Oh yeah, I<br>
emailed<br>
Logitech's tech support and inquired about a contact person for<br>
programming<br>
information. All I got was a "sorry this information is not available". <br>
No surprise really...<br>
<p>
Cheers,<br>
Frank.<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0268.html">Oliver Rauch: "XSANE-0.07 available"</a>
<li> <b>Previous message:</b> <a href="0266.html">becka@rz.uni-duesseldorf.de: "Re: Fax-Scanner"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>