From 4f21d52f1da5ec6ed701b096bf3e86adc1c9fba7 Mon Sep 17 00:00:00 2001 From: Joerg Hofrichter Date: Fri, 1 Mar 2024 08:53:33 +0100 Subject: [PATCH] resource: udev: also suggest ID_USB_INTERFACE_NUM - docu update --- doc/configuration.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/configuration.rst b/doc/configuration.rst index fa1324a63..65cd77acf 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -114,12 +114,14 @@ This allows identification through hot-plugging or rebooting. USBSerialPort: match: ID_SERIAL_SHORT: P-00-00682 + ID_USB_INTERFACE_NUM: '00' speed: 115200 -The example would search for a USB serial converter with the key -`ID_SERIAL_SHORT` and the value `P-00-00682` and use it with a baud rate -of 115200. -The `ID_SERIAL_SHORT` property is set by the usb_id builtin helper program. +The example would search for a USB serial converter with the key/value pairs +`ID_SERIAL_SHORT = 'P-00-00682'` and `ID_USB_INTERFACE_NUM = '00'` and use it +with a baud rate of 115200. +The `ID_SERIAL_SHORT` and `ID_USB_INTERFACE_NUM` properties are set by the +usb_id builtin helper program. Arguments: - match (dict): key and value pairs for a udev match, see `udev Matching`_