Controlling the torch with DBus vs. sysfs
Hi, I've written a small tool that exposes LED controls over D-Bus (similar in intent, but not implementation, to iio-sensor-proxy) so people don't have to mess with the /sys interface directly. https://github.com/OpenMandrivaSoftware/ledcontrol
It's tested on PinePhone through qdbus --system at the moment, works for both the flash and the various small LEDs on the front side. It should work on any other device as well.
Would it make sense to use that rather than handling /sys files directly to control the torch in Plasma Mobile?
Will provide a patch if people agree it makes sense to do this.