top01.jpg (17169 bytes)
mleft.jpg (4986 bytes) m01a.jpg (6169 bytes)     m02a.jpg (6905 bytes)     m03a.jpg (7743 bytes)    m04a.jpg (7456 bytes)     m05a.jpg (7878 bytes)     m06a.jpg (6862 bytes)     m07a.jpg (6076 bytes) mright01.jpg (5078 bytes)

LINUX SDK  

Easy ADU Usage in Linux 2.6   adulogo.jpg (1752 bytes)


Many Linux distributions now include the adutux driver in their binary image.
This web page focuses on using an ADU device in such a system.

These instructions were tested using the following Linux distributions: Fedora 8 Live CD (i686) OpenSUSE 10.3 Live CD (i686) Ubuntu 7.10 Live CD (i686)


Quick Start


Click the plus12x12.png (239 bytes) plus signs for more details.

  1. Plug in your ADU device.
  2. check the dmesg output for your ADU serial number plus12x12.png (239 bytes)
  3. Copy 10-adu.rules into /etc/udev/rules.d/
  4. edit /etc/udev/rules.d/10-adu.rules to include your serial number plus12x12.png (239 bytes)
  5. reload the udev rules with the command:
        /sbin/udevcontrol reload_rules
    
  6. unplug your ADU device and plug it in again
  7. check that your device was properly recognized with the command
         ls -l /dev/adu*
    

    You should see entries for /dev/adutux0 and /dev/adutux4 plus12x12.png (239 bytes)

  8. copy the adu binary executable onto your computer plus12x12.png (239 bytes)
  9. grant execute permission to the adu command (see man pages for chmod)
  10. try out the adu command
        ./adu -i 4 mk2
        ./adu -r -i rpk
    

    Note: these examples show an ADU200;
    use commands appropriate for your ADU model

Multiple Device Example

The Multiple Device Example page shows 3 ADU devices attached to a Fedora 8 Live CD system.

Sample Scripts

 

A crude network connection monitor that resets my modem if pings to my DNS server fail.

NEWS         PRODUCTS         PROGRAMMING          APPLICATIONS          CUSTOM DESIGN          ORDERING          HOME


TestPoint is a trademark of Capital Equipment Corp.   
LabVIEW is a trademark of National Instruments.
Visual BASIC is a trademark of Microsoft Corporation


Copyright © 2009 ONTRAK CONTROL SYSTEMS 764 Notre Dame Ave, Unit #1 , Sudbury, Ontario, CANADA P3A 2T2  
"Quality serial Data Acquisition Interfaces"           PH. (705) 671-2652 FAX (705) 671-6127