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

From: Jason Gunthorpe
Date: Tue Mar 14 2017 - 17:24:48 EST


On Tue, Mar 14, 2017 at 07:58:37PM +0100, Peter Huewe wrote:

> >In practice, I suspect that a single user space application won't
> >support both TPMs.
> Think of init scripts.
> Which daemon should it start?

Right, ideally we'd have a udev rule that triggers systemd to start
the userspace daemons when a TPM is detected, as other hardware does.

So whatever format we use has to be compatible with udev's matcher..

Jason