Skip to main content

DA-720

Datasheet

DA-720 Series Website
moxa-da-720-series-datasheet-v1.1.pdf

Expansion Modules

Peripherals on board

Prerequisite for on board peripherals on DA-720 host

UART

  • UART interface list
UART indexDevice node
P1 Series/dev/ttyS0
P2 Series/dev/ttyS0
  • Control UART interface mode
# get mode from P1 Series
setinterface /dev/ttyS0

# set mode for P1 Series as RS232
setinterface /dev/ttyS0 0
# set mode for P1 Series as RS485-2WIRES
setinterface /dev/ttyS0 1
# set mode for P1 Series as RS422
setinterface /dev/ttyS0 2

Relay

  • UART interface list
Relay indexsysfs node
Relay Port/sys/class/gpio/relay1/value
  • Control Relay NC/NO mode

Default mode is NO (Normal Open)

Example:

# set mode for relay port as NO (Normal Open)
echo 0 > /sys/class/gpio/relay1/value

# set mode for relay port as NC (Normal Close)
echo 1 > /sys/class/gpio/relay1/value

Programmable LED

  • Programmable LED interface list
PLED indexsysfs node
PLED 1/sys/class/gpio/pled1/value
PLED 2/sys/class/gpio/pled1/value
PLED 3/sys/class/gpio/pled1/value
PLED 4/sys/class/gpio/pled1/value
  • Control PLED status

Default PLED mode is lights off (low)

Example:

# lights on PLED1
echo 1 > /sys/class/gpio/pled1/value

# lights off PLED1
echo 0 > /sys/class/gpio/pled1/value

Power input monitor

  • Power input monitor list
Power input indexsysfs node
Power input 1/sys/class/gpio/pwrin1/value
Power input 2/sys/class/gpio/pwrin2/value
  • Get Power input monitor status

Value: 0 = Power disconnected, 1 = Power connected

Example:

# get power input 1 status
cat /sys/class/gpio/pwrin1/value

# get power input 2 status
cat /sys/class/gpio/pwrin2/value

Watchdog

  • Force using Super IO watchdog instead of ACPI Hardware Watchdog (WDAT)

    1. Edit /lib/modprobe.d/wdat_wdt_blacklist.conf
      blacklist wdat_wdt
    2. Build moxa-it87-wdt-drivers (5.2/master) on host.
    3. Edit /lib/modprobe.d/watchdog.conf
      # timeout:Watchdog timeout in seconds, default=60 (int)
      # nowayout:Watchdog cannot be stopped once started, default=0 (bool)
      options it87_wdt nowayout=1 timeout=60
  • Watchdog daemon package (Debian/Ubuntu)

    1. Install package
      sudo apt-get update
      sudo apt-get install watchdog
    2. Config file /etc/default/watchdog
      # Start watchdog at boot time? 0 or 1
      run_watchdog=1
      # Start wd_keepalive after stopping watchdog? 0 or 1
      run_wd_keepalive=0
      # Load module before starting watchdog
      watchdog_module="it87_wdt"
      # Specify additional watchdog options here (see manpage).
    3. To uncomment this to use the watchdog device driver access "file", /etc/watchdog.conf
      watchdog-device                = /dev/watchdog

LAN interface

On Debian 11/Ubuntu 20.04:

LAN indexRenamed NICDriverPTP Support
LAN1enp3s0igbV
LAN2enp4s0igbV
LAN3enp5s0igbV
LAN4enp6s0igbV
LAN5enp7s0igbV
LAN6enp8s0igbV
LAN7enp9s0r8169X
LAN8enp10s0r8169X
LAN9enp11s0r8169X
LAN10enp12s0r8169X
LAN11enp13s0r8169X
LAN12enp14s0r8169X
LAN13enp15s0r8169X
LAN14enp16s0r8169X

Troubleshooting

  1. failed to load firmware
[    7.529638] i915 0000:00:02.0: firmware: failed to load i915/skl_dmc_ver1_27.bin (-2)
[ 7.529644] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 7.889522] r8169 0000:10:00.0: firmware: failed to load rtl_nic/rtl8168h-2.fw (-2)
[ 7.889532] r8169 0000:10:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)

On Debian 11/Ubuntu 20.04:

# edit /etc/apt/source.list, and append 'non-free' to list,
# your source.list should look like this:
deb http://deb.debian.org/debian/ bullseye main non-free

# and run
sudo apt-get update
sudo apt-get install firmware-realtek firmware-misc-nonfree

Last updated on 2022-06-13 by Elvis Yao