File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,15 @@ This allows identification through hot-plugging or rebooting.
109
109
USBSerialPort :
110
110
match :
111
111
ID_SERIAL_SHORT : ' P-00-00682'
112
+ ID_USB_INTERFACE_NUM : ' 00'
112
113
speed : 115200
113
114
114
- The example would search for a USB serial converter with the key
115
- ``ID_SERIAL_SHORT `` and the value ``P-00-00682 `` and use it with a baud rate
116
- of ``115200 ``.
117
- The ``ID_SERIAL_SHORT `` property is set by the ``usb_id `` builtin helper program.
115
+ The example would search for a USB serial converter with a given serial number
116
+ (``ID_SERIAL_SHORT `` = ``P-00-00682 ``) and use first interface
117
+ (``ID_USB_INTERFACE_NUM `` = ``00 ``) with a baud rate of 115200.
118
+
119
+ The ``ID_SERIAL_SHORT `` and ``ID_USB_INTERFACE_NUM `` properties are set by the
120
+ ``usb_id `` builtin helper program.
118
121
119
122
Arguments:
120
123
- match (dict): key and value pairs for a udev match, see `udev Matching `_
You can’t perform that action at this time.
0 commit comments