From b6fd5147a0618019af0d1d6d597492014354da3b Mon Sep 17 00:00:00 2001 From: chench Date: Thu, 17 Oct 2024 17:53:36 +0800 Subject: [PATCH] Add udev rules to create tcm devices TCM is a Chinese standard and is compatible with TPM. Therefore, you also need to add udev rules to create the TCM device node. Signed-off-by: chench246 --- dist/tpm-udev.rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/tpm-udev.rules b/dist/tpm-udev.rules index d7745b4d8..fde36bb57 100644 --- a/dist/tpm-udev.rules +++ b/dist/tpm-udev.rules @@ -2,3 +2,5 @@ # group members can access tpmrm devices KERNEL=="tpm[0-9]*", TAG+="systemd", MODE="0660", OWNER="tss" KERNEL=="tpmrm[0-9]*", TAG+="systemd", MODE="0660", GROUP="tss" +KERNEL=="tcm[0-9]*", TAG+="systemd", MODE="0660", OWNER="tss" +KERNEL=="tcmrm[0-9]*", TAG+="systemd", MODE="0660", GROUP="tss"