kopia lustrzana https://gitlab.com/sane-project/backends
Trigger udev rules parsing on all kernel events except of "remove" - fix test udev+hwdb
rodzic
b5bbcb2ef7
commit
968114e7e4
|
@ -20,7 +20,7 @@
|
||||||
# If the scanner is supported by sane-backends, please mail the entry to
|
# If the scanner is supported by sane-backends, please mail the entry to
|
||||||
# the sane-devel mailing list (sane-devel@alioth-lists.debian.net).
|
# 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
|
# 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"
|
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"
|
||||||
|
|
Ładowanie…
Reference in New Issue