The pwm-control interface

pwm-control permits control over any aspect of all PWM channels.

This interface is currently under development and has not yet been released for general use. See interfaces: add pwm-control interface for further details on this work.

The pwm-control interface can potentially impact the system and other snaps, and allows privileged access to hardware. See The pwm interface to access a specific channel.

Auto-connect: no
Super-privileged: yes

ⓘ This is a snap interface. See Interface management and Supported interfaces for further details on how interfaces are used.

Hey @degville

I was thinking documentation for this interface should spell out the technical specifics to some degree. Most notably the access to the export and unexport files in the relevant path of the sysfs tree, as well as to all of the exported PWM channels.

Hello! Thanks so much for submitting this, and I really like your idea on the documenting the technical specifics. We have a plan split the user-facing interface docs from the more developer-centric specifics, and this kind of detail will definitely help.

What is the status of this interface?

Progress has been slow, but it looks like it’s still being actively developed:

The interface is not ready for merging. I’ve paused development on the upstream patch (and the downstream version I’m using now).

The chief problem is described in

1 Like

No problem … I will add a pointer to it with the obvious caveat that it it still WIP.

1 Like

Having said that I am back to some snapd work so I will likely try to upstream as much of our delta as I can afford.

1 Like