Install the Amplicon Liveline PCI-230 data acquisition card
From SubfireWiki
Installing the driver and support software
- Download the CoMeDI drivers and interface library from http://www.comedi.org/download/comedi-0.7.70.tar.gz and http://www.comedi.org/download/comedilib-0.7.22.tar.gz respectively.
- Newer drivers may be available, so browse http://www.comedi.org/download/ to see
- Open the archives with the archive manager and extract them both to the drivers directory
- Move the two .tar.gz files to downloaded_drivers.
- Open a terminal and execute these instructions. Skip the wget and patch lines if using a version newer than 0.7.70.
- cd drivers/comedi-0.7.70/
- wget --no-check-certificate https://bugzilla.comedi.org/cgi-bin/bugzilla/showattachment.cgi?attach_id=141 -O patch1.patch
- wget --no-check-certificate https://bugzilla.comedi.org/cgi-bin/bugzilla/showattachment.cgi?attach_id=142 -O patch2.patch
- cat patch1.patch | patch
- When prompted for a file to patch: comedi/drivers/amplc_pci230.c
- cat patch2.patch | patch
- When prompted for a file to patch: comedi/drivers/amplc_pci230.c
- ./configure --with-linuxdir=/usr/src/linux-2.4
- make
- su -c 'make install'
- su -c 'depmod -a'
- su -c 'make dev'
- cd ../comedilib-0.7.22/
- ./configure --disable-python-binding --disable-ruby-binding --disable-docbook-binding
- make
- su -c 'make install'
Loading the driver
- Once installed, the driver can be loaded manually or automatically
- To manually load the driver, simply open a terminal and do this:
- su -c 'modprobe amplc_pci230'
- su -c 'comedi_config /dev/comedi0 amplc_pci230'
- To do it automatically, simply do su -c 'nano -w /etc/rc.local'
- Add the following two lines (in order) somewhere before the last line:
- modprobe amplc_pci230
- /usr/local/sbin/comedi_config /dev/comedi0 amplc_pci230
- Add the following two lines (in order) somewhere before the last line:
- To manually load the driver, simply open a terminal and do this:
Testing the card
Forthcoming...
