Install the Sealevel 8009 DIO card

From SubfireWiki

Jump to: navigation, search

Installing the driverand and support libraries and programs

  1. Download the driver from ftp://ftp1.sealevel.com/pub/SOFTWARE/SEAIO/CURRENT/seaio.tar.gz
    1. Firefox will put it in hwtester's home
    2. Create a 'downloaded_drivers' folder and a 'drivers' folder in hwtester's home
    3. Open the drivers folder
    4. Double click seaio.tar.gz and drag its contents to the drivers folder
      • It may take a few seconds before you can drop driver folder. Just wait patiently.
    5. Move the seaio.tar.gz to the downloaded_drivers directory
  2. Open a terminal and perform these steps:
    1. cd drivers/seaio
    2. make
    3. cd drivers/kernel-2.4
    4. make -C /usr/src/linux-2.4 SUBDIRS=$PWD PRJ_PWD=$PWD/../.. modules
    5. su -c 'cp seaio_driver.o /lib/modules/`uname -r`/misc'
    6. su -c 'depmod -a'
    7. cd ../..
    8. su -c 'make install'

Loading the driver

  • Once installed, the driver can be loaded manually or automatically
    • To manually load the driver, simply do su -c 'seaio-load'
    • To do it automatically, simply do su -c 'nano -w /etc/rc.local'
      • Add "/usr/local/sbin/seaio-load" somewhere before the last line.
      • The driver will now load during the system startup

Testing the card

  1. Open a terminal and run these commands
    1. cd drivers/seaio/examples/SeaIOTst/
    2. ./SeaIOTst
  2. Type these commands into the program
    1. e 100
    2. 128
    3. 128
    4. 155
    5. 155
    6. c 10000 10
Personal tools