- From: Johannes <fransenpeter_at_gawab.com>
- Date: Fri, 27 Apr 2007 12:18:27 GMT
Hi Everyone, First off all, I am very new to driver writing. I want to write a driver for a Humusoft MF 614 Card for comedi. I already wrote a simple kernel module which got the card talking using outb() commands with the baseaddress. I have the full documention with all registers & addresses. I read the whole Comedi Documentation a couple of times, but still it confuses me. Especially Chapter 5 (Writing a Comedi Driver). I modified the skel.c driver a bit and wanted test it. I have two big problems: 1. I fail at Chapter 5.6 "Integrating the driver in the Comedi library". There is no file "comedi/Config.in" where I have to add the "dep_tristate" line. I downloaded several different versions and also from CVS, but I simply do not find that file. Where is it? 2. To make DAQ Card talking, I have to add the base addresses and registers to the skel.c driver. The sourcecode of skel.c uses arguments like "dev->iobase" + "SKEL_DIO_CONFIG", but where do I set that arguments? Your help is very appreciated, thank you very much in advance. Peter --------------------------------------------- Free POP3 Email from www.Gawab.com Sign up NOW and get your account _at_gawab.com!!
Received on 2007-04-27Z11:18:27