- From: Duane Hill <rdhill_at_xmission.com>
- Date: Tue, 27 Dec 2005 19:24:53 -0700
All, I recently had some difficulty installing Comedi on both my Gentoo machines (laptop and desktop) intended to utilize a Nat'l Instruments PCMCIA 6062E and a DIO-24. Under gentoo, the latest versions in the portage tree were rather old so I chose to download the latest CVS packages. The primary problem with utilizing the CVS packages with Gentoo (and probably other distros with the Gentoo & Debian layout) is the configuration scripts aren't pointed to the right file locations. Another problem is the /etc/pcmcia/config files aren't modified correctly. Installation Script: This is the short script that I utilized for the Gentoo installation. It may not cover the entire setup configuration but I have not found a problem yet. #! /bin/sh # configure comedi for Gentoo installation without using portage ./configure --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --libdir=/lib --oldincludedir=/usr/include --infodir=/usr/info --mandir=/usr/share/man The next hurdle is configuring the PCMCIA configuration files. It has been long enough since I installed the package that I cannot remember if the comedi, comedi.conf and comedi.opts files from the $/comedilib/etc/pcmcia folders are moved to /etc/pcmcia. If not, copy them over. The file /etc/pcmcia/config file needs to be modified to recognize the card installed. To do this, insert your PCMCIA card and look in the system log. You should see a message like cardmgr[460]: unsupported card in socket 1 cardmgr[460]: product info: "National Instruments", "DAQCard-6062E" cardmgr[460]: manfid 0x010b, 0x02c4 I added the following lines to my /etc/pcmcia/config file: device "ni_mio_cs" class "comedi" module "ni_mio_cs" device "ni_daq_dio24" class "comedi" module "ni_daq_dio24" # # Data Acquisition adapter definitions # card "National Instruments DAQCard-6062E" manfid 0x010b, 0x02c4 bind "ni_mio_cs" card "National Instruments DAQCard-DIO-24" manfid 0x010b, 0x475c bind "ni_daq_dio24" A great resource for dealing with unsupported cards is the Linux PCMCIA Howto http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-5.html#ss5.1. Let me know if this helps! Duane
Received on 2005-12-28Z02:24:53