Skip to content

Commit

Permalink
TCTI-SPI-LTT2GO: Fix documentation for VID and PID
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Kissinger <paul.kissinger@letstrust.de>
  • Loading branch information
PaulKissinger authored and joholl committed Jul 24, 2023
1 parent 6a745de commit 76afc9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/tcti-spi-ltt2go.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and the `libusb-1.0-0-dev` library for USB communication.

Set udev rules for LetsTrust-TPM2Go by creating a file `/etc/udev/rules.d/60-tpm2go.rules`:
```
ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="0004", TAG+="uaccess"
ATTRS{idVendor}=="365d", ATTRS{idProduct}=="1337", TAG+="uaccess"
```

Activate the udev rules:
Expand All @@ -19,16 +19,16 @@ You should see the following after plugging in the LetsTrust-TPM2Go:
```
dmesg
[ 1019.115823] usb 3-2: new full-speed USB device number 5 using xhci_hcd
[ 1019.480333] usb 3-2: New USB device found, idVendor=04b4, idProduct=0004, bcdDevice= 0.00
[ 1019.480333] usb 3-2: New USB device found, idVendor=365d, idProduct=1337, bcdDevice= 0.00
[ 1019.480360] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1019.480382] usb 3-2: Product: LetsTrust-TPM2Go
[ 1019.480405] usb 3-2: Manufacturer: www.pi3g.com
[ 1019.480426] usb 3-2: SerialNumber: 000010
[ 1019.480426] usb 3-2: SerialNumber: Y23CW29NR00000RND987654321012
sudo udevadm info -e | grep LetsTrust
E: ID_MODEL=LetsTrust-TPM2Go
E: ID_MODEL_ENC=LetsTrust-TPM2Go
E: ID_SERIAL=www.pi3g.com_LetsTrust-TPM2Go_000010
E: ID_SERIAL=www.pi3g.com_LetsTrust-TPM2Go_Y23CW29NR00000RND987654321012
```

Use tcti-spi-ltt2go to communicate with LetsTrust-TPM2Go:
Expand Down

0 comments on commit 76afc9b

Please sign in to comment.