change the charge LED indicator to Mode B on Pine64 LTS
#1
Hi everyone,

I'm using Pine64 LTS for a project. According to AXP803 datasheet  Page37 & 38, the charge LED indicator can be set to Mode A or Mode B. Does anyone know how to change this setting via sysfs, or other interface(I2c, Uart) ?


pine@pine64so:/sys/class/power_supply$ ls
axp20x-battery  axp813-ac
pine@pine64so:/sys/class/power_supply$ cd axp813-ac
pine@pine64so:/sys/class/power_supply/axp813-ac$ ls
device  health  input_current_limit  online  power  present  subsystem  type  uevent  voltage_min
pine@pine64so:/sys/class/power_supply/axp813-ac$ cat uevent
POWER_SUPPLY_NAME=axp813-ac
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_VOLTAGE_MIN=4000000
POWER_SUPPLY_INPUT_CURRENT_LIMIT=1500000


Thanks,
JTX


Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to connect a pine64-LTS to a serial console? zuvmajujo 1 967 04-02-2023, 05:09 PM
Last Post: zuvmajujo
  Pine64 LTS won't boot zuvmajujo 1 926 04-02-2023, 04:59 PM
Last Post: zuvmajujo
  Has anyone gotten "reset" to work in U-Boot for Pine64? Pine 1 3,423 04-19-2021, 12:55 PM
Last Post: Pine
  power usage for Pine64 LTS + Screen Little_Johnny 1 2,948 02-17-2021, 07:19 PM
Last Post: Little_Johnny
  Pine64 LTS GbE Problem scchoi 1 4,030 06-20-2020, 12:39 PM
Last Post: tllim
  Selling my Pine64 2gb LTS with a bunch of accessories poponon 0 2,593 08-08-2019, 09:01 PM
Last Post: poponon
  Pine64 LTS Boot Media order Akash Gajjar 1 3,343 07-22-2018, 05:29 PM
Last Post: tllim
  Pine64 LTS Not booting krisclarkdev 2 4,020 05-13-2018, 10:22 PM
Last Post: krisclarkdev
  Pine64 LTS - DOA harcrow 8 8,418 03-30-2018, 02:13 PM
Last Post: davidgs
  Selling my Pine64+ racann 0 1,877 01-07-2018, 04:24 PM
Last Post: racann

Forum Jump:


Users browsing this thread: 1 Guest(s)