kopia lustrzana https://gitlab.com/sane-project/website
127 wiersze
5.8 KiB
HTML
127 wiersze
5.8 KiB
HTML
<!-- 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>> </i><br>
|
||
<i>> [is this getting to sane-devel? I haven't seen it on the ML archives, but</i><br>
|
||
<i>> 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>> </i><br>
|
||
<i>> > > I want to get it to work with SANE, so off I went to update it to work</i><br>
|
||
<i>> > > with Linux 2.2.</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Do you have that working ? Would you like to become the new maintainer ?</i><br>
|
||
<i>> </i><br>
|
||
<i>> Well, I haven't done any kernel stuff, or low-level x86 stuff before, and I</i><br>
|
||
<i>> haven't bothered to try to compile it for older kernels, so I haven't really</i><br>
|
||
<i>> _used_ it at all yet. Nevertheless, I have it compiling and nearly working,</i><br>
|
||
<i>> and much cleaner (IMO). It should theoretically support multiple scanners,</i><br>
|
||
<i>> 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>> </i><br>
|
||
<i>> However, I haven't yet gotten DMA to work (the dma buffer just stays</i><br>
|
||
<i>> untouched..), so obviously something yet needs to be done.. Shouldn't take too</i><br>
|
||
<i>> 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>> </i><br>
|
||
<i>> > I don't have the device anymore, and I'd like to pass it on to someone who</i><br>
|
||
<i>> > _REALLY_ cares.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Well, right now I really care, I got a new toy and I want to use it from</i><br>
|
||
<i>> linux. I'm not sure about future, but being a gimp developer I expect the toy</i><br>
|
||
<i>> will have some use in the future (at least until I decide to get a "real"</i><br>
|
||
<i>> scanner). I won't commit to anything before I get the bloody thing working,</i><br>
|
||
<i>> though..</i><br>
|
||
Yeah, same here. I don't want to make empty promises...<br>
|
||
<p>
|
||
[some stuff deleted...]<br>
|
||
<p>
|
||
<i>> </i><br>
|
||
<i>> > With SANE, one could employ a KGI-like scheme. That is _thin_ hardware layer</i><br>
|
||
<i>> > in kernel, and then tailored userspace-lib that knows how to talk to it.</i><br>
|
||
<i>> </i><br>
|
||
<i>> That has always seemed the Right Thing to me. The kernel should just provide a</i><br>
|
||
<i>> safe, possibly standardized interface to access the hardware, and not do</i><br>
|
||
<i>> anything to the actual data coming from the hardware, unless emulation is</i><br>
|
||
<i>> _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>> </i><br>
|
||
<i>> > > Also, is there any hardware documentation existing (available),</i><br>
|
||
<i>> > > besides the small document and (somewhat sparse) comments in the driver</i><br>
|
||
<i>> > > 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>> ></i><br>
|
||
<i>> > 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>> ></i><br>
|
||
<i>> > I don't know myself what it _exactly_ does.</i><br>
|
||
<i>> </i><br>
|
||
<i>> You wouldn't happen to have the disassembly stored anywhere? As I don't have</i><br>
|
||
<i>> much dos debugging tools...</i><br>
|
||
<i>> </i><br>
|
||
<i>> 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>
|