CSI Nodes:Breezy LiveCD

From SubfireWiki

Jump to: navigation, search

Ubuntu Live CD

This is a bootable CD from Ubuntu. Download the ISO and burn it to a blank CD. Then you can boot this CD and follow these procedures without messing up your regular OS installation on the main hard drive. Get it here: http://releases.ubuntu.com/5.10/ubuntu-5.10-live-i386.iso

Using this CD to test the Sealevel 8009 card.

  1. Boot CD
  2. Open a terminal
  3. Install some packages
    sudo apt-get -y install build-essential linux-headers-386 gcc-3.4
  4. Get the drivers and use the Archive Manager to extract the seaio folder to the desktop.
    ftp://ftp1.sealevel.com/pub/SOFTWARE/SEAIO/CURRENT/seaio.tar.gz
  5. Go to the driver directory and compile and install the drivers
    cd Desktop/seaio
    make
    sudo make install
    cd driver/kernel-2.6
    make -C /lib/modules/2.6.12-9-386/build SUBDIRS=$PWD PRJ_PWD=$PWD/../.. modules
    sudo cp seaio_driver.ko /lib/modules/`uname -r`/kernel/
    sudo depmod -a
    sudo seaio-load
  6. Try the example code
    cd ../../examples/SeaIOTst
    ./SeaIOTst
    • Adapter state code word 155 sets all ports to read, 128 sets them all to write
      • So, Use the 'E' command to set the port parameters and make sure that port 1 is configured with code word 128.
      • Then tell the tester program to count up to 100000 with a delay of 1ms, using the 'C' command.
Personal tools