From d3d31eadcb4c210aea86698438af4371b9c4febc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 19 Mar 2022 14:05:24 +0100 Subject: dev_add: add devices by name regex rather than path Also, watch for new devices using udevadm monitor. --- README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 8f6361f..e7fedf4 100644 --- a/README +++ b/README @@ -57,5 +57,6 @@ The commands are: dev_add ------- A helper tool that accepts the name (or full path) of the control FIFO and a -real device node. It adds that device through the FIFO, then sleeps until -interrupted. On exit it removes the device it added. +regex pattern. It adds all input devices whose name matches the pattern +(monitoring newly newly added devices using udevadm). On exit it clears all +bound devices (unless the --no-clear option is used). -- cgit v1.2.3