Install the Amplicon Liveline PCI-230 data acquisition card

From SubfireWiki

Jump to: navigation, search

Installing the driver and support software

  1. 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.
  2. Open the archives with the archive manager and extract them both to the drivers directory
  3. Move the two .tar.gz files to downloaded_drivers.
  4. Open a terminal and execute these instructions. Skip the wget and patch lines if using a version newer than 0.7.70.
    1. cd drivers/comedi-0.7.70/
    2. wget --no-check-certificate https://bugzilla.comedi.org/cgi-bin/bugzilla/showattachment.cgi?attach_id=141 -O patch1.patch
    3. wget --no-check-certificate https://bugzilla.comedi.org/cgi-bin/bugzilla/showattachment.cgi?attach_id=142 -O patch2.patch
    4. cat patch1.patch | patch
    5. When prompted for a file to patch: comedi/drivers/amplc_pci230.c
    6. cat patch2.patch | patch
    7. When prompted for a file to patch: comedi/drivers/amplc_pci230.c
    8. ./configure --with-linuxdir=/usr/src/linux-2.4
    9. make
    10. su -c 'make install'
    11. su -c 'depmod -a'
    12. su -c 'make dev'
    13. cd ../comedilib-0.7.22/
    14. ./configure --disable-python-binding --disable-ruby-binding --disable-docbook-binding
    15. make
    16. 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:
      1. su -c 'modprobe amplc_pci230'
      2. 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:
        1. modprobe amplc_pci230
        2. /usr/local/sbin/comedi_config /dev/comedi0 amplc_pci230

Testing the card

Forthcoming...

Personal tools