FreeCalypso > hg > freecalypso-tools
changeset 755:28d58a8cd704
fc-fsio help: write-battery-table change documented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 05 Nov 2020 23:17:31 +0000 |
parents | 2cd5ac909e23 |
children | b0e749c88f53 |
files | rvinterf/etmsync/fsio.help |
diffstat | 1 files changed, 19 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/rvinterf/etmsync/fsio.help Thu Nov 05 22:32:51 2020 +0000 +++ b/rvinterf/etmsync/fsio.help Thu Nov 05 23:17:31 2020 +0000 @@ -34,7 +34,8 @@ upload-fs Upload a complete file system tree into device FFS upload-rf-table Upload an RF calibration table into device FFS upload-subtree Upload a subtree into device FFS -write-battery-table Upload table of battery thresholds into device FFS +write-battery-table-v1 Upload table of battery thresholds into device FFS (v1) +write-battery-table-v2 Upload table of battery thresholds into device FFS (v2) write-charging-config Upload FCHG configuration into device FFS To get help on any command, type help and the command keyword. @@ -324,13 +325,24 @@ the given non-root directory in the target device FFS. === write-battery-table -write-battery-table src-file +=== write-battery-table-v1 +=== write-battery-table-v2 +write-battery-table-v1 src-file +write-battery-table-v2 src-file -This command provides the mechanism for uploading FreeCalypso-invented battery -discharge threshold tables to target devices. The argument is the name of the -table source file on the host; this source file is read and compiled into the -corresponding binary representation, and the latter is then written into -/etc/batterytab on the target. +This command (which now exists in two versions) provides the mechanism for +uploading FreeCalypso-invented battery discharge threshold tables to target +devices. The argument is the name of the table source file on the host; this +source file is read and compiled into the corresponding binary representation, +and the latter is then written into /etc/batterytab or /etc/batterytab2 on the +target. + +write-battery-table-v1 writes /etc/batterytab as needed for the original +Magnetite and Selenite version of FCHG, write-battery-table-v2 writes +/etc/batterytab2 (a different binary format) as needed for the new Tourmaline +version of FCHG. Both accept the same table source files; conversion to v1 +binary format made by write-battery-table-v1 discards the battery bars icon +thresholds that were added in v2. === write-charging-config write-charging-config src-file