How to Check Whether the TPM Device Is Recognized by the Operating System

Use this procedure to determine whether Oracle Solaris recognizes the installed TPM device. This procedure applies to both SPARC and x86 systems.

  1. In a terminal window, issue the following command:
    # prtconf -v |grep tpm
    

    If the TPM device is recognized, the command generates output similar to the following:

    # prtconf -v |grep tpm
    tpm, instance #0
    dev_path=/pci@0,0/isa@lf/tpm@0,fed40000:tpm
    dev_link=/dev/tpm

    If no output is generated, then TPM might be disabled. For information about how to enable the device, see either How to Initialize TPM Using the Oracle ILOM Interface (SPARC Only) or How to Initialize TPM Using BIOS (x86 Only) depending on your system's platform.

    Note:

    As an alternative, you can also use the ls command to obtain the same information. However, the output would contain less information than the prtconf command provides.

    # ls -l /dev/tpm
    lrwxrwxrwx  1 root root  44 May 22 2012 /dev/tpm ->
    ../devices/pci@0,0/isa@lf/tpm@0,fed40000:tpm