Using BlackDog System Information
The BlackDog device provides your applications with the ability to communicate with, or check on, system events or other application events. In these situations you can read proc files to check for events. These files are stored in three locations: /proc/sys/debug, /proc/sys/realm, and /dev/. The following directories contain files that may interest BlackDog application developers:
/proc/sys/debug
- evacusb_win_host. Indicates whether the USB connection is to a Windows host. Returns: 1 = Windows, 2 = Not Windows, 3 = Unknown.
/proc/sys/realm
- bootmagic. Bootloader configuration file (should not be modified).
- batterycharged. Indicates the battery "charged" boolean value (1 or 0).
- bootversion. Indicates the version of the BlackDog Bootloader.
- buspower. Indicates the boolean value (1 or 0) for whether the BlackDog is running on power supplied by the USB bus.
- ip_of_doom. Indicates the IP address communicated by the Network Scanner program.
/dev/
- mps_unplug. Indicates whether the device was unplugged. Returns a "!" if so; it blocks, otherwise.
 |
 |
 |
Copyright © Realm Systems, Inc. 2003-2005.
All rights reserved.
|
|