udev rules

Posted on

Dear all,
With RHEL7, I used the udev rules to manage the usb device according to my needs. I wrote my rules like this one:
ACTION=="add", SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="0403", ENV{ID_MODEL_ID}=="6001", ENV{ID_MODEL}=="PEAL9284", RUN+="/usr/local/bin/manage-libvirt-devices.sh attach"
It seems, with RHEL8, that is changed. The parameters likes ENV{ID_VENDOR_ID}, ENV{ID_VENDOR_ID} or ENV{ID_MODEL} are no more taken into account. I tested new rules using attributes (ATTR{idVendor}, ATTR{idProduct} or ATTRS{Product}) but that's the same result --> no action.
I don't understand why. According to the recent documentation, that should be ok.
So, do you have some idea about my critical problem?
Thanks in advance for any help.
Best regards
Stéphane

Responses