8

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 ?

Kapel
  • 337
  • 2
  • 7
  • 18

3 Answers3

4

As FedonKadifeli commented, you could use the tpm_version program from the tpm-tools package.

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