| 1 |
================= |
| 2 |
labgrid-suggest |
| 3 |
================= |
| 4 |
|
| 5 |
labgrid-suggest generator for YAML config files |
| 6 |
=============================================== |
| 7 |
|
| 8 |
SYNOPSIS |
| 9 |
-------- |
| 10 |
|
| 11 |
``labgrid-suggest`` ``--help`` |
| 12 |
|
| 13 |
``labgrid-suggest`` ``--debug`` |
| 14 |
|
| 15 |
DESCRIPTION |
| 16 |
----------- |
| 17 |
Labgrid is a scalable infrastructure and test architecture for embedded (linux) systems. |
| 18 |
|
| 19 |
This is the man page for a helper tool which will output the proper YAML formatted |
| 20 |
snippets for udev scanned devices. |
| 21 |
The snippets can be added under the resource key in an environment configuration. |
| 22 |
|
| 23 |
OPTIONS |
| 24 |
------- |
| 25 |
-h, --help |
| 26 |
display command line help |
| 27 |
-d, --debug |
| 28 |
enable debug mode |
| 29 |
|
| 30 |
EXAMPLES |
| 31 |
-------- |
| 32 |
|
| 33 |
For a device that has an ``ID_SERIAL_SHORT`` key with a unique ID embedded |
| 34 |
in the USB-serial converter, ``labgrid-suggest`` shows two alternatives: |
| 35 |
|
| 36 |
.. code-block:: |
| 37 |
|
| 38 |
=== added device === |
| 39 |
USBSerialPort for /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-3/1-3.1/1-3.1:1.0/ttyUSB0/tty/ttyUSB0 |
| 40 |
=== device properties === |
| 41 |
device node: /dev/ttyUSB0 |
| 42 |
udev tags: , systemd |
| 43 |
vendor: Silicon_Labs |
| 44 |
vendor (DB): Advanced Micro Devices, Inc. [AMD] |
| 45 |
model: CP2102_USB_to_UART_Bridge_Controller |
| 46 |
revision: 0100 |
| 47 |
=== suggested matches === |
| 48 |
USBSerialPort: |
| 49 |
match: |
| 50 |
ID_PATH: pci-0000:02:00.0-usb-0:3.1:1.0 |
| 51 |
--- |
| 52 |
USBSerialPort: |
| 53 |
match: |
| 54 |
ID_SERIAL_SHORT: P-00-03564 |
| 55 |
--- |
| 56 |
|
| 57 |
SEE ALSO |
| 58 |
-------- |
| 59 |
|
| 60 |
``labgrid-device-config``\(5) |