sane-project-website/old-archive/2001-04/0106.html

212 wiersze
8.7 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: [dev] Status of NS LM983x USB support (e.g. Bea</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)</H1>
<!-- received="Tue Apr 10 10:36:34 2001" -->
<!-- isoreceived="20010410173634" -->
<!-- sent="Tue, 10 Apr 2001 19:55:58 +0200" -->
<!-- isosent="20010410175558" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)" -->
<!-- id="20010410195558.D3762@vortex.swb.de" -->
<!-- inreplyto="002001c0c139$09f7b820$0201a8c0@fx" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20[dev]%20Status%20of%20NS%20LM983x%20USB%20support%20(e.g.%20Bearpaw,%20Canon%20650U,%20Plustek%20OpticPro%20U12)&In-Reply-To=&lt;20010410195558.D3762@vortex.swb.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Apr 10 2001 - 10:55:58 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0107.html">Henning Meier-Geinitz: "Re: No SANE Devices Found"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0105.html">Henning Meier-Geinitz: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0094.html">Adam Polkosnik: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0109.html">Jaeger, Gerhard: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0100.html">Slawomir Kolasinski: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0109.html">Jaeger, Gerhard: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#106">[ date ]</A>
<A HREF="index.html#106">[ thread ]</A>
<A HREF="subject.html#106">[ subject ]</A>
<A HREF="author.html#106">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Mon, Apr 09, 2001 at 05:07:08PM -0400, Adam Polkosnik wrote:
<BR>
<EM>&gt; After looking at hp4200 backend and lm9830 data sheet I find it rather
</EM><BR>
<EM>&gt; cumbersome
</EM><BR>
<EM>&gt; support for the whole family(there is some differences in register mapping
</EM><BR>
<EM>&gt; between lm9830 and the rest of the bunch). lm9831-lm9833 is a piece of cake
</EM><BR>
<EM>&gt; since there are almost no differences aside from 48bit capabilities of
</EM><BR>
<EM>&gt; lm9833. Though we'll need a smart way of detecting lm9833 since the standard
</EM><BR>
<EM>&gt; way (register 0x69 (Version Number) has defined the same values for lm9832
</EM><BR>
<EM>&gt; and lm9833). The differences between 31,32, and 33 are minimal and porting
</EM><BR>
<EM>&gt; hp4200 backend (dropping the parallel interface, and ironing out the
</EM><BR>
<EM>&gt; differences in register mapping would be the simplest way to get a working
</EM><BR>
<EM>&gt; backend in shortest time)
</EM><BR>
<P>Ok, so we don't support lm9830. Another reason is that we don't need
<BR>
to look for the parport problems (run as root etc.) this way.
<BR>
<P><EM>&gt; In the next few days I'll focus on:
</EM><BR>
<EM>&gt; - getting as much info on the scanners using those chips ( all sorts of data
</EM><BR>
<EM>&gt; eg. optical resolution, .ini files ,snoopy logs, CIS/CCD, etc.)
</EM><BR>
<P>Some data:
<BR>
Mustek BearPaw 1200: lm9831, 600x1200 dpi, ISO A4, 5 Buttons, 1 LED,
<BR>
&nbsp;&nbsp;512 kb Mem (at least that's what the manual says) one
<BR>
&nbsp;&nbsp;sensor at the beginning of the scan area, no sensor at the end,
<BR>
&nbsp;&nbsp;there is no ini file (at least in the source code package), but
<BR>
&nbsp;&nbsp;I can send the c++ file containig the initialisation of the registers
<BR>
&nbsp;&nbsp;
<BR>
Mustek BearPaw 2400: lm9832, 1200x1200 dpi, ISO A4, 5 Buttons, 1 LED,
<BR>
&nbsp;&nbsp;2048 kb mem (according to the manual this is the &quot;maximum value&quot;,
<BR>
&nbsp;&nbsp;whatever this means), one sensor at the beginning, no sensor at the
<BR>
&nbsp;&nbsp;end of the scan area. No source code but I can try to find some sort
<BR>
&nbsp;&nbsp;of ini file if I start Windows sometime. However I think there won't
<BR>
&nbsp;&nbsp;be one, see above.
<BR>
<P>Both sensors seem to be CCD.
<BR>
<P><EM>&gt; - adapting hp4200 backend to work for lm983[1-3]
</EM><BR>
<EM>&gt; - detecting lm983x (I got a routine for that, except lm9833 needs to be
</EM><BR>
<EM>&gt; added(though I got an idea on how to tell the difference between 32 and 33))
</EM><BR>
<P>We probably need a mechanism to tell the backend which scanner is
<BR>
connected by keywords in lm983x.conf (or whatever) anyway, e.g.
<BR>
<P>type bearpaw-1200
<BR>
/dev/usbscanner1
<BR>
<P>so it's not strictly necessary to distinguish the subtype of the
<BR>
chipset because that can be hardcode for each scanner type.
<BR>
<P><EM>&gt; - detecting the size of DRAM
</EM><BR>
<EM>&gt; - coarse calibration
</EM><BR>
<EM>&gt; - fine calibration
</EM><BR>
<P>I looked at this in the Mustek Windows source code months ago but I
<BR>
didn't understand much. By the way: If you want to get this source
<BR>
code you can have it (and everyone who wants to help with this
<BR>
backend) but it's not allowed to publish it by putting it on e.g. a
<BR>
web server.
<BR>
<P><EM>&gt; &gt; I think after we find out about the existing code we should start writing
</EM><BR>
<EM>&gt; some
</EM><BR>
<EM>&gt; &gt; kind of mechanism to set the basic values of the chip depending on the
</EM><BR>
<EM>&gt; &gt; scanner type.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; May I propose an easy approach?
</EM><BR>
<EM>&gt; How does taking those basic values from .ini settings from windoze drivers
</EM><BR>
<EM>&gt; sound?
</EM><BR>
&nbsp;
<BR>
Yes, that's ok. I just thought about moving the ini files (if they
<BR>
exist) into the code (e.g. as constants in a header file). I don't
<BR>
want to have ini files hanging around e.g. in /etc/sane.d/.
<BR>
<P><EM>&gt; should I start a project on sourceforge?
</EM><BR>
<P>Yes, this would be fine.
<BR>
<P>There is at least one existing CVS repository (from Claus-Justus
<BR>
Heine), there is a sane-backend. I don't know how far he came,
<BR>
however.
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<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?Subject=Re:%20[dev]%20Status%20of%20NS%20LM983x%20USB%20support%20(e.g.%20Bearpaw,%20Canon%20650U,%20Plustek%20OpticPro%20U12)&In-Reply-To=&lt;20010410195558.D3762@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0107.html">Henning Meier-Geinitz: "Re: No SANE Devices Found"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0105.html">Henning Meier-Geinitz: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0094.html">Adam Polkosnik: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0109.html">Jaeger, Gerhard: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0100.html">Slawomir Kolasinski: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0109.html">Jaeger, Gerhard: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#106">[ date ]</A>
<A HREF="index.html#106">[ thread ]</A>
<A HREF="subject.html#106">[ subject ]</A>
<A HREF="author.html#106">[ 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>Tue Apr 10 2001 - 10:37:47 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>