mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-05 15:27:21 +07:00
Update for Orange Pi Zero2w
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Handle AXP power button with systemd
|
||||
ACTION=="remove", GOTO="power_switch_end"
|
||||
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="axp20x-pek", TAG+="power-switch"
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_PATH}=="platform-soc@3000000", TAG+="power-switch"
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_PATH}=="platform-soc@3000000", ENV{ID_INPUT}="1"
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_PATH}=="platform-soc@3000000", ENV{ID_INPUT_KEY}="1"
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="axp[12][890]-supplyer", TAG+="power-switch"
|
||||
|
||||
LABEL="power_switch_end"
|
||||
|
||||
Reference in New Issue
Block a user