St?phane VOLTZ schrieb: > Le Mercredi 3 Ao?t 2005 16:35, Pierre Willenbrock a ?crit : >>So i conclude that the gl646 expects the shortest pixeltime first, while >>the gl841 wants the longest pixeltime first. >>Is this correct or am i doing something wrong? > > GL646 behaves like GL841 in this case, higher values first. >
Thanks for the answer. I will have a closer look at sanei_genesys_create_slope_tables to find out how to use it correctly. I did some more work for my Canon LiDE 35. Bulk access differs in all cases between gl646 and gl841. genesys_com.diff.gz moves the bulk functions into the chip specific source files. I also moved the last two occurences of send_slope_table in genesys.c to genesys_gl646.c and genesys_gl841.c, since the gl841 uses 5 tables instead of 2(and therefore should initialize them). I was able to get the scanner past most stages in scanning a page with scanimage, though i doubt it scans anything correctly. Sane now hangs while trying to read data from the scanner. It gets a block of data, but never request another one. I will investigate this one further. If anyone is interested, the changes are in genesys_gl841.diff.gz. genesys_gl841.diff.gz must be applied after genesys_com.diff.gz. Regards, Pierre -------------- next part -------------- A non-text attachment was scrubbed... Name: genesys_com.diff.gz Type: application/x-gzip Size: 6249 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050805/6a238bc3/genesys_com.diff-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: genesys_gl841.diff.gz Type: application/x-gzip Size: 16826 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050805/6a238bc3/genesys_gl841.diff-0001.bin From henr...@yahoo.fr Fri Aug 5 15:17:55 2005 From: henr...@yahoo.fr (Julien HENRY) Date: Fri Aug 5 15:25:02 2005 Subject: [sane-devel] Is reverse engineering legal ? Message-ID: <20050805151755.6199.qm...@web26604.mail.ukl.yahoo.com> Hi, In order to write a backend, I sniff USB logs, and I use disassembler to inspect Windows driver. I have to admit that many functions will be translation Windows ASM->SANE C. Is this legal, and can I say my code is under GPL ? ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com