Created
August 22, 2023 12:10
-
-
Save TiNredmc/f715c4582e18a826595bc8acc02ca76e to your computer and use it in GitHub Desktop.
PWM Udev rule for Orange Pi Zero 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PWM udev rule | |
SUBSYSTEM=="pwm", ACTION=="add|change", \ | |
RUN+="/bin/chgrp -R gpio '/sys%p'", \ | |
RUN+="/bin/chmod -R g=u '/sys%p'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment