View Single Post
Old 08-05-2013, 12:41 PM   #1
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
[KUALette] Hardware Report

This is a corrected and extended function button for reporting the K5 hardware environment.

  • Fixes some typo's in version 1.0
  • Reports on the hardware board details (for troubleshooting things).
  • Reports on the battery condition from the kernel's /sys/devices tree.


Tested on Kpw, should also work on Kindle Touch but not tested.

Un-archiving the zip file will create a directory 'HardWare' with contents and a sub-tree (same as other KUAL buttons).

Copy the 'HardWare' folder, and its sub-tree into your */extensions directory for KUAL (same as other KUAL buttons).

If you should find a file named: '1' in */extensions/HardWare/bin, that file can be safely deleted. It is the result of the typos in version-1.0.

Titled as a "KUALette" because there is no 'upstream source' - its all scripting, what you see in the files is all there is (plus the lab126 functions it calls).

Code:
Hardware Version Report
  Board: celeste
  Revision: 22
  Platform: yoshime3

Battery Status Report
  Battery ID: 10
  Battery capacity: 99%
  Charging voltage: 4190 mv.
  Charging current: 112 ma.
  Current charge: 1376 maH.
  Last measured discharge: 1386 ma.
Attached Thumbnails
Click image for larger version

Name:	Hardware-tree.png
Views:	532
Size:	57.3 KB
ID:	108958  
Attached Files
File Type: zip HardWare-1.1.zip (1.7 KB, 312 views)

Last edited by knc1; 08-05-2013 at 02:25 PM.
knc1 is offline   Reply With Quote