Skip to content

Instantly share code, notes, and snippets.

@TiNredmc
Created August 22, 2023 12:10
Show Gist options
  • Save TiNredmc/f715c4582e18a826595bc8acc02ca76e to your computer and use it in GitHub Desktop.
Save TiNredmc/f715c4582e18a826595bc8acc02ca76e to your computer and use it in GitHub Desktop.
PWM Udev rule for Orange Pi Zero 3
# 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