- From: George Pava <pava_at_cs.ubc.ca>
- Date: Wed, 09 Jul 2003 18:37:47 -0700
Hi all,
I am trying to install comedi drivers for a Measurement Computing
PCI-DAS1602/16 board on my PC running RedHat Linux 7 (kernel
2.14.18-27.7.x).
I followed the instructions from
comedi-0.7.66/Documentation/comedi/redhat-notes, and everything seams to be
fine up to the point where I had to install the driver into the kernel
(/sbin/modprobe cb_pcidas). Here I got the message that it can not find the
module. Here are the steps I followed:
1) Create the .config file in /usr/src/linux-2.4 (by running make menuconfig
and accepting the default settings).
Is this file used later by the comedi make ?
2) usr/src/linux-2.4/make dep
3) unzip comedi-0.7.66 into /usr/local/comedi-0.7.66
4) in the following file: /usr/local/comedi-0.7.66/include/linux/fs.h keep
only one option for KILL_FASYNC: #define KILL_FASYNC (a,b,c) kill_fasync
(&(a), (b), (c) )
5) in the following file: /usr/src/linux/include/linux/version.h keep only
one option for UTS_RELEASE: #define UTS_RELEASE "2.4.18-27.7.x"
6) /usr/local/comedi-0.7.66/make config - Here I selected Y or M for
Verbose debugging, Kernel Comedilib, National Intruments Boards, PCI_MIO E
series, Computer Boards PCI_DAS series, Generic 8255, Comedi support driver,
Skeleton driver.
7) the "redhat-notes" indicates at this point to edit the file .uts_version
to indicate the correct kernel version. I don't have this file... what is
it?
8) /usr/local/comedi-0.7.66/make clean
/usr/local/comedi-0.7.66/make dep
/usr/local/comedi-0.7.66/make
9) /usr/local/comedi-0.7.66/make install - this one creates a new
directory tree /lib/modules/2.4.18-27.7.xcustom (the original one is
/lib/modules/2.4.18-27.7.x) that has the expected files: comedi.o,
cb_pcidas.o, etc...
10) /usr/local/comedi-0.7.66/make dev - this installs /dev/comedi0, ...
/dev/comedi3
11) unzip the comedilib in /usr/local/comedilib-0.7.20 directory
12 ) /usr/local/comedilib-0.7.20/.config
13) /usr/local/comedilib-0.7.20/make
14) /usr/local/comedilib-0.7.20/make install - this one installs
/usr/local/lib/libcomedi.so, libcomedi.a
_________________________________
15) /sbin/modprobe cb_pcidas is suppose to install the module into the
kernel, but does not find the module...I created a symbolic link "comedi" in
/lib/modules/2.4.18-27.7.x pointing to /lib/modules/2.4.18-27.7.xcustom but
still can not find it. I am missing something here with the modules
location, version...?
I would appreciate any comments on this,
Thanks,
George
Received on 2003-07-10Z00:37:47