1
# This file is part of Checkbox.
3
# Copyright 2015 Canonical Ltd.
5
# Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
7
# Checkbox is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License version 3,
9
# as published by the Free Software Foundation.
11
# Checkbox is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with Checkbox. If not, see <http://www.gnu.org/licenses/>.
20
id: recovery/lenovo/clear-tpm-chip
23
_summary: Clear ownership of TPM chip (Lenovo)
25
Some Lenovo laptops lock out physical presence attribute before BIOS hands off
26
control to the operating system. In order to perform subsequent tests you will
27
need to clear the TPM (Trusted Platform Module) chip on the DUT (Device Under
30
CAUTION: Do not clear the TPM chip on production machine where it may
31
hold encryption keys to your valuable data! Doing so will render this
34
Please only perform this step if:
36
- You DO NOT know the owner password of the TPM chip
37
- You intend to execute this TPM test suite
38
- There is no valuable data that may be encrypted with the aid of the TPM chip
40
To clear the TPM chip now, write down the following instructions and exit the
43
INSTRUCTIONS FOR CLEARING THE TPM CHIP:
45
- Commence the test to power the machine off.
46
- Press and hold the F1 key on your keyboard.
47
- Power the machine on.
48
- Wait for the system to enter BIOS.
49
- Navigate to TPM menu, the precise location may depend on your BIOS version
50
and the make and model of your DUT. On some models it is under the
51
following menu: Security / Clear Security Chip. This menu is *NOT* present
52
under normal conditions.
53
- Ensure that the Clear Security Chip option is present and enabled.
54
- Save BIOS settings and restart the machine
55
- Let the machine boot
56
- Restart the testing application
59
flags: preserve-locale noreturn
60
requires: sysfs_dmi.bios_vendor == "LENOVO" and sysfs_tpm.owned == "1"
61
estimated_duration: 5m