Debian Codegraph @

man/labgrid-suggest.1

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "LABGRID-SUGGEST" "1" "2025" "" "labgrid"
31 .SH NAME
32 labgrid-suggest \- generator for YAML config files
33 .SH LABGRID-SUGGEST GENERATOR FOR YAML CONFIG FILES
34 .SS SYNOPSIS
35 .sp
36 \fBlabgrid\-suggest\fP \fB\-\-help\fP
37 .sp
38 \fBlabgrid\-suggest\fP \fB\-\-debug\fP
39 .SS DESCRIPTION
40 .sp
41 Labgrid is a scalable infrastructure and test architecture for embedded (linux) systems.
42 .sp
43 This is the man page for a helper tool which will output the proper YAML formatted
44 snippets for udev scanned devices.
45 The snippets can be added under the resource key in an environment configuration.
46 .SS OPTIONS
47 .INDENT 0.0
48 .TP
49 .B \-h\fP,\fB \-\-help
50 display command line help
51 .TP
52 .B \-d\fP,\fB \-\-debug
53 enable debug mode
54 .UNINDENT
55 .SS EXAMPLES
56 .sp
57 For a device that has an \fBID_SERIAL_SHORT\fP key with a unique ID embedded
58 in the USB\-serial converter, \fBlabgrid\-suggest\fP shows two alternatives:
59 .INDENT 0.0
60 .INDENT 3.5
61 .sp
62 .EX
63 === added device ===
64 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
65 === device properties ===
66 device node: /dev/ttyUSB0
67 udev tags: , systemd
68 vendor: Silicon_Labs
69 vendor (DB): Advanced Micro Devices, Inc. [AMD]
70 model: CP2102_USB_to_UART_Bridge_Controller
71 revision: 0100
72 === suggested matches ===
73 USBSerialPort:
74 match:
75 ID_PATH: pci\-0000:02:00.0\-usb\-0:3.1:1.0
76 \-\-\-
77 USBSerialPort:
78 match:
79 ID_SERIAL_SHORT: P\-00\-03564
80 \-\-\-
81 .EE
82 .UNINDENT
83 .UNINDENT
84 .SS SEE ALSO
85 .sp
86 \fBlabgrid\-device\-config\fP(5)
87 .SH AUTHOR
88 Jan Luebbe, Rouven Czerwinski
89 .SH COPYRIGHT
90 2016-2025 Pengutronix, Jan Luebbe and Rouven Czerwinski
91 .\" Generated by docutils manpage writer.
92 .