Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
feedbackd
feedbackd
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Librem5
  • feedbackdfeedbackd
  • Merge Requests
  • !41

Open
Opened Oct 25, 2020 by Luca Weiss@z3ntu
  • Report abuse
Report abuse

[RFC] Initial support for multicolor LEDs

  • Overview 7
  • Commits 2
  • Pipelines 2
  • Changes 4

This implements very rudimentary support for multicolor LEDs as supported by the kernel.

Documentation: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/testing/sysfs-class-led-multicolor

TODO:

  • multi_index should be evaluated for the order of values - unknown if always r-g-b
  • max_brightness should be used for the values for multi_intensity

Fixes #24

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://source.puri.sm/z3ntu/feedbackd.git" "multicolor"
git checkout -b "z3ntu/feedbackd-multicolor" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "z3ntu/feedbackd-multicolor"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: Librem5/feedbackd!41