I use sanei functions sanei_constrain_value(). In Windows ,I search the key word sanei in my driver source code of Linux , and result is below:
Searching for 'sanei'... D:\DI4020s_Linux\DI4020s.c(18):#include "sanei.h" D:\DI4020s_Linux\DI4020s.c(19):#include "sanei_config.h" D:\DI4020s_Linux\DI4020s.c(21):#include "sanei_backend.h" D:\DI4020s_Linux\DI4020s.c(40):#include <sane/sanei_debug.h> D:\DI4020s_Linux\MiiSCmd.c(18):#include "sanei.h" D:\DI4020s_Linux\sanefunction.c(1250): status = sanei_constrain_value(ms->sod + option, value, info); D:\DI4020s_Linux\scanner.c(8):#include "sanei.h" D:\DI4020s_Linux\scanner.c(9):#include "sanei_config.h" D:\DI4020s_Linux\scanner.c(11):#include "sanei_backend.h" eagleskycloud 2008/6/19 m. allan noah <kitno455 at gmail.com>: > On 6/18/08, eagleskycloud <eagleskycloud at gmail.com> wrote: > > > > > > > > >1. are you employed by microtek? > > > > Yes,I am. > > >2. do you know if the 2020s also uses the same protocol? > > > > I don't know the protocol that 2020s use. As far as I know, the 2020s > is > > different from 4020s in hardware. If you want to develop the driver of > > 2020s, you could contact with us. > > > > >3. are you planning to release the driver source for inclusion into > SANE? > > > > It is determined by our leader Whether we release the driver source for > > inclusion into SANE. > > did you use any sanei functions (like sanei_usb) in the development of > the driver? if so, your code may be automatically covered by the GPL > if you ever release it. this is a current point of debate on the > mailing list. > > allan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080620/7cc57e0e/attachment-0001.htm