Users Guide

Playback
The following shows an example of how to playback audio with ALSA.
1. List available devices (default: baytrailcraudio).
# aplay -l
2. Playback.
# aplay /usr/share/sounds/alsa/Front_Center.wmv
Recording
The following shows an example of how to record audio with ALSA.
1. List available devices (default: baytrailcraudio).
# arecord -l
2. Record.
# arecord -f cd -t wav /tmp/test.wav
Global Positioning Systems (GPS)
NOTE: For more information about GPS configurations, see locationd.readthedocs.io/en/latest/intro.html.
National Marine Electronics Association (NMEA) data is supported if the GPS module is present in the system. In the operating
system, the location service is a central hub for multiplexing access to positioning subsystems available through hardware and
software. It provides a client API offering positioning capabilities to applications and other system components.
The following shows the GPS-hardware enumeration on Edge Gateways:
Edge Gateway 3001: /dev/ttyHS0
Edge Gateway 3002: /dev/ttyHS1
Edge Gateway 3003: /dev/ttyHS0
Example of dumping NMEA streaming data (for Edge Gateway 3001/3003):
# cat /dev/ttyHS0
NOTE: For more information about NMEA data, see gpsinformation.org/dale/nmea.
ZigBee
This is the ZigBee hardware enumeration on Edge Gateways:
Edge Gateway 3002: /dev/ttyHS0
Sensors
The sensors on the Edge Gateway provide measurements on pressure, relative humidity and temperature, and motion.
Table 20. Sensor types
Sensor type Description
ST Micro HTS221 Relative humidity and temperature sensor
ST Micro LNG2DMTR Motion G-sensorAccelerometer
Setting up the operating system 69