Commits

Alex Hixon committed a9b2171

Remove depreciated udev attribute.

The SYSFS attribute is classified as depreciated, as of udev v148.
Updated to use ATTRS instead, as recommended.

Thanks to David Jurenka <david@jurenka.cz> for the patch!

Comments (0)

Files changed (1)

contrib/90-r5u87x-loader.rules.in

 SUBSYSTEM!="usb", GOTO="r5u87x_rules_end"
 
 ###BEGINTEMPLATE###
-SYSFS{idVendor}=="#VENDORID#", SYSFS{idProduct}=="#PRODUCTID#", RUN+="#LOADER# --reload"
+ATTRS{idVendor}=="#VENDORID#", ATTRS{idProduct}=="#PRODUCTID#", RUN+="#LOADER# --reload"
 ###ENDTEMPLATE###
 
 LABEL="r5u87x_rules_end"