Trigger udev rules parsing on all kernel events except of "remove" - fix test udev+hwdb

escl-fix-duplex-mode-hp-m578
Marcin Kocur 2020-10-28 17:52:59 +00:00
rodzic b5bbcb2ef7
commit 968114e7e4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@alioth-lists.debian.net).
#
ACTION!="add", GOTO="libsane_rules_end"
ACTION=="remove", GOTO="libsane_rules_end"
# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"