# IoT Gateway - ECX700-AL

[toc]
## todo
* ...
* ...
* ...
* ...
## ECX700-AL (600G)
### Buttom I/O
* Power status LED
* Power DC-IN M12 D code (4pin), **PWR 9-36V** (目前使用萬用變壓器,設定為 DC 12V。)
* USB 3.0
* USB 2.0
* Circular 23pin 2 COM & 2 Can bus
### Right I/O
* N type conn. for WiFi Antenna
* HDMI
* SIM slot
* N type conn. for WiFi Antenna
### Sky I/O
* Vent 防水透氣閥
### BIOS
* Version: B211.22A
* Intel (R) Atom(TM) Processor E3950 @ 1.60GHz
* Total Memory 4096 MB
* SODIMM 0 Not Present
* SODIMM 1 4096 MB (DDR3L)
* MMC/SD card #2 (mmcblk1) - 63.6 GB MMC DG4064
### Debian 12
> NICs (主板有 Intel NIC 晶片,Part number 600G 機構未設計 Ethernet 接口。)
```
enp1s0: Intel Corporation I210 Gigabit Network Connection
enp2s0: Intel Corporation I210 Gigabit Network Connection
wlp3s0: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (wireless)
```

> Check version
```
# uname -a
Linux ECX700-AL 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
```
> Initialization
```
# apt install vim sudo net-tools curl git
# usermod -aG sudo swae
# logout
```
> Find Out Graphics Card Info
```
sudo apt update
sudo update-pciids
```
* lspci -v
:::spoiler Intel Corporation
```
swae@ECX700-AL:~/Downloads/Geekbench-6.2.2-Linux$ lspci -v
00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0d)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge
Flags: bus master, fast devsel, latency 0
00:02.0 VGA compatible controller: Intel Corporation Apollo Lake [HD Graphics 505] (rev 0d) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Intel Corporation Apollo Lake [HD Graphics 505]
Flags: bus master, fast devsel, latency 0, IRQ 138
Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:0e.0 Audio device: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0d)
DeviceName: Onboard - Sound
Subsystem: DFI Inc Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
Flags: bus master, fast devsel, latency 0, IRQ 140
Memory at 91510000 (64-bit, non-prefetchable) [size=16K]
Memory at 91200000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_apl
00:0f.0 Communication controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine (rev 0d)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine
Flags: bus master, fast devsel, latency 0, IRQ 137
Memory at 9151f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:12.0 SATA controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller (rev 0d) (prog-if 01 [AHCI 1.0])
DeviceName: Onboard - SATA
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 131
Memory at 91514000 (32-bit, non-prefetchable) [size=8K]
Memory at 9151c000 (32-bit, non-prefetchable) [size=256]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at 9151b000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:13.0 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 (rev fd) (prog-if 00 [Normal decode])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A
Flags: bus master, fast devsel, latency 0, IRQ 120
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: e000-efff [size=4K] [16-bit]
Memory behind bridge: 91400000-914fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:13.1 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #2 (rev fd) (prog-if 00 [Normal decode])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A
Flags: bus master, fast devsel, latency 0, IRQ 121
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: d000-dfff [size=4K] [16-bit]
Memory behind bridge: 91300000-913fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:13.3 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #4 (rev fd) (prog-if 00 [Normal decode])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: 91000000-911fffff [size=2M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:14.0 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B #2 (rev fd) (prog-if 00 [Normal decode])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: [disabled] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:15.0 USB controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI (rev 0d) (prog-if 30 [XHCI])
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI
Flags: bus master, medium devsel, latency 0, IRQ 130
Memory at 91500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:1b.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller (rev 0d) (prog-if 01)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at 9151a000 (64-bit, non-prefetchable) [size=4K]
Memory at 91519000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
00:1c.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller (rev 0d) (prog-if 01)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller
Flags: bus master, fast devsel, latency 0, IRQ 39
Memory at 91518000 (64-bit, non-prefetchable) [size=4K]
Memory at 91517000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
00:1f.0 ISA bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface (rev 0d)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface
Flags: bus master, medium devsel, latency 0
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.1 SMBus: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller (rev 0d)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller
Flags: medium devsel, IRQ 20
Memory at 91516000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
Subsystem: DFI Inc I210 Gigabit Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at 91400000 (32-bit, non-prefetchable) [size=512K]
I/O ports at e000 [size=32]
Memory at 91480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: igb
Kernel modules: igb
02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
Subsystem: DFI Inc I210 Gigabit Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at 91300000 (32-bit, non-prefetchable) [size=512K]
I/O ports at d000 [size=32]
Memory at 91380000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: igb
Kernel modules: igb
03:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
Subsystem: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 139
Memory at 91000000 (64-bit, non-prefetchable) [size=2M]
Capabilities: <access denied>
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
```
:::
## References
* [ECX700-AL Installation Guide](https://www.dfi.com/Uploads/DownloadCenter/00a4d90b-4d33-485d-8a66-889482febd2d/DFI_ECX700-AL_InstallationGuide_Preliminary.pdf)