Install the Adlink PCI-7396 DIO card

From SubfireWiki

Jump to: navigation, search

Installing the driver and support software

  1. Download the driver from http://www.adlinktech.com/PD/web/PD_Driver.php?PDNo=25&id=3&sid=112&swKind=DR
    • You'll need to give them your email address.
    • Redhat 9.0 is the closest to RHEL3
    • Firefox will put it in hwtester's home
    • Create a 'downloaded_drivers' folder and a 'drivers' folder in hwtester's home
  2. Extract the drivers to the drivers folder
  3. Move the pci-dask410_Redhat9-0.tgz file to the downloaded_drivers folder
  4. Open a terminal and run these commands:
    1. cd drivers/pci-dask_410/util
    2. ./dask_conf
      • You'll need to select board #17
    3. cd ../include
    4. sed 's/\(TRUE\|FALSE\)/ADLINK_\1/g' dask.h > dask-tweaked.h
      • This last step is necessary because dask.h redefines TRUE and FALSE, which are already defined by GTK.
    5. cd ../drivers

Loading the driver

  • Manually loading the driver
    • Simply run su -c '/home/hwtester/drivers/pci-dask_410/drivers/dask_inst.pl /home/hwtester/drivers/pci-dask_410'
  • To set up automatic loading:
    • Add "/home/hwtester/drivers/pci-dask_410/drivers/dask_inst.pl /home/hwtester/drivers/pci-dask_410" to /etc/rc.local

Testing the card

  1. Open a terminal and run the following commands
    1. cd drivers/pci-dask_410/samples/7396/7396dio/
    2. ./7396test
  2. If all goes well, the red lights should be blinking
Personal tools