Hello, sorry to have taken so long to answer, but I have little time and many things to do ... However, I believe it isn't helpful to modify the warmup that way. You have to set up the right register values instead. Also, you have to make sure that the scanner is using an area suitable for it, if the head is on a black area, no warmup will succeed.
If I had enough time, here's how I'd do: - get a windows usb log of a colour preview, just after powering-up scanner - extract from it the values to put in genesys_devices regarding constants in Genesys_Frontend, Genesys_Sensor, Genesys_Gpo, Genesys_Motor. Current values aren't considered exact, testing is needed. - by running scanimage with full debug and comparing it's output with decode usb log, modify the genesys_gl646.c file to take 2400 specifics into account. Every places where is a xxx_HP2300 constant is a candidate. The HP2300 and MD5345 use a method to build slope tables which is superseded by the method used for GL841 parts. This newer method should be preferred. That involves using the newer exposure time comptuing function. I again attach the scripts I use to turn an usb log into something more suitable for developpement. I tested it on HP2400 logs I have. I think have all the elements to finish support for 2400 but I'm missing an essential thing: the scanner itself. Regards, Stef -------------- next part -------------- A non-text attachment was scrubbed... Name: kit.tar.gz Type: application/x-tgz Size: 7003 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051206/3fd8d673/kit.tar.bin From gerh...@gjaeger.de Wed Dec 7 07:37:11 2005 From: gerh...@gjaeger.de (Gerhard Jaeger) Date: Wed Dec 7 07:38:35 2005 Subject: [sane-devel] GL646 part and 1.0.17 upcoming release In-Reply-To: <200512062114.jb6le8hl010...@mailin.webmailer.de> References: <200512062114.jb6le8hl010...@mailin.webmailer.de> Message-ID: <200512070837.11559.gerh...@gjaeger.de> Hi Franz, On Tuesday 06 December 2005 22:10, Franz Bakan wrote: > On Tue, 6 Dec 2005 21:56:10 +0100, St?phane VOLTZ wrote: > > > it's in CVS by now. > > when I try to compile CVS now on OS/2 I get: > > genesys_gl646.o: Undefined symbol _sanei_usb_get_timeout referenced from text > segment > make[1]: *** [libsane-genesys.la] Fehler 1 > make: *** [all-recursive] Fehler 1 > > Bye > Franz > got the same problem here, but go ahead, and find the occurance in genesys_gl646.c - remove this line and everything is fine... HTH Gerhard