Purpose:
To show how to read PSU status on FWA-2112.
Scope:
FWA-2112 SKUs with redundant PSU.
Target Audience:
Advantechers technician
FWA-2112 users
Steps:
Most ENPD products support reading PSU status by aps tool if it supports PMbus function.
FWA-2112 has a different hardware design and need to install a driver named i2c_mcp2221 before running aps command.
If not, you will get following information and cannot get PSU status.
# lsmod | grep -i i2c i2c_i801 32768 0 i2c_algo_bit 16384 1 igb
# aps -p FWA-2112 -s YM-2121a Fail to send command to i2c device,please make sure the i2c driver has been loaded.
|
Here are the steps to install the driver and run aps command.
1. Unpack the driver package
2. Compile and install it
# make modules # make install # ./driver_load.sh
|
3. Now you can see i2c_mcp2221 module is loaded
# lsmod | grep -i i2c i2c_mcp2221 16384 0 i2c_i801 32768 0 i2c_algo_bit 16384 1 igb
|
4. Then you can run aps tool and get power status as the following.
# aps -p FWA-2112 -s YM-2121a --------------------------------------------------------------- NAME | VALUE | STATUS | TYPE --------------------------------------------------------------- PSU_STATUS_WORD | 0 | OK | INFO PSU_12_OUT-VOL | 12.00 | OK | VOL PSU_12_OUT-CUR | 0.24 | REF | CUR PSU_5_OUT-VOL | 5.15 | OK | VOL PSU_5_OUT-CUR | 1.66 | REF | CUR PSU_3_3_OUT-VOL | 3.36 | OK | VOL PSU_3_3_OUT-CUR | 2.75 | REF | CUR PSU1 | 1 | RUN | DEV PSU1_STATUS_WORD | 0 | OK | INFO PSU1_12_OUT-VOL | 12.31 | OK | VOL PSU1_12_OUT-CUR | 0.90 | REF | CUR PSU1_TEMP1-TMP | 38.00 | OK | TEMP PSU1_TEMP2-TMP | 32.00 | OK | TEMP PSU2 | 1 | RUN | DEV PSU2_STATUS_WORD | 0 | OK | INFO PSU2_12_OUT-VOL | 12.33 | OK | VOL PSU2_12_OUT-CUR | 1.16 | REF | CUR PSU2_TEMP1-TMP | 38.00 | OK | TEMP PSU2_TEMP2-TMP | 33.00 | OK | TEMP
|
Comments
0 comments
Please sign in to leave a comment.