Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GT: Support sensor reading #333

Conversation

Quanta-YangChen
Copy link
Collaborator

@Quanta-YangChen Quanta-YangChen commented Jun 14, 2022

Summary:

  • Support TMP75 sensor reading
  • Support VR sensor reading
  • Support ADC sensor reading
  • Support HSC sensor reading
  • Support PEX sensor reading
  • Support NVME sensor reading
  • Because PEX can only access when DC is ON, so add one ISR if DC is on then do pex89000_init later.
  • Add mutex to protect some bus which has i2c mux.

Dependency: #332

Test Plan:

  • Build code: Pass
  • Get sensor reading: Pass

Log:
Get sensor reading from BMC.
Formula = [Byte18, Byte17]h + ([Byte20, Byte19]h / 1000)

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x1 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 48 00 00 00 c0
sensor number 0x01
value = 0x0048 + 0x0000/1000 = 72.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x2 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 58 00 c0
sensor number 0x02
value = 0x000c + 0x0058/1000 = 12.88

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x3 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 98 00 c0
sensor number 0x03
value = 0x0001 + 0x0098/1000 = 1.152

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x4 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0d 00 63 03 c0
sensor number 0x04
value = 0x000d + 0x0363/1000 = 13.867

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x5 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 38 00 00 00 c0
sensor number 0x05
value = 0x0038 + 0x0000/1000 = 56.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x6 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 44 00 c0
sensor number 0x06
value = 0x000c + 0x0044/1000 = 12.68

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x7 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 89 00 c0
sensor number 0x07
value = 0x0001 + 0x0089/1000 = 1.137

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0d 00 9f 02 c0
sensor number 0x08
value = 0x000d + 0x029f/1000 = 13.671

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 3e 00 00 00 c0
sensor number 0x0a
value = 0x003e + 0x0000/1000 = 62.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 48 00 c0
sensor number 0x0b
value = 0x000c + 0x0048/1000 = 12.72

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xc 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 58 00 c0
sensor number 0x0c
value = 0x0001 + 0x0058/1000 = 1.88

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xd 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 dc 03 c0
sensor number 0x0d
value = 0x000c + 0x03dc/1000 = 12.988

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x11 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 36 00 00 00 c0
sensor number 0x11
value = 0x0036 + 0x0000/1000 = 54.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x12 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 44 00 c0
sensor number 0x12
value = 0x000c + 0x0044/1000 = 12.68

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x13 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 a6 00 c0
sensor number 0x13
value = 0x0001 + 0x00a6/1000 = 1.166

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x14 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0e 00 3e 00 c0
sensor number 0x14
value = 0x000e + 0x003e/1000 = 14.62

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x15 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 36 00 00 00 c0
sensor number 0x15
value = 0x0036 + 0x0000/1000 = 54.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x16 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 44 00 c0
sensor number 0x16
value = 0x000c + 0x0044/1000 = 12.68

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x17 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 76 00 c0
sensor number 0x17
value = 0x0001 + 0x0076/1000 = 1.118

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x18 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0d 00 dc 01 c0
sensor number 0x18
value = 0x000d + 0x01dc/1000 = 13.476

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x1a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 32 00 00 00 c0
sensor number 0x1a
value = 0x0032 + 0x0000/1000 = 50.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x1b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0x1b
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x1c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 7f 00 c0
sensor number 0x1c
value = 0x0001 + 0x007f/1000 = 1.127

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x1d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0d 00 3e 02 c0
sensor number 0x1d
value = 0x000d + 0x023e/1000 = 13.574

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x21 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 3c 00 00 00 c0
sensor number 0x21
value = 0x003c + 0x0000/1000 = 60.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x22 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0x22
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x23 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 ba 02 c0
sensor number 0x23
value = 0x0000 + 0x02ba/1000 = 0.698

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x24 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 08 00 8e 01 c0
sensor number 0x24
value = 0x0008 + 0x018e/1000 = 8.398

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x25 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 39 00 00 00 c0
sensor number 0x25
value = 0x0039 + 0x0000/1000 = 57.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x26 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0x26
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x27 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 93 00 c0
sensor number 0x27
value = 0x0001 + 0x0093/1000 = 1.147

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x28 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0d 00 01 03 c0
sensor number 0x28
value = 0x000d + 0x0301/1000 = 13.769

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x2a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 25 00 00 00 c0
sensor number 0x2a
value = 0x0025 + 0x0000/1000 = 37.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x2b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 3e 00 c0
sensor number 0x2b
value = 0x000c + 0x003e/1000 = 12.62

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x2c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0b 00 fa 00 c0
sensor number 0x2c
value = 0x000b + 0x00fa/1000 = 11.250

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x2d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 8b 00 00 00 c0
sensor number 0x2d
value = 0x008b + 0x0000/1000 = 139.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x30 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 79 00 c0
sensor number 0x30
value = 0x000c + 0x0079/1000 = 12.121

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x31 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 05 00 01 00 c0
sensor number 0x31
value = 0x0005 + 0x0001/1000 = 5.1

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x32 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 24 01 c0
sensor number 0x32
value = 0x0003 + 0x0124/1000 = 3.292

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x33 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 c4 00 c0
sensor number 0x33
value = 0x0001 + 0x00c4/1000 = 1.196

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x34 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 30 01 c0
sensor number 0x34
value = 0x0003 + 0x0130/1000 = 3.304

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x35 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 1c 03 c0
sensor number 0x35
value = 0x0001 + 0x031c/1000 = 1.796

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x36 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 1c 03 c0
sensor number 0x36
value = 0x0001 + 0x031c/1000 = 1.796

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x37 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 25 03 c0
sensor number 0x37
value = 0x0001 + 0x0325/1000 = 1.805

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x38 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 1c 03 c0
sensor number 0x38
value = 0x0001 + 0x031c/1000 = 1.796

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x40 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 2e 00 00 00 c0
sensor number 0x40
value = 0x002e + 0x0000/1000 = 46.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x41 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 30 03 c0
sensor number 0x41
value = 0x0000 + 0x0330/1000 = 0.816

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x42 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 15 00 c8 00 c0
sensor number 0x42
value = 0x0015 + 0x00c8/1000 = 21.200

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x43 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 10 00 00 00 c0
sensor number 0x43
value = 0x0010 + 0x0000/1000 = 16.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x44 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 10 01 c0
sensor number 0x44
value = 0x0001 + 0x0110/1000 = 1.272

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x45 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 09 00 94 01 c0
sensor number 0x45
value = 0x0009 + 0x0194/1000 = 9.404

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x46 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0b 00 92 03 c0
sensor number 0x46
value = 0x000b + 0x0392/1000 = 11.914

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x47 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 2e 00 00 00 c0
sensor number 0x47
value = 0x002e + 0x0000/1000 = 46.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x48 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 30 03 c0
sensor number 0x48
value = 0x0000 + 0x0330/1000 = 0.816

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x49 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 14 00 bc 02 c0
sensor number 0x49
value = 0x0014 + 0x02bc/1000 = 20.700

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x4a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 10 00 00 00 c0
sensor number 0x4a
value = 0x0010 + 0x0000/1000 = 16.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x4b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 10 01 c0
sensor number 0x4b
value = 0x0001 + 0x0110/1000 = 1.272

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x4c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 09 00 bb 01 c0
sensor number 0x4c
value = 0x0009 + 0x01bb/1000 = 9.443

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x4d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 0b 00 c0
sensor number 0x4d
value = 0x000c + 0x000b/1000 = 12.11

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x50 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 2b 00 00 00 c0
sensor number 0x50
value = 0x002b + 0x0000/1000 = 43.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x51 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 30 03 c0
sensor number 0x51
value = 0x0000 + 0x0330/1000 = 0.816

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x52 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 15 00 00 00 c0
sensor number 0x52
value = 0x0015 + 0x0000/1000 = 21.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x53 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 10 00 00 00 c0
sensor number 0x53
value = 0x0010 + 0x0000/1000 = 16.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x54 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 14 01 c0
sensor number 0x54
value = 0x0001 + 0x0114/1000 = 1.276

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x55 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 09 00 d9 03 c0
sensor number 0x55
value = 0x0009 + 0x03d9/1000 = 9.985

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x56 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 b7 02 c0
sensor number 0x56
value = 0x000c + 0x02b7/1000 = 12.695

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x57 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 2b 00 00 00 c0
sensor number 0x57
value = 0x002b + 0x0000/1000 = 43.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x58 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 30 03 c0
sensor number 0x58
value = 0x0000 + 0x0330/1000 = 0.816

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x59 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 12 00 2c 01 c0
sensor number 0x59
value = 0x0012 + 0x012c/1000 = 18.300

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x5a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0f 00 00 00 c0
sensor number 0x5a
value = 0x000f + 0x0000/1000 = 15.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x5b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 0c 01 c0
sensor number 0x5b
value = 0x0001 + 0x010c/1000 = 1.268

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x5c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 08 00 f7 02 c0
sensor number 0x5c
value = 0x0008 + 0x02f7/1000 = 8.759

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x5d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0b 00 23 00 c0
sensor number 0x5d
value = 0x000b + 0x0023/1000 = 11.35

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x60 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 01 00 2c 03 c0
sensor number 0x60
value = 0x0001 + 0x032c/1000 = 1.812

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x61 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 1d 00 c0
sensor number 0x61
value = 0x0000 + 0x001d/1000 = 0.29

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x62 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 00 00 c0
sensor number 0x62
value = 0x0000 + 0x0000/1000 = 0.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x6a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 3e 00 31 02 c0
sensor number 0x6a
value = 0x003e + 0x0231/1000 = 62.561

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x6b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 3d 00 51 03 c0
sensor number 0x6b
value = 0x003d + 0x0351/1000 = 61.849

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x6c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 3b 00 b5 03 c0
sensor number 0x6c
value = 0x003b + 0x03b5/1000 = 59.949

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x6d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 39 00 50 01 c0
sensor number 0x6d
value = 0x0039 + 0x0150/1000 = 57.336

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x70 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 23 00 00 00 c0
sensor number 0x70
value = 0x0023 + 0x0000/1000 = 35.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x71 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 24 00 00 00 c0
sensor number 0x71
value = 0x0024 + 0x0000/1000 = 36.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x72 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 26 00 00 00 c0
sensor number 0x72
value = 0x0026 + 0x0000/1000 = 38.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x73 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 21 00 00 00 c0
sensor number 0x73
value = 0x0021 + 0x0000/1000 = 33.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x74 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 24 00 00 00 c0
sensor number 0x74
value = 0x0024 + 0x0000/1000 = 36.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x80 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 20 00 00 00 c0
sensor number 0x80
value = 0x0020 + 0x0000/1000 = 32.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x81 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0x81
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x82 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 16 01 c0
sensor number 0x82
value = 0x0000 + 0x0116/1000 = 0.278

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x83 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 40 01 c0
sensor number 0x83
value = 0x0003 + 0x0140/1000 = 3.320

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x84 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 20 00 00 00 c0
sensor number 0x84
value = 0x0020 + 0x0000/1000 = 32.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x85 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0x85
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x86 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 07 01 c0
sensor number 0x86
value = 0x0000 + 0x0107/1000 = 0.263

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x87 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0x87
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x88 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 26 00 00 00 c0
sensor number 0x88
value = 0x0026 + 0x0000/1000 = 38.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x89 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0x89
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 07 01 c0
sensor number 0x8a
value = 0x0000 + 0x0107/1000 = 0.263

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0x8b
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 24 00 00 00 c0
sensor number 0x8c
value = 0x0024 + 0x0000/1000 = 36.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 54 00 c0
sensor number 0x8d
value = 0x000c + 0x0054/1000 = 12.84

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8e 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 0c 01 c0
sensor number 0x8e
value = 0x0000 + 0x010c/1000 = 0.268

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x8f 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 de 00 c0
sensor number 0x8f
value = 0x0003 + 0x00de/1000 = 3.222

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x90 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 26 00 00 00 c0
sensor number 0x90
value = 0x0026 + 0x0000/1000 = 38.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x91 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 54 00 c0
sensor number 0x91
value = 0x000c + 0x0054/1000 = 12.84

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x92 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 0c 01 c0
sensor number 0x92
value = 0x0000 + 0x010c/1000 = 0.268

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x93 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 de 00 c0
sensor number 0x93
value = 0x0003 + 0x00de/1000 = 3.222

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x94 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 26 00 00 00 c0
sensor number 0x94
value = 0x0026 + 0x0000/1000 = 38.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x95 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0x95
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x96 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 0c 01 c0
sensor number 0x96
value = 0x0000 + 0x010c/1000 = 0.268

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x97 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 de 00 c0
sensor number 0x97
value = 0x0003 + 0x00de/1000 = 3.222

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x98 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 26 00 00 00 c0
sensor number 0x98
value = 0x0026 + 0x0000/1000 = 38.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x99 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0x99
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x9a 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 07 01 c0
sensor number 0x9a
value = 0x0000 + 0x0107/1000 = 0.263

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x9b 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0x9b
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x9c 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 22 00 00 00 c0
sensor number 0x9c
value = 0x0022 + 0x0000/1000 = 34.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x9d 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0x9d
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x9e 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 07 01 c0
sensor number 0x9e
value = 0x0000 + 0x0107/1000 = 0.263

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0x9f 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0x9f
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa0 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 20 00 00 00 c0
sensor number 0xa0
value = 0x0020 + 0x0000/1000 = 32.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa1 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0xa1
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa2 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 02 01 c0
sensor number 0xa2
value = 0x0000 + 0x0102/1000 = 0.258

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa3 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0xa3
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa4 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 02 00 00 00 c0
sensor number 0xa4
value = 0x0002 + 0x0000/1000 = 2.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa5 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0xa5
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa6 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 11 01 c0
sensor number 0xa6
value = 0x0000 + 0x0111/1000 = 0.273

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa7 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 de 00 c0
sensor number 0xa7
value = 0x0003 + 0x00de/1000 = 3.222

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa8 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 02 00 00 00 c0
sensor number 0xa8
value = 0x0002 + 0x0000/1000 = 2.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xa9 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0xa9
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xaa 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 0c 01 c0
sensor number 0xaa
value = 0x0000 + 0x010c/1000 = 0.268

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xab 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 de 00 c0
sensor number 0xab
value = 0x0003 + 0x00de/1000 = 3.222

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xac 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 20 00 00 00 c0
sensor number 0xac
value = 0x0020 + 0x0000/1000 = 32.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xad 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0xad
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xae 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 02 01 c0
sensor number 0xae
value = 0x0000 + 0x0102/1000 = 0.258

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xaf 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0xaf
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb0 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 20 00 00 00 c0
sensor number 0xb0
value = 0x0020 + 0x0000/1000 = 32.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb1 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0xb1
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb2 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 02 01 c0
sensor number 0xb2
value = 0x0000 + 0x0102/1000 = 0.258

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb3 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0xb3
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb4 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 20 00 00 00 c0
sensor number 0xb4
value = 0x0020 + 0x0000/1000 = 32.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb5 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 58 00 c0
sensor number 0xb5
value = 0x000c + 0x0058/1000 = 12.88

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb6 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 11 01 c0
sensor number 0xb6
value = 0x0000 + 0x0111/1000 = 0.273

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb7 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 de 00 c0
sensor number 0xb7
value = 0x0003 + 0x00de/1000 = 3.222

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb8 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 22 00 00 00 c0
sensor number 0xb8
value = 0x0022 + 0x0000/1000 = 34.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xb9 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 4c 00 c0
sensor number 0xb9
value = 0x000c + 0x004c/1000 = 12.76

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xba 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 07 01 c0
sensor number 0xba
value = 0x0000 + 0x0107/1000 = 0.263

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xbb 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0xbb
value = 0x0003 + 0x007d/1000 = 3.125

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xbc 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 22 00 00 00 c0
sensor number 0xbc
value = 0x0022 + 0x0000/1000 = 34.0

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xbd 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 0c 00 50 00 c0
sensor number 0xbd
value = 0x000c + 0x0050/1000 = 12.80

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xbe 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 00 00 02 01 c0
sensor number 0xbe
value = 0x0000 + 0x0102/1000 = 0.258

root@bmc-oob:~# mctp-util 3 0x40 0x0a 0x01 0x80 0x3f 0x01 0x15 0xa0 0x00 0xe0 0x23 0x15 0xa0 0x00 0xbf 0x00
00 13 01 00 3f 01 00 15 a0 00 e4 23 00 15 a0 00 03 00 7d 00 c0
sensor number 0xbf
value = 0x0003 + 0x007d/1000 = 3.125

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 14, 2022
@facebook-github-bot
Copy link
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary:
- Support TMP75 sensor reading
- Support VR sensor reading
- Support ADC sensor reading
- Support HSC sensor reading
- Support PEX sensor reading
- Support NVME sensor reading
- Because PEX can only access when DC ON, so add one ISR if DC on then do pex89000_init later.
- Add mutex to protect some bus which has i2c mux.

Test Plan:
- Build code: Pass
@facebook-github-bot
Copy link
Contributor

@Quanta-YangChen has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot pushed a commit that referenced this pull request Jun 21, 2022
Summary:
- Add command in oem_1s_handler.c to read multiple sensor
- NetFn: 0x38/Cmd: 0x88
- Request:
	Data 0 ~ Data N (N less than or equal to 32) multiple sensor number
  Response:
  	[sensor num][decimal byte 0][decimal byte 1][fraction byte 0][fraction byte 1][status] * N
	Note: If the sensor number is not supported will respond 6 bytes 0xff

Dependency: #333

Pull Request resolved: #334

Test Plan: - Build code: Pass

Reviewed By: garnermic

Differential Revision: D37154728

Pulled By: GoldenBug

fbshipit-source-id: d0d24691f247390429af534044a1d3768824434d
@Quanta-YangChen Quanta-YangChen deleted the PR/Support_sensor_reading branch August 16, 2022 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants