From: Bertrik S. <be...@zo...> - 2002-06-02 21:26:16
|
Hi people, Here's what happened since my last e-mail to this list. Bertrik Sikken wrote: > First, as many of you probably already know, there appear to me more > than just two niash chips (the niash00014 for the hp3300c and the > niash00019 for the hp3400c/4300c). I've had reports of hp3300c > scanners with niash00012 and niash00013 chips. Apparently the > hp5400 is even using a niash00033. > In the past, support for these different chips has been added as > lots of little kludges, mostly on how to initialise the chip > before starting to read the image data. My plan is now to > separate the specifics for each chipset in a separate function > (perhaps even a separate file) for each. This should make it easier > to make changes / add features / fix bugs for a specific chip, > without breaking the code for the other chips. The code is now a little bit more organised now, by separating out the niash00019 specific code. I tried to avoid duplicating code. It's in CVS. If there are no major bugs, I think I'll make another release soon. During the process of reorganising I found out some new stuff about the register that determines how much data is allowed to be stored in the scanner's internal buffer (too little means a lot of backtracking, too much results in sideways shifted images). This new knowledge is now also in the sources in CVS. It affects only HP3300c scanners. For the HP3400/4300 scanners I added some experimental code that should make it possible to also scan at 150 and 600 dpi. It uses a trick with a register that makes the scanner skip every other line, pointed out by Lev Shamardin. I have not been able to test this (I don't have such a scanner). Finally you may have noticed that sane 1.0.8 was just released this week. Fortunately Ricardo Martin's patch-sane.sh script still does its magic. All the best, Bertrik |