| ACTION!="remove", ATTR{power/wakeup}=="*", RUN+="/bin/chown power:power $sys/$devpath/power/wakeup" |
| ACTION!="remove", ATTR{inhibited}=="*", RUN+="/bin/chown power:power $sys/$devpath/inhibited" |
| |
| # Allow powerd to read bluetooth host controller identity |
| ACTION!="remove", SUBSYSTEM=="bluetooth", ENV{DEVTYPE}=="host", RUN+="/bin/chown power:power $sys/$devpath/identity" |
| |
| # Make pluggable keyboard backlights writable by powerd. |
| ACTION!="remove", SUBSYSTEM=="leds", DEVPATH=="*:kbd_backlight", RUN+="/lib/udev/chown-sysfs-backlight-dir.sh $sys/$devpath" |
| |
| # Older kernels (<v4.19) put cros_fp under the chromeos class |
| # The cros_ec-access group is also required by cros_healthd (the associated user |
| # that is part of the cros_ec-access group is "healthd_ec"). |
| SUBSYSTEM=="chromeos|misc", KERNEL=="cros_ec" OWNER="root", GROUP="cros_ec-access" MODE="0660" |