RE: what to put in my startup scripts

Stephen,

Sorry, but I'm a relative newbie to Linux.

1) By "developers", are you referring to the different login names?  All (two) 
of us need to have access to it.

2) What is in the stop part?

3) What files do these (stop & start) belong in?

Do these six lines really have the same effect as my "modprobe", "configure", 
"make", "make install" and "comedi_config"?  If so, that would be really nice.

Thanks,

Heather

>===== Original Message From Stephen Roderick <roderick_at_ssl.umd.edu> =====
>After building and installing the kernel module, we do nothing more
>than the following in a startup script (this is the start part, there
>is a similar stop part)
>
>COMEDI_CONFIG=/path/to/bin/comedi_config
>DEVICE=ni_pcimio
>
>         /sbin/modprobe ${DEVICE}
>         ${COMEDI_CONFIG} /dev/comedi0 ${DEVICE}
>         chmod g+rw /dev/comedi*
>         chgrp ourgroup /dev/comedi*
>
>Where "ourgroup" is the group of developers needing access to the
>device. The node /dev/comedi is already created, but you might have to
>add a 'mknod /dev/comedi' (or similar) line also.
>
>HTH
>S
>
>On Jul 1, 2006, at 10:25, hhumphre wrote:
>
>> Hi,
>>
>> I've seen several different instructions about what to put in the
>> startup
>> scripts to configure Comedi.  But I'm not sure I understood any of
>> them well
>> enough to try them out.  So for the last few weeks I've been doing that
>> manually in the terminal.  I'm using RH Linux without RTAI/RTLinux.  I
>> have an
>> NI-6036E board.
>>
>> Here's what I type in my terminal upon startup whenever I'm using
>> Comedi.
>>
>> # ./sbin/modprobe ni_pcimio
>> # ./sbin/ldconfig
>> # cd /usr/local/comedilib-0.7.22
>> # ./configure --disable-ruby-binding --disable-python-binding
>> # make
>> # make install
>> # cd comedi_config
>> # ./comedi_config /dev/comedi0 ni_pcimio
>> # cd ../comedi_calibrate
>> # ./comedi_calibrate
>>
>> 1) If you can, please tell me exactly, or almost exactly, what I need
>> to put
>> in my startup scripts, and where.
>>
>> 2) This is just a general C programming question, but I haven't gotten
>> it to
>> work based on the information I have.  How do I run comedi_calibrate
>> from
>> within my acquisition code?
>>
>> Thanks very much.
>>
>> Heather

Received on 2006-07-01Z14:36:40