Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • D developer.puri.sm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 82
    • Issues 82
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • developer.puri.sm
  • Issues
  • #68
Closed
Open
Issue created Dec 26, 2018 by Dorota Czaplejewicz@dorota.czaplejewiczMaintainer

Add LED description

The programmable LED needs to be descibed in the docs:

It can be controlled with:

root@pureos:/# echo 200 > /sys/class/leds/LED\ 1/brightness

where 0 is "off", and any value between 1 and 255 is "on" with the default device tree. The LED is driven by a PWM shared with the haptic motor, so only one can be gradual at a time, decided by device tree.


Eric about the 3 charge controller LEDs without a battery plugged in:

the two LEDs that were on are one that is on VBAT_REG (meaning VBAT_REG is likely being properly regulated), and PG# (Power Good). The third LED is attached to the charge controller's STAT pin, which would indicate whether or not a battery is being charged (can blink @ ~11Hz or be off if no battery is present, basically meaningless without a battery)

if you are powering from a battery but are not supplying VBUS, then you will just see the VBAT_REG LED on, the PG# and STAT ones will be off (unless you are supplying VBUS)

VBUS is USB.

for the LEDs, best thing to do is look at the schematic and charge controller's datasheet to know what it actually means

Edited Dec 26, 2018 by Eric Kuzmenko
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking