This is suggested in https://wiki.debian.org/USB/GadgetSetup
Leave the GROUP="plugdev" mechanism for now, as it may still be used on
distributions which do not use systemd.
# Rule to call am7xxx_mode_switch, useful when usb-modeswitch is not available.
# Actions Microelectronics Co. Generic Display Device (Mass storage mode)
# Rule to call am7xxx_mode_switch, useful when usb-modeswitch is not available.
# Actions Microelectronics Co. Generic Display Device (Mass storage mode)
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="1101", MODE="0660", GROUP="plugdev", RUN+="am7xxx-modeswitch"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="1101", MODE="0660", GROUP="plugdev" TAG+="uaccess", RUN+="am7xxx-modeswitch"
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="c101", MODE="0660", GROUP="plugdev"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="c101", MODE="0660", GROUP="plugdev" TAG+="uaccess"
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="5501", MODE="0660", GROUP="plugdev"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="5501", MODE="0660", GROUP="plugdev" TAG+="uaccess"
# Aiptek PocketCinema T25
# Aiptek PocketCinema T25
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="08ca", ATTRS{idProduct}=="2144", MODE="0660", GROUP="plugdev"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="08ca", ATTRS{idProduct}=="2144", MODE="0660", GROUP="plugdev" TAG+="uaccess"
# Philips/Sagemcom PicoPix 1020
# Philips/Sagemcom PicoPix 1020
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="21e7", ATTRS{idProduct}=="000e", MODE="0660", GROUP="plugdev"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="21e7", ATTRS{idProduct}=="000e", MODE="0660", GROUP="plugdev" TAG+="uaccess"
# Philips/Sagemcom PicoPix 2055
# Philips/Sagemcom PicoPix 2055
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="21e7", ATTRS{idProduct}=="0016", MODE="0660", GROUP="plugdev"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="21e7", ATTRS{idProduct}=="0016", MODE="0660", GROUP="plugdev" TAG+="uaccess"
# Philips/Sagemcom PicoPix 2330
# Philips/Sagemcom PicoPix 2330
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="21e7", ATTRS{idProduct}=="0019", MODE="0660", GROUP="plugdev"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="21e7", ATTRS{idProduct}=="0019", MODE="0660", GROUP="plugdev" TAG+="uaccess"