Need to configure non-root PWM access (cross-posted)

Re-posting this here because I got no responses to my other post

We have been using Navio2 with software built on the examples provided here for a university class for a couple of years. We are currently working on migrating toward ROS and we have been able to port everything over except for the Servo example.

The problem is that the Servo example (and the ROS node which was developed from the example) need access to the PWM pins without root access. I have searched the internet and tried several fixes including those at the following links:, But I have not found anything that will allow me to succesfully write PWM duty cycle without using sudo

There seems to have been a kernel patch issued for udev not being properly triggered by PWM object creation It seems like this could be related to my issue but I have no way to apply this patch to the pre-built image. I have upgraded to the most current Navio2 image and successfully updated using sudo apt-get update && sudo apt-get dist-upgrade.

My other idea as to the source of the problem is that the commands in /etc/udev/rules.d/99-com.rules are not correct for the specific implementation on this hardware in which case I would need help figuring out which files I need to change permissions on.

Any suggestions are appreciated.



Duplicated here: