Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Mobile Plasma Mobile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 67
    • Issues 67
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • Plasma MobilePlasma Mobile
  • Issues
  • #50

Closed
Open
Created Nov 16, 2020 by Bernhard Rosenkraenzer@beroDeveloper

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.

Assignee
Assign to
Time tracking