June 13, 2023
9:31 p.m.
Hi, is there a possibility, in sysfs, to watch for new symlinks (i.e. devices) beeing added to /sys/bus/usb/devices (like with inotify for normal directories)? I know you can use select() (userspace) and sysfs_notify() (kernelspace) for attributes , but is there something for folders and new devices (or symlinks)? Thanks, -- Richard