Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM hardware version

From: Peter Huewe
Date: Tue Mar 14 2017 - 14:59:04 EST




Am 14. MÃrz 2017 19:18:15 MEZ schrieb Ken Goldman <kgold@xxxxxxxxxxxxxxxxxx>:
>On 3/13/2017 3:10 AM, Peter Huewe wrote:
>
>> And yes you are right there is currently no way, except for trial and
>> error, for the userspace to determine this. So an interface to get
>> this information makes sense to me.
>
>In practice, I suspect that a single user space application won't
>support both TPMs.
Think of init scripts.
Which daemon should it start?


> It will send the first command, get an error
>response code that says it's the wrong TPM, and exit.
>
>Note that, although there is no overlap in the command API, the packet
>format is compatible enough that a meaningful response can be returned.
>
>
>
>
>------------------------------------------------------------------------------
>Check out the vibrant tech community on one of the world's most
>engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>_______________________________________________
>tpmdd-devel mailing list
>tpmdd-devel@xxxxxxxxxxxxxxxxxxxxx
>https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

--
Sent from my mobile