mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-03 21:27:00 +07:00
247724da45
Merge up to commit 5674b74c4f99e433fd8e7242e9f16f6ddfece94c - change @bindir@ to {{ROOTBINDIR}} in templates (better future tracking) - keep rules/50-udev-default.rules as plain instead of template - add 60-autosuspend.rules 60-fido-id.rules 70-camera.rules 70-memory.rules 81-net-dhcp.rules
19 lines
532 B
Plaintext
19 lines
532 B
Plaintext
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION!="add", GOTO="autosuspend_end"
|
|
|
|
# I2C rules
|
|
SUBSYSTEM=="i2c", ATTR{name}=="cyapa", \
|
|
ATTR{power/control}="on", GOTO="autosuspend_end"
|
|
|
|
# Enable autosuspend if hwdb says so. Here we are relying on
|
|
# the hwdb import done earlier based on MODALIAS.
|
|
ENV{ID_AUTOSUSPEND}=="1", TEST=="power/control", \
|
|
ATTR{power/control}="auto"
|
|
|
|
# Disable USB persist if hwdb says so.
|
|
ENV{ID_PERSIST}=="0", TEST=="power/persist", \
|
|
ATTR{power/persist}="0"
|
|
|
|
LABEL="autosuspend_end"
|