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) ?


[email protected]:/sys/class/power_supply$ ls
axp20x-battery  axp813-ac
[email protected]:/sys/class/power_supply$ cd axp813-ac
[email protected]:/sys/class/power_supply/axp813-ac$ ls
device  health  input_current_limit  online  power  present  subsystem  type  uevent  voltage_min
[email protected]:/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
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Selling my Pine64 2gb LTS with a bunch of accessories poponon 0 109 08-08-2019, 09:01 PM
Last Post: poponon
  Pine64 LTS Boot Media order Akash Gajjar 1 318 07-22-2018, 05:29 PM
Last Post: tllim
  Pine64 LTS Not booting krisclarkdev 2 527 05-13-2018, 10:22 PM
Last Post: krisclarkdev
  Pine64 LTS - DOA harcrow 8 931 03-30-2018, 02:13 PM
Last Post: davidgs
  Selling my Pine64+ racann 0 358 01-07-2018, 04:24 PM
Last Post: racann
  PINE64 LTS, pycnc and RAMPS 1.4 marnicgom 0 334 12-28-2017, 12:32 AM
Last Post: marnicgom
  EMMC cards in Pine64 store stephen fleming 16 9,036 12-26-2017, 12:19 PM
Last Post: tllim
  What memory to buy fo Pine64 LTS kalid0r 2 808 11-01-2017, 04:27 AM
Last Post: kalid0r

Forum Jump:


Users browsing this thread: 1 Guest(s)