Users Guide

Table Of Contents
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.
Serial ports
Table 25. Hardware enumeration of serial ports
Port label devfs device udev device Termination pin
IOIO1
/dev/ttyXRUSB1 /dev/serial-port-
ioio1
GPIO 465
IOIO2
/dev/ttyXRUSB0 /dev/serial-port-
ioio2
GPIO 468
NOTE: For more pin-level information about serial ports, see GPIO-port pin definition details.
Configure serial ports
To configure the serial ports, run the following commands in the Dell Command | Configure application:
1. Adjust the mode in Dell Command | Configure.
$ cctk -h --serial1
$ cctk --serial1
$ cctk --serial1=rs232
NOTE: Mode options can be rs232, rs422 or rs485.
74 Setting up the operating system