File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,12 +109,15 @@ This allows identification through hot-plugging or rebooting.
109109 USBSerialPort :
110110 match :
111111 ID_SERIAL_SHORT : ' P-00-00682'
112+ ID_USB_INTERFACE_NUM : ' 00'
112113 speed : 115200
113114
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.
118121
119122Arguments:
120123 - 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