- From: Kenneth Jacker <khj_at_be.cs.appstate.edu>
- Date: Tue, 01 Mar 2005 10:23:40 -0500
>> What is the first argument to comedi_open()? An integer? A string?
jg> A string specifying the device path just as the user space version.
jg> You may find it useful to consult the kcomedilib include file
jg> linux/include/comedilib.h in conjunction with the Comedi handbook.
Looking in "../comedi/include/linux/comedilib.h" (I can't find the
file using your path) I see:
/* these functions may not be called at real-time priority */
comedi_t *comedi_open(const char *path);
Are you sure it is OK to call comedi_open() from init_module()?
I have a feeling I'm confusing "real-time priority" and executing in
"kernel space" (which I believe is 'init_module()'s situation).
Thanks for those reading along and helping!
--
Prof Kenneth H Jacker khj_at_cs.appstate.edu
Computer Science Dept www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC 28608 USA
Received on 2005-03-01Z15:23:40