Skip to content
Juan Gonzalez-Gomez edited this page Apr 1, 2024 · 4 revisions

Contents

Usage

apio system [OPTIONS]

Description

Execute system commands

Options

Flag Long Flag Description
-i --info Show system information: current platform
--lsftdi List all connected FTDI devices
--lsusb List all connected USB devices.
--lsserial List all connected Serial devices

Examples

1. List connected FTDI devices

apio system --lsftdi
$ apio system --lsftdi
Number of FTDI devices found: 1
Checking device: 0
Manufacturer: AlhambraBits, Description: Alhambra II v1.0A - B07-095

2. List connected USB devices

apio system --lsusb
$ apio system --lsusb
1d6b:0003 (bus 2, device 1)
04f2:b68b (bus 1, device 3) path: 7
0403:6010 (bus 1, device 5) path: 5
062a:4102 (bus 1, device 2) path: 4
8087:0aaa (bus 1, device 4) path: 10
1d6b:0002 (bus 1, device 1)

3. List connected Serial devices

apio system --lsserial
$ apio system --lsserial
Number of Serial devices found: [{'port': '/dev/ttyUSB1', 'description': 'Alhambra II v1.0A - B07-095 - Alhambra II v1.0A - B07-095', 'hwid': 'USB VID:PID=0403:6010 LOCATION=1-5:1.1'}, {'port': '/dev/ttyUSB0', 'description': 'Alhambra II v1.0A - B07-095 - Alhambra II v1.0A - B07-095', 'hwid': 'USB VID:PID=0403:6010 LOCATION=1-5:1.0'}]

/dev/ttyUSB1
Description: Alhambra II v1.0A - B07-095 - Alhambra II v1.0A - B07-095
Hardware info: USB VID:PID=0403:6010 LOCATION=1-5:1.1

/dev/ttyUSB0
Description: Alhambra II v1.0A - B07-095 - Alhambra II v1.0A - B07-095
Hardware info: USB VID:PID=0403:6010 LOCATION=1-5:1.0

4. Show system information

apio system --info
$ apio system --info
Platform: linux_x86_64


Clone this wiki locally