I also have a custom daemon listening for events with this tag using libudev. This works while processing the event but I cannot enumerate devices by the tag that were already connected before my daemon started.
Also udevadm info does not show the tags:
# udevadm info /sys/devices/platform/ff340000.usb/usb1/1-1/1-1.2 | grep TAGS
#
After running udevadm test they are present and detection would work in my daemon:
# udevadm test /sys/devices/platform/ff340000.usb/usb1/1-1/1-1.2
[...]
# udevadm info /sys/devices/platform/ff340000.usb/usb1/1-1/1-1.2 | grep TAGS
E: TAGS=:CUSTOM_USB:CUSTOM_USB_EXT:
Is that the desired behavior? Can I configure udevd to store the TAGS after evaluating my rules?
Please feel free to ask if you need any additional information.
Hello,
i have a rule tagging any device on a specific USB port with a custom tag:
I also have a custom daemon listening for events with this tag using
libudev
. This works while processing the event but I cannot enumerate devices by the tag that were already connected before my daemon started.Also
udevadm info
does not show the tags:After running
udevadm test
they are present and detection would work in my daemon:Is that the desired behavior? Can I configure udevd to store the TAGS after evaluating my rules?
Please feel free to ask if you need any additional information.