close

TPM (Trusted Platform Module) 2.0 Linux Easily Check Device Exist And Base Function

 

Base O

Check the device exist or not:

1. Check Device Exist Command# dmesg |grep -i tpm 
--> Linux Not Detect TPM:  No TPM chip found (example)
--> Linux Detect TPM: tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1B, rev-id 22)

2. Check Device Exist Command# ls -d /sys/kernel/security/tpm*
 

Check the device function work or not.
1. Check Device Function Command# tpm2_getrandom 20
--> If succes. There are random value will display on terminal.
--> If no device: There are feeback some ERROR msg.

 

Others:

TPM Version:
1. cat /sys/class/tpm/tpm0/tpm_version_major

[BIOS]: Physical Presence Spec Version: 
1. Check the version of Physical Presence Spec: cat /sys/class/tpm/tpm0/ppi/version

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 吾給力 的頭像
    吾給力

    吾給力的部落格

    吾給力 發表在 痞客邦 留言(0) 人氣()