What Terminal command I should make in Ubuntu in order to find out which TPM version I have, i.e TPM version 1.2 or 2.0 ?
Asked
Active
Viewed 1.6k times
3 Answers
4
As FedonKadifeli commented, you could use the tpm_version program from the tpm-tools package.
Jeff Schaller
- 325
2
Can't personally verify on machines that have TPM 1.2 but this command worked for my three Ubuntu machines that have TPM 2:
$ cat /sys/class/tpm/tpm0/tpm_version_major
2
As mentioned in one of the other answers, you can also use the below:
$ cat /sys/class/tpm/tpm0/device/firmware_node/description
TPM 2.0 Device
However, on one of my machines, I had to use this instead:
$ cat /sys/class/tpm/tpm0/device/description
TPM 2.0 Device
Aaron K
- 21
- 2
1
Another command works well also:
$ sudo dmesg | grep -i tpm | grep -i Reserving
will result in:
[ 0.007734] ACPI: Reserving TPM2 table memory at [mem 0x41ac6000-0x41ac604b]
Rinzwind
- 309,379
Kirk Pearson
- 27