Every 1.0s: sudo ./ioport | hexdump -C -v ; cat /proc/acpi/thermal_zone/THR{1,2}/temperature 00000000 0a a0 01 00 00 00 00 00 00 00 50 0f 0f 0f 0e 0e |. ........P.....| ^^^^^^^^^^^^^^^^^ Event Ring buffer 00000010 0e 0e 00 00 00 00 00 4c 00 80 16 3f 0f 2d 00 00 |.......L...?.-..| ^^^^^ ^^----^^ ^^^^ Head/Tail also 0x18 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 30 00 00 00 00 88 80 00 00 80 80 00 00 |...0............| ^^^^ ^^^^ 0x20 0x80 on screen off 00000050 00 90 90 00 00 00 00 00 00 80 80 00 00 00 00 00 |................| ^^^^ =0x80 battery removed ^^^^ =0x80 on battery/battery discharging? 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000070 00 00 00 00 00 00 00 00 50 00 00 00 00 00 00 00 |........P.......| ^^^^ Changes with Battery removed 0x52 whilst on battery 00000080 03 7a 00 2b 00 00 9f 00 03 7a 01 30 00 00 9f 00 |.z.+.....z.0....| ^^ ^^ Temperature A (M/B) Temperature B (CPU) 00000090 03 7a 11 ff 00 00 9f 00 03 7a 10 ff 00 00 9f 00 |.z.ÿ.....z.ÿ....| ^^ ^^ Fan speed Requested fan speed 000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000000d0 28 2c 37 3c 47 4a 7f 5e 5f 67 7f 7b 5d 55 04 80 |(,7