VIA Technologies ARTiGO A820 User manual

1.00-10262016-160700
QUICK START GUIDE
ARTiGO A820
Linux BSP v3.2.1

C pyright
C pyright © 2016 VIA Techn l gies Inc rp rated. All rights reserved.
N part f this d cument may be repr duced, transmitted, transcribed, st red in a retrieval system, r translated int any language,
in any f rm r by any means, electr nic, mechanical, magnetic, ptical, chemical, manual r therwise with ut the pri r written
permissi n f VIA Techn l gies, Inc rp rated.
Trademarks
All brands, pr duct names, c mpany names, trademarks and service marks are the pr perty f their respective h lders.
Disclaimer
VIA Techn l gies makes n warranties, implied r therwise, in regard t this d cument and t the pr ducts described in this
d cument. The inf rmati n pr vided in this d cument is believed t be accurate and reliable as f the publicati n date f this
d cument. H wever, VIA Techn l gies assumes n resp nsibility f r the use r misuse f the inf rmati n (including use r
c nnecti n f extra device/equipment/add- n card) in this d cument and f r any patent infringements that may arise fr m the use f
this d cument. The inf rmati n and pr duct specificati ns within this d cument are subject t change at any time, with ut n tice
and with ut bligati n t n tify any pers n f such change.
VIA Techn l gies, Inc. reserves the right the make changes t the pr ducts described in this manual at any time with ut pri r n tice.

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
iii
Revisi n Hist ry
Versi n Date Remarks
1.00 10/26/2016 Initial release

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
iv
Table f C ntents
1.
Intr ducti n ................................................................................................................................... 1
1.1.
Package C ntents............................................................................................................................................... 1
1.1.1.
BSP F lder C ntents .................................................................................................................................. 1
1.1.2.
D cument F lder C ntents ..................................................................................................................... 1
1.1.3.
EVK F lder C ntents ................................................................................................................................. 1
1.2.
Versi n Inf rmati n and Supp rted Features ............................................................................................. 2
2.
Image Devel pment .................................................................................................................... 3
2.1.
B ting fr m a Micr SD Card ....................................................................................................................... 3
2.2.
B ting fr m the SPI ROM and eMMC ......................................................................................................... 4
2.3.
Setting Up U-B t Parameters ........................................................................................................................ 5
2.4.
Rest ring Default U-B t Parameters ........................................................................................................... 6
2.5.
Using the OpenEmbedded C ns le............................................................................................................. 7
3.
Build Envir nment Setup ............................................................................................................ 8
3.1.
C nfiguring Ubuntu ........................................................................................................................................... 8
4.
Image Build .................................................................................................................................... 9
4.1.
Extracting the ARTiGO A820 BSP .................................................................................................................. 9
4.2.
Machine C nfigurati n ..................................................................................................................................... 9
4.3.
Building an SD Card Image ............................................................................................................................. 9
5.
Hardware Functi ns ................................................................................................................... 10
5.1.
Setting Up COM 1 ...........................................................................................................................................10
5.1.1.
Setting Up RS-232 M de ........................................................................................................................10
5.1.2.
Setting Up RS-485 M de ........................................................................................................................11
5.2.
C nfiguring Netw rk Settings .......................................................................................................................12
5.3.
C nfiguring the VNT9271 USB Wi-Fi D ngle ...........................................................................................13
5.3.1.
C nnecting t the Internet .....................................................................................................................13
5.4.
C nfiguring the EMIO-1541 miniPCIe Wi-Fi M dule ..............................................................................14
5.4.1.
C nnecting t the Internet .....................................................................................................................14
5.5.
C nfiguring the EMIO-2531 miniPCIe Wi-Fi & BT M dule ....................................................................15
5.5.1.
C nnecting t the Internet .....................................................................................................................15
5.5.2.
Enabling Bluet th ..................................................................................................................................16
5.6.
C nfiguring the EMIO-2550 miniPCIe M bile Br adband M dule ........................................................19
5.6.1.
C nnecting t the Internet .....................................................................................................................19
5.6.2.
Enabling GPS .............................................................................................................................................20
5.7.
C nfiguring Watchd g Timer .......................................................................................................................21
5.8.
Setting Up GPIO ..............................................................................................................................................22
5.8.1.
Setting Up DIO P rt f r GPIO Functi nality ......................................................................................22
5.8.2.
Setting Up GPI M de...............................................................................................................................22
5.8.3.
Setting Up GPO M de ............................................................................................................................22
5.9.
C nfiguring RTC ...............................................................................................................................................23

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
1
1. Intr ducti n
The purp se f this d cument is t pr vide an verview f getting started with the
ARTiGO A820 system using Y ct with an OpenEmbedded filesystem.
The ARTiGO A820 Linux BSP v3.2.1 is devel ped based n the NXP fsl-y ct -
3.14.28_1.0.0 (Y ct 1.7 Dizzy) and enables hardware features that are defined n the
ARTiGO A820 system.
1.1. Package C ntents
There are three f lders in the package as listed bel w.
BSP f lder Descripti n
A820-y ct -bsp-v3.2.1.tar.bz2 S urce c de
D cument f lder Descripti n
ARTiGO_A820_Linux_BSP_v3.2.1_Quick_Start_Guide
_v1.00_20161026.pdf
Quick Start Guide
ARTiGO_A820_Linux_EVK_v3.2.1_Image_Installati n
_Guide_v1.00_20161026.pdf
Image Installati n Guide
EVK f lder Descripti n
via-image-gui-imx6qvab820.sdcard SD card image
u-b t.imx U-B t b t l ader
zImage Kernel
zImage-imx6dl-vab820.dtb Device tree
m dules-imx6qvab820.tgz All m dule drivers
BT_C nfig f lder Bluet th c nfiguring files
ARTiGO A820 Linux BSP c ntents
1.1.1. BSP F lder C ntents
A820-y ct -bsp-v3.2.1.tar.bz2: A c mplete and static Y ct BSP including the ARTiGO
A820 meta-files, and all the pre-d wnl aded required s ftware packages t enable a
c mplete ffline build.
1.1.2. D cument F lder C ntents
ARTiGO_A820_Linux_BSP_v3.2.1_Quick_Start_Guide _v1.00_20161026.pdf: The Quick
Start Guide pr vides an verview f getting started with the ARTiGO A820 system using
Y ct with an OpenEmbedded filesystem.
ARTiGO_A820_Linux_EVK_v3.2.1_Image_Installati n_Guide_v1.00_20161026.pdf: The
Image Installati n Guide explains h w t b t the Linux EVK system image n the
ARTiGO A820 system in rder t begin evaluating the platf rm.
1.1.3. EVK F lder C ntents
via-image-gui-imx6qvab820.sdcard: is the prec mpiled image f r evaluating the ARTiGO
A820 system with an OpenEmbedded filesystem.
u-b t.imx: is the U-B t b t l ader file which can be flashed t either the nb ard
SPI ROM r a Micr SD Card.
zImage: is a self-extracting c mpressed Linux kernel image.
zImage-imx6dl-vab820.dtb: is the device tree binary. It is a database that represents the
hardware c mp nents f the ARTiGO A820.

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
2
m dules-imx6qvab820.tgz: c ntains the drivers f r the VNT9271 USB Wi-Fi d ngle,
EMIO-1541 miniPCIe Wi-Fi m dule, EMIO-2531 miniPCIe Wi-Fi & BT m dule and EMIO-
2550 miniPCIe M bile Br adband m dule.
BT_C nfig f lder: c ntains the three Bluet th c nfigurati n files f r A2DP supp rt.
1.2. Versi n Inf rmati n and Supp rted Features
•U-B t versi n: 2014.04
•Kernel versi n: 3.14.28
•Evaluati n image: OpenEmbedded-c re built with Y ct 1.7 Dizzy
•Devel pment based n NXP fsl-y ct -3.14.28_1.0.0 (Y ct 1.7 Dizzy)
•Supp rts SPI with eMMC r Micr SD b t (default)
•Supp rts HDMI display
•Supp rts HDMI audi utput
•Supp rts COM 1 (RS-232/RS-485), Onb ard COM as debug p rt
•Supp rts Gigabit Ethernet (LAN 1)
•Supp rts 10/100Mbps Ethernet (LAN 2)
•Supp rts VNT9271 USB Wi-Fi d ngle
•Supp rts EMIO-1541 miniPCIe Wi-Fi m dule
•Supp rts EMIO-2531 miniPCIe Wi-Fi & BT m dule
oSupp rts Bluet th A2DP and SPP pr file
•Supp rts EMIO-2550 miniPCIe M bile Br adband m dule
•Supp rts Watchd g, GPIO and RTC

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
3
2. Image Devel pment
This secti n explains the setup requirements f r b ting fr m a Micr SD card r the SPI
ROM.
A prec mpiled image is pr vided in the “EVK” f lder f the BSP.
2.1. B ting fr m a Micr SD Card
The via-image-gui-imx6qvab820.sdcard image all ws the system t run entirely fr m the
Micr SD card.
The first step is t c py this image nt a Micr SD card. Insert a Micr SD card int
y ur Linux h st machine and make sure it is n t m unted. C py the SD Card image nt
the Micr SD card with the c mmand bel w, replacing <device name> with the c rrect
value f r the card, f r example “sdb”.
Imp rtant: Make sure y u are writing t the c rrect device r the h st system
envir nment c uld be damaged.
$ sudo dd if=via-image-gui-imx6qvab820.sdcard of=/dev/<device name> bs=1M conv=fsync
Next, set the switch SW2 t the Micr SD p siti n as sh wn bel w.
Micr SD / SPI b t select switch diagram
Insert the prepared Micr SD card int the ARTiGO A820, c nnect an HDMI display, and
p wer n the device t initiate the b t pr cess.
When the b t pr cess is c mpleted, y u will see the OpenEmbedded deskt p.
485
USB
DIO
COM 1
232
WIRELESS
PWR
RESET
SPI
MicroSD
SPI
Micro SD

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
4
2.2. B ting fr m the SPI ROM and eMMC
The ARTiGO A820 supp rts b ting fr m the SPI ROM while l ading the kernel and
r t filesystem fr m eMMC.
The first step is t prepare a Micr SD card with the default image acc rding t secti n
2.1. Next, c py the u-b t.imx and via-image-gui-imx6qvab820.sdcard files fr m the BSP
nt a mass st rage device such as a USB thumb drive. Make sure the SW2 switch is set
t Micr SD b t then insert the Micr SD card and the USB thumb drive int the
ARTiGO A820.
T check that the system has c rrectly setup the SPI ROM as an MTD bl ck device, use
the f ll wing c mmand:
$ ls /dev/mtdblock*
/dev/mtdblock0
Please n te that if y u have previ usly saved U-B t parameters, it is rec mmended t
clear that area f the SPI ROM with the f ll wing c mmand:
$ sudo dd if=/dev/zero of=/dev/mtdblock0 bs=512 seek=1536 count=16
Flash the U-B t binary fr m the mass st rage device nt the SPI ROM:
$ sudo dd if=u-boot.imx of=/dev/mtdblock0 bs=512 seek=2
C py the r t filesystem image fr m the mass st rage device nt the eMMC st rage.
$ sudo dd if=via-image-gui-imx6qvab820.sdcard of=/dev/mmcblk0 bs=1M
In rder t b t fr m the SPI ROM make sure the SW2 switch is set t SPI ROM b t.
Micr SD / SPI b t select switch diagram
Next, c nnect an HDMI display, and p wer n the device t initiate the b t pr cess.
When the b t pr cess is c mpleted, y u will see the OpenEmbedded deskt p.
485
USB
DIO
COM 1
232
WIRELESS
PWR
RESET
SPI
MicroSD
SPI
Micro SD

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
5
2.3. Setting Up U-B t Parameters
The first step is t c nnect the h st machine and the ARTiGO A820 thr ugh the nb ard
COM debug p rt. Use a serial p rt c mmunicati n pr gram such as PuTTY, GtkTerm, r
Minic m, t c nfigure serial p rt setting and c nnect t the debug c ns le. There y u
will be able t see the U-B t b t l g and adjust settings in the U-B t c ns le.
+-----------------------------------------------------------------------------------------------------------+
| A - Serial Device : /dev/ttymxc0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
+-----------------------------------------------------------------------------------------------------------+
Serial p rt setting f h st machine
COM debug c nnect r diagram
485
USB
DIO
COM 1
232
WIRELESS
PWR
RESET
1
1

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
6
Next, p wer n the ARTiGO A820 t initiate the b t pr cess. When pr mpted, press
any key t st p the b t pr cess, and enter the U-B t c ns le as illustrated by the
screensh t bel w.
U-Boot 2014.04 (Nov 19 2015 - 18:49:13)VAB820 ver:3.2.1
CPU: Freescale i.MX6DL rev1.2 at 996 MHz
CPU: Temperature 30 C, calibration data: 0x5894f169
Reset cause: POR
Board: MX6DL-VAB820
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB,
total 4 MiB
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Warning: failed to set MAC address
Normal Boot
Hit any key to stop autoboot: 0
Debug c ns le view f b t pr cess
T list the current U-B t parameters, use the f ll wing c mmand:
=> printenv
Make sure the print ut message includes “b tcmd=run b tcmd_aut ”.
The default “b tcmd” parameter is set t aut detect the system l cati n by first
attempting t l ad the kernel fr m the Micr SD card. If it is n t detected it c ntinues t
b t fr m the eMMC.
T l ad the kernel fr m the specified device, refer t the tw examples bel w.
T l ad the kernel fr m the Micr SD card, use the f ll wing c mmand:
=> setenv bootcmd 'run bootcmd_sd'
=> saveenv
=> boot
T l ad the kernel fr m the eMMC, use the f ll wing c mmand:
=> setenv bootcmd 'run bootcmd_mmc'
=> saveenv
=> boot
2.4. Rest ring Default U-B t Parameters
If the U-B t parameters have been m dified, the “destr yenv” c mmand in the U-B t
c ns le can rest re the fact ry defaults settings.
T restart the device, use the “reset” c mmand:
=> destroyenv
=> reset

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
7
2.5. Using the OpenEmbedded C ns le
The first step is t c nnect the h st machine and the ARTiGO A820 thr ugh the
nb ard COM debug c nnect r. Use a serial p rt c mmunicati n pr gram such as
PuTTY, GtkTerm, r Minic m, t c nnect t the debug c ns le. There y u will be able
t see the U-B t b t l g and adjust settings in the U-B t c ns le. Next, p wer n
the ARTiGO A820 t initiate the b t pr cess. When the b t pr cess is c mpleted
y u will be pr mpted t l gin.
COM debug c nnect r diagram
The default acc unt is “r t”, with n passw rd set (just press Enter when pr mpted f r
passw rd).
...
Poky (Yocto Project Reference Distro) 1.7 imx6qvab820 /dev/ttymxc1
imx6qvab820 login: root
485
USB
DIO
COM 1
232
WIRELESS
PWR
RESET
1
1

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
8
3. Build Envir nment Setup
This secti n guides y u thr ugh setting up the build envir nment f r devel pment. All
instructi ns are based n using Ubuntu 12.04 LTS and in newer Ubuntu versi ns.
T make sure that the build pr cess c mpletes successfully, we rec mmend at least
120GB f disk space, and 15GB f c mbined mem ry and swap space n the h st
machine.
3.1. C nfiguring Ubuntu
The f ll wing packages are required f r the Y ct devel pment envir nment. The
required packages can be installed using the bash script bel w:
#/bin/bash
# Install dependant packages
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-
essential chrpath socat
$ sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-
utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-
mesa-dev mercurial autoconf automake groff curl lzop asciidoc
The t l t create images f r use with the U-B t b t l ader, “mkimage”, is pr vided
by different packages in Ubuntu 12.04 and in newer Ubuntu releases.
On Ubuntu 12.04 install it as bel w.
$ sudo apt-get install uboot-mkimage
On Ubuntu 14.04 and newer versi ns install it as bel w.
$ sudo apt-get install u-boot-tools

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
9
4. Image Build
4.1. Extracting the ARTiGO A820 BSP
Use the f ll wing c mmand t extract the c ntents f the BSP.
$ tar xvf A820-yocto-bsp-v3.2.1.tar.bz2
4.2. Machine C nfigurati n
The via-setup-release.sh script creates the build direct ry with the Y ct c nfigurati n
files f r y ur target machine.
This script has the f ll wing pti nal parameter:
•
-b: set the name f the build direct ry. F r example “-b build-a820” in the
c mmand bel w.
$ cd a820-yocto-bsp
$ MACHINE=imx6qvab820 source via-setup-release.sh -b build-a820
4.3. Building an SD Card Image
This BSP pr vides the “via-image-gui” Y ct image as default. Use the “bitbake”
c mmand t create an SD Card c mpatible image.
$ a820-yocto-bsp/build-a820$ bitbake via-image-gui
After the c mpilati n, the a820-y ct -bsp/build-a820/tmp/depl y/images/imx6qvab820
direct ry will c ntain the resulting binaries, as sh wn in the table bel w.
Binary Descripti n
u-b t.imx U-B t b t l ader
zImage Kernel
zImage-imx6dl-vab820.dtb Device tree
via-image-gui-imx6qvab820.sdcard SD card image
Binary files generated by bitbake

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
10
5. Hardware Functi ns
5.1. Setting Up COM 1
The ARTiGO A820 COM 1 supp rts b th RS-232 and RS-485 m des. The default m de
is RS-232.
5.1.1. Setting Up RS-232 M de
The first step is t c nnect the h st machine and the ARTiGO A820 thr ugh the COM 1
p rt. Use a serial p rt c mmunicati n pr gram such as PuTTY, GtkTerm, r Minic m, t
c nnect t the COM 1 p rt.
Next, set the COM m de switch t the RS-232 p siti n as sh wn bel w.
COM m de switch diagram
C nnect the h st machine t the ARTiGO A820 COM 1 p rt with an RS-232 cable. T
start the Minic m serial c mmunicati n pr gram n the ARTiGO A820, use the
f ll wing c mmand:
$ minicom -s
C nnect t the /dev/ttymxc0 serial device with the f ll wing settings:
+--------------------------------------------------------------+
| A - Serial Device : /dev/ttymxc0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
+--------------------------------------------------------------+
Serial p rt setting f RS-232 m de
Start a serial c mmunicati n pr gram n the h st machine with the same
c mmunicati n settings using the appr priate serial device. Afterwards the h st machine
and the ARTiGO A820 will be able t c mmunicate thr ugh the pr grams (f r example
sending a keypress n ne machine sh uld be sh wn n the ther machine).
COM 1 DIO USB
RESET
PWR
WIRELESS
485 232
232
485

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
11
5.1.2. Setting Up RS-485 M de
T set up and test the RS-485 c mmunicati n ver the COM 1 p rt, set the COM m de
switch t the RS-485 p siti n as sh wn bel w.
COM m de switch diagram
Enable the RS-485 n the ARTiGO A820 system with the f ll wing c mmand:
$ imx_rs485 1
C nnect the h st machine t the ARTiGO A820 COM 1 p rt with an RS-485 cable. T
start the Minic m serial c mmunicati n pr gram n the ARTiGO A820, use the
f ll wing c mmand:
$ minicom -s
C nnect t the /dev/ttymxc0 serial device with the f ll wing settings:
+--------------------------------------------------------------+
| A - Serial Device : /dev/ttymxc0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
+--------------------------------------------------------------+
Serial p rt setting f RS-485 m de
Start a serial c mmunicati n pr gram n the h st machine with the same
c mmunicati n settings using the appr priate serial device. Afterwards the h st machine
and the ARTiGO A820 will be able t c mmunicate thr ugh the pr grams (f r example
sending a keypress n ne machine sh uld be sh wn n the ther machine).
Please n te that the s ftware setting f r the RS-485 c mmunicati n is n t preserved
ver reb t. The “imx_rs485” c mmand needs t be run whenever the machine is
restarted t set up the COM 1 p rt c rrectly f r RS-485 c mmunicati n.
T switch the COM 1 p rt back t RS-232 c mmunicati n m de fr m RS-485, adjust the
COM m de select switch and use the f ll wing c mmand:
$ imx_rs485 0
COM 1 DIO USB
RESET
PWR
WIRELESS
485 232
232
485

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
12
5.2. C nfiguring Netw rk Settings
The ARTiGO A820 supp rts tw LAN p rts and the default setting is Gateway m de. In
Gateway m de, LAN 1 is a WAN p rt while LAN 2 is a LAN p rt. If the system is
already c nnected t the Wi-Fi m dule, it w n’t supp rt WLAN.
LAN 1 and LAN 2 diagram
Open a terminal and c nfigure the netw rk setting with the f ll wing c mmand:
$ /etc/networkcfg
T disable the Gateway m de and t use the WLAN, select item 7 “Enable and Disable
Gateway”, and then select item 6 “Reb t” as illustrated by the screensh t bel w.
1) Ethernet 5) Exit
2) WLAN Config 6) Reboot
3) Reset 7) Enable or Disable Gateway
4) Show Information
Enter option: 7
Please reboot
1) Ethernet
2) WLAN Config
3) Reset
4) Show Information
5) Exit
6) Reboot
7) Enable or Disable Gateway
Enter option: 6
Reboot selected
Netw rk c nfigurati n
When the b t pr cess is c mpleted, click n the “C nnecti n Manager” ic n t
c nfigure LAN 1, LAN 2 and WLAN respectively.
C nnecti n Manager ic n diagram
HDMI
LAN 2 LAN 1 USB
5V DC-IN
(Gigabit Ethernet)
LAN 1
(10/100Mbps Ethernet)
LAN 2

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
13
5.3. C nfiguring the VNT9271 USB Wi-Fi D ngle
The VNT9271 USB Wi-Fi d ngle supp rts Wi-Fi functi n.
5.3.1. C nnecting t the Internet
The first step is t insert the VNT9271 USB Wi-Fi d ngle int the USB p rt. Next,
rem ve the LAN cables, Wi-Fi miniPCIe r 3G miniPCIe m dule. Finally, p wer n the
ARTiGO A820.
Inserting the VNT9271 USB Wi-Fi d ngle
When the b t pr cess is c mpleted, click n the “C nnecti n Manager” ic n t
c nfigure WLAN.
C nnecti n Manager ic n diagram
When the c nnecti n is created, c nnect t the internet thr ugh y ur web br wser.
COM 1 DIO USB RESET
PWR
WIRELESS
232
485

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
14
5.4. C nfiguring the EMIO-1541 miniPCIe Wi-Fi M dule
The EMIO-1541 miniPCIe Wi-Fi m dule supp rts Wi-Fi functi n.
5.4.1. C nnecting t the Internet
The first step is t insert the EMIO-1541 m dule int the miniPCIe sl t. Next, rem ve
the LAN cables and USB Wi-Fi d ngle. Finally, p wer n the ARTiGO A820.
Inserting the EMIO-1541 m dule
When the b t pr cess is c mpleted, click n the “C nnecti n Manager” ic n t
c nfigure WLAN.
C nnecti n Manager ic n diagram
When the c nnecti n is created, c nnect t the internet thr ugh y ur web br wser.
485
USB
DIO
COM 1
232
WIRELESS
PWR
RESET
30

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
15
5.5. C nfiguring the EMIO-2531 miniPCIe Wi-Fi & BT
M dule
The EMIO-2531 miniPCIe Wi-Fi & BT m dule supp rts Wi-Fi and Bluet th functi ns.
5.5.1. C nnecting t the Internet
The first step is t insert the EMIO-2531 m dule int the miniPCIe sl t. Next, rem ve
the LAN cables and USB Wi-Fi d ngle. Finally, p wer n the ARTiGO A820.
Inserting the EMIO-2531 m dule
When the b t pr cess is c mpleted, click n the “C nnecti n Manager” ic n t
c nfigure WLAN.
C nnecti n Manager ic n diagram
When the c nnecti n is created, c nnect t the internet thr ugh y ur web br wser.
485
USB
DIO
COM 1
232
WIRELESS
PWR
RESET
30

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
16
5.5.2. Enabling Bluet th
The f ll wing secti n explains setting up the Advanced Audi Distributi n Pr file
(A2DP) and Serial P rt Pr file (SPP).
5.5.2.1. Setting Up Bluet th A2DP Pr file
The first step is t c py the pulseaudi -system.c nf, bluet th.c nf and system.pa files
t /etc/dbus-1/system.d/ f lder t replace the riginal pulseaudi -system.c nf,
Bluet th.c nf and system.pa files in rder t add the A2DP supp rt int the ARTiGO
system. These files are l cated in the EVK/BT_C nfig f lder f the BSP.
T enable the Bluet th service, use the f ll wing c mmand:
$ rfkill unblock bluetooth
$ hciconfig hci0 up
$ hciconfig hci0 piscan
$ /usr/lib/bluez5/bluetooth/bluetoothd -C -d &
Use the f ll wing c mmands t run the “bluet thctl” t sh w the EMIO-2531
Bluet th MAC address and set up pairing m de.
$ bluetoothctl
[NEW] Controller 5C:F3:70:24:4B:2E(EMIO-2531 Bluetooth MAC address)
[bluetooth]#
[bluetooth]# show
Controller 5C:F3:70:24:4B:2E
Name: BlueZ 5.25
Alias: BlueZ 5.25
…..
[bluetooth]# select 5C:F3:70:24:4B:2E (select controller_mac_address)
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 5C:F3:70:24:4B:2E Discoverable: yes
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 5C:F3:70:24:4B:2E Discovering: yes
[NEW] Device 00:1D:82:BC:C1:C4 Jabra BT-530
…
[bluetooth]# scan off
[bluetooth]# devices
Device 00:1D:82:BC:C1:C4 Jabra BT-530
Device …
[bluetooth]# pair 00:1D:82:BC:C1:C4 (pair device_mac_address)
[bluetooth]# trust 00:1D:82:BC:C1:C4 (trust device_mac_address)
T enable the Bluet th device, use the f ll wing c mmands:
[bluetooth]# connect 00:1D:82:BC:C1:C4 (connect device_mac_address)
[bluetooth]# info 00:1D:82:BC:C1:C4 (info device_mac_address)
[bluetooth]# quit
Other manuals for ARTiGO A820
3
Table of contents
Other VIA Technologies Gateway manuals
Popular Gateway manuals by other brands

ActionTec
ActionTec V1000H user manual

Cisco
Cisco VGD-1T3 Software configuration guide

Avaya
Avaya G700 Installation and upgrades

JBM electronics
JBM electronics C-130 quick start guide

OpenVox
OpenVox VS-GW1600-16W user manual

ZyXEL Communications
ZyXEL Communications ADSL 2+ Security Gateway quick start guide