Re: Adding a new driver

I had a hard time with this as well, if I recall correctly the 
documentation was not quite right.  Let's assume you would like to add a 
driver named "my_driver.c":

1. edit comedi-0.7.68/comedi/drivers/Makefile.am and add my_driver.ko to 
the module_PROGRAMS target
2. add the line:
my_driver_ko_SOURCES = my_driver.c

to the same file, but in the section below the section mentioned in step 1.

3. Now change directory to comedi-0.7.68
4. Re-run automake (it has to be at least version 1.7.9 or it won't work).

5. Run ./configure and you should be able to compile your new driver.

Bob

Anne Smorthit wrote:
> I've just downloaded comedi-0.7.68.
> 
> I know this is a stupid question, but...
> 
> How do I add a new driver?
> 
> I've read the documentation, which says add it to the /comedi/config.in 
> file, but this does not exist any more.
> 
> Thanks,
> Anne
> 
> _________________________________________________________________
> MSN 9 Dial-up Internet Access fights spam and pop-ups – now 3 months 
> FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2004-06-15Z13:01:43