Hi,

I was looking at the manual page for tpm(4) and noticed that it has
something to to with suspend/resume:

>      Functionality is limited to instructing the device to save its
>      state before a system suspend.

The X1 5th generation has a MSFT0101 TPM chip which we don't yet attach
a driver to. tpm(4) seems happy to attach to with the following small
change. Then in dmesg I have:

tpm0 at acpi0: TPM_ addr 0xfed40000/0x5000: device 0x001b15d1 rev 0x10

There are no errors relating to tpm in the dmesg.

Sadly having tpm(4) attached doesn't fix suspend/resume on this machine,
but I wonder if the tpm driver should be used on this machine anyway? I
know nothing about tpm (really, I'm just stabbing in the dark here), so
I'm hoping someone else will have more of an idea.

Thanks


Index: tpm.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/tpm.c,v
retrieving revision 1.3
diff -u -p -r1.3 tpm.c
--- tpm.c       1 Jul 2018 19:40:49 -0000       1.3
+++ tpm.c       11 Mar 2019 10:57:38 -0000
@@ -194,6 +194,7 @@ const char *tpm_hids[] = {
        "BCM0102",
        "NSC1200",
        "ICO0102",
+       "MSFT0101",
        NULL
 };
 

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to