comparison rvinterf/etmsync/fsio.help @ 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 3a9b8f9c7225
children 7b24c192a1e1
comparison
equal deleted inserted replaced
754:2cd5ac909e23 755:28d58a8cd704
32 symlink Create a symlink in device FFS 32 symlink Create a symlink in device FFS
33 upload-file Upload a file into device FFS 33 upload-file Upload a file into device FFS
34 upload-fs Upload a complete file system tree into device FFS 34 upload-fs Upload a complete file system tree into device FFS
35 upload-rf-table Upload an RF calibration table into device FFS 35 upload-rf-table Upload an RF calibration table into device FFS
36 upload-subtree Upload a subtree into device FFS 36 upload-subtree Upload a subtree into device FFS
37 write-battery-table Upload table of battery thresholds into device FFS 37 write-battery-table-v1 Upload table of battery thresholds into device FFS (v1)
38 write-battery-table-v2 Upload table of battery thresholds into device FFS (v2)
38 write-charging-config Upload FCHG configuration into device FFS 39 write-charging-config Upload FCHG configuration into device FFS
39 40
40 To get help on any command, type help and the command keyword. 41 To get help on any command, type help and the command keyword.
41 42
42 The RTOS environment inside GSM device firmwares with which this utility 43 The RTOS environment inside GSM device firmwares with which this utility
322 323
323 This command uploads a directory subtree from your Unix host file system into 324 This command uploads a directory subtree from your Unix host file system into
324 the given non-root directory in the target device FFS. 325 the given non-root directory in the target device FFS.
325 326
326 === write-battery-table 327 === write-battery-table
327 write-battery-table src-file 328 === write-battery-table-v1
328 329 === write-battery-table-v2
329 This command provides the mechanism for uploading FreeCalypso-invented battery 330 write-battery-table-v1 src-file
330 discharge threshold tables to target devices. The argument is the name of the 331 write-battery-table-v2 src-file
331 table source file on the host; this source file is read and compiled into the 332
332 corresponding binary representation, and the latter is then written into 333 This command (which now exists in two versions) provides the mechanism for
333 /etc/batterytab on the target. 334 uploading FreeCalypso-invented battery discharge threshold tables to target
335 devices. The argument is the name of the table source file on the host; this
336 source file is read and compiled into the corresponding binary representation,
337 and the latter is then written into /etc/batterytab or /etc/batterytab2 on the
338 target.
339
340 write-battery-table-v1 writes /etc/batterytab as needed for the original
341 Magnetite and Selenite version of FCHG, write-battery-table-v2 writes
342 /etc/batterytab2 (a different binary format) as needed for the new Tourmaline
343 version of FCHG. Both accept the same table source files; conversion to v1
344 binary format made by write-battery-table-v1 discards the battery bars icon
345 thresholds that were added in v2.
334 346
335 === write-charging-config 347 === write-charging-config
336 write-charging-config src-file 348 write-charging-config src-file
337 349
338 This command provides the mechanism for uploading FreeCalypso-invented battery 350 This command provides the mechanism for uploading FreeCalypso-invented battery