This Advantech DAQ Device Linux Driver Package is developed for Linux kernel version 2.6.x (for PCI, USB and PCM). The driver supports four platforms: Red Hat Enterprise Linux 4, Fedora Core 6, and Debian 4.0.
Read this document carefully, as it explains how to install the device driver, how to develop with this toolkit and what to do if anything goes wrong.
Note: If the driver was installed before, please remove it from the system firstly.
For Red Hat Enterprise Linux 4 and Fedora Core 6, please type the following commands:
#rpm -e advdaq
For Debian 4.0, please type the following commands:
#dpkg -r advdaq
For Red Hat Enterprise 4 and Fedora Core 6:
#rpm -ivh advdaq-<version>.<platform>.i386.rpm
For Debian 4.0:
#dpkg -i advdaq_<version>_i386.deb
#insmod /usr/src/Advantech/DAQ-<version>/modules/advdrv_core.ko
#insmod /usr/src/Advantech/DAQ-<version>/modules/which_device_driver_you_want_to_insmod.ko
To create some device files, please check the /proc/device to get major device number, and then please type
#mknod /dev/advdaq0 c major 0
......
#mknod /dev/advdaq254 c major 254
#advdevice_bind <device_name> <board_id> <device_file>
the following parameters is used for ISA or PCM installation. see online help for more information about useage
--iobase <io base> device's iobase --irq <irq num> device's irq num
An example for ISA Device pcm3718 installation:
#advdevice_bind --iobase 0x300 --irq 9 pcm3718 0 /dev/advdaq1
NOTE: This package also provides a shell
(/usr/src/Advantech/DAQ-<version>/adv_load_template) to
finish those work in one step, The user can modify this shell for own purpose and run it to load driver./pre>SPECIAL DRIVER MODULE SUPPORT TABLE
| KERNEL MODULES | SUPPORT DEVICE |
|---|---|
| For kernel version 2.6.x | |
| advdrv_core.ko | common module |
| usb4711.ko | USB-4711/A |
| usb4716.ko | USB-4716 |
| usb4718.ko | USB-4718 |
| usb4750.ko | USB-4750 |
| usb4751.ko | USB-4751 |
| usb4761.ko | USB-4761 |
| pci1710.ko | PCI-1710/L/HG/HGL/U/UL/UHG, PCI-1711/L/U/UL, PCI-1713/U |
| pci1712.ko | PCI-1712/L |
| pci1714.ko | PCI-1714/UL |
| pci1715.ko | PCI-1715U/MIC3751 |
| pci1716.ko | PCI-1716/L |
| pci1718.ko | PCI-1718HD/GU |
| pci1720.ko | PCI-1720U, PCI-1723, PCI-1724U, PCI-1727U |
| pci1721.ko | PCI-1721 |
| pci1730.ko | PCI-1730, PCI-1733, PCI-1734, PCI-1736UP |
| pci1735.ko | PCI-1735U |
| pci1737.ko | PCI-1737U, PCI-1739U |
| pci1741U.ko | PCI-1741U |
| pci1742.ko | PCI-1742U |
| pci1747.ko | PCI-1747U |
| pci1750.ko | PCI-1750 |
| pci1751.ko | PCI-1751 |
| pci1752.ko | PCI-1752, PCI-1754, PCI-1756 |
| pci1753.ko | PCI-1753 |
| pci1757up.ko | PCI-1757UP |
| pci1758U.ko | PCI-1758UDI/UDO/UDIO |
| pci1760.ko | PCI-1760 |
| pci1761.ko | PCI-1761, PCI-1762, PCI-1763UP |
| pci1780.ko | PCI-1780 |
| pci1784.ko | PCI-1784/U |
| pcm3718.ko | PCM-3718H |
| pcm3724.ko | PCM-3724 |
| pcm3725.ko | PCM-3725 |
| pcm3730.ko | PCM-3730 |
| pcm3730i.ko | PCM-3730I |
| pcm3753i.ko | PCM-3753I |
| pcm3761i.ko | PCM-3761I |
If you are new to this driver, it is suggested that you refer to the examples..
Refer to Advantech DAQ Device Linux Driver User Manual, and you will get some information on the use of toolkit.
-Call Advantech Customer Service Hotline and ask for technical support.