MB:2I640HW

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ?)
Current revision (08:56, 14 September 2022) (edit) (undo)
(edited by Nico via TableEdit)
 
(6 intermediate revisions not shown.)
Line 9: Line 9:
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" id='565'
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" id='565'
|- bgcolor = #ccccff
|- bgcolor = #ccccff
-
!O.S.!!CPU!!Rev!!Boot type!!eDP!!LVDS!!HDMI!!三輸出!!Touch!!M.2(B key)!!MPCE1!!SATA!!nano SIM!!Mic-in!!Line-out!!USB2.0!!USB3.0(type-C)!!PCIE(type-C)!!LAN10(I211)!!LAN100(I211)!!LAN1000(I211)!!COM-232!!COM-422!!COM-485!!F81966!!WDT/DIO!!FTPM2.0!!Download !!Patch
+
!O.S.!!CPU!!Rev!!Boot type!!eDP!!LVDS!!HDMI!!三輸出!!Touch!!M.2(B key)!!MPCE1!!SATA!!nano SIM!!Mic-in!!Line-out!!USB2.0!!USB3.0(type-C)!!PCIE(type-C)!!LAN10(I211)!!LAN100(I211)!!LAN1000(I211)!!LAN10(I225)!!LAN100(I225)!!LAN1000(I225)!!LAN2500(I225)!!COM-232!!COM-422!!COM-485!!F81966!!WDT/DIO!!FTPM2.0!!DTPM2.0!!Download !!Patch
|-
|-
|
|
Line 53: Line 53:
|
|
Yes
Yes
 +
|
 +
-
 +
|
 +
-
 +
|
 +
-
 +
|
 +
-
|
|
Yes
Yes
Line 65: Line 73:
|
|
Yes
Yes
 +
|
 +
-
|
|
Line 112: Line 122:
|
|
Yes
Yes
 +
|
 +
-
 +
|
 +
-
 +
|
 +
-
 +
|
 +
-
|
|
Yes
Yes
Line 124: Line 142:
|
|
Yes
Yes
 +
|
 +
-
 +
|
 +
 +
|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es
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
-
 +
|
 +
-
 +
|
 +
-
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
-
 +
|
 +
 +
|
 +
Kernel->5.15.0-47-generic
 +
|-
 +
|
 +
Fedora36
 +
|
 +
Celeron J6412
 +
|
 +
0.4
 +
|
 +
UEFI
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
-
 +
|
 +
-
 +
|
 +
-
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
-
|
|
Line 146: Line 442:
!bgcolor = #ccccff |Asker:
!bgcolor = #ccccff |Asker:
!bgColor = #F3F3F3 align="left"|
!bgColor = #F3F3F3 align="left"|
-
[[User:Nico|Nico]] 11:00, 17 Augest 2021 (CST)
+
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
-
[[User:Tracy|Tracy]] 11:09, 11 January 2022 (CST)
+
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
|-
|-
!bgcolor = #ccccff |Provider:
!bgcolor = #ccccff |Provider:
!bgColor = #F3F3F3 align="left"|
!bgColor = #F3F3F3 align="left"|
-
[[User:Nico|Nico]] 11:00, 17 Augest 2021 (CST)
+
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
-
[[User:Tracy|Tracy]] 11:09, 11 January 2022 (CST)
+
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
|-
|-
|}
|}
Line 164: Line 460:
enter command in root
enter command in root
 +
$ls -alh /dev/tpm*
$ls -alh /dev/tpm*
 +
show message like this line
show message like this line
crw-rw-rw-. 1 tss root 10, 224 4. Jul 19 04:15 /dev/tpm0
crw-rw-rw-. 1 tss root 10, 224 4. Jul 19 04:15 /dev/tpm0
crw-rw-rw-. 1 tss tss 253, 65536 4. Jul 19 04:15 /dev/tpmrm0
crw-rw-rw-. 1 tss tss 253, 65536 4. Jul 19 04:15 /dev/tpmrm0
 +
(2)Second, Create the file
(2)Second, Create the file
$gedit /etc/udev/rules.d/80-tpm-2.rules
$gedit /etc/udev/rules.d/80-tpm-2.rules
 +
Enter this info to the text
Enter this info to the text
Line 180: Line 480:
Safe the text and Reboot your computer
Safe the text and Reboot your computer
 +
(3)Install package in you os
(3)Install package in you os
Line 190: Line 491:
$dnf install clevis clevis-luks clevis-udisks2 clevis-dracut
$dnf install clevis clevis-luks clevis-udisks2 clevis-dracut
 +
$dracut -f
$dracut -f
 +
(4)Test the encryption and decryption function
(4)Test the encryption and decryption function
$echo Hello World | clevis encrypt tpm2 '{}' > test.txt
$echo Hello World | clevis encrypt tpm2 '{}' > test.txt
 +
$cat test.txt
$cat test.txt
 +
$clevis decrypt tpm2 < test.txt
$clevis decrypt tpm2 < test.txt
 +
When you just use cat will get garbled
When you just use cat will get garbled
 +
use clevis to show the file can get real text in file "Hello world"
use clevis to show the file can get real text in file "Hello world"
 +
On behalf of the successful encryption and decryption, the FTPM2.0 function can be used
On behalf of the successful encryption and decryption, the FTPM2.0 function can be used

Current revision

O.S.CPURevBoot typeeDPLVDSHDMI三輸出TouchM.2(B key)MPCE1SATAnano SIMMic-inLine-outUSB2.0USB3.0(type-C)PCIE(type-C)LAN10(I211)LAN100(I211)LAN1000(I211)LAN10(I225)LAN100(I225)LAN1000(I225)LAN2500(I225)COM-232COM-422COM-485F81966WDT/DIOFTPM2.0DTPM2.0Download Patch

Ubuntu22.04 Lts

Celeron J6412

0.3

UEFI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

-

-

Yes

Yes

Yes

Yes

Yes

Yes

-

Kernel->5.15.0-25-generic

Fedora36

Celeron J6412

0.3

UEFI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

-

-

Yes

Yes

Yes

Yes

Yes

Yes

-

Kernel->5.17.5-300.fc36.x86_64

Ubuntu22.04 Lts

Atom x6413E

0.3

UEFI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

-

-

Yes

Yes

Yes

Yes

Yes

Yes

-

Kernel->5.15.0-25-generic

Fedora36

Atom x6413E

0.3

UEFI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

-

-

Yes

Yes

Yes

Yes

Yes

Yes

-

5.17.5-300.fc36.x86_64

Ubuntu22.04 Lts

Celeron J6412

0.4

UEFI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

-

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

Kernel->5.15.0-47-generic

Fedora36

Celeron J6412

0.4

UEFI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

-

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

Kernel->5.17.5-300.fc36.x86_64

edit table

FAQ for 2I640HW

1.How can I correction touch in Ubuntu22.04/Fedora36 ?

Ans:

If you wnat to correction touch in Ubuntu22.04 /Fedora 36

you need to log in xorg mode

Asker:

Nico 17:48, 11 July 2022 (CST) Nico 17:48, 11 July 2022 (CST)

Provider:

Nico 17:48, 11 July 2022 (CST) Nico 17:48, 11 July 2022 (CST)

2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ?

Ans:

(1)First, You need to check FTPM2.0 can use

enter command in root

$ls -alh /dev/tpm*

show message like this line

crw-rw-rw-. 1 tss root 10, 224 4. Jul 19 04:15 /dev/tpm0
crw-rw-rw-. 1 tss tss 253, 65536 4. Jul 19 04:15 /dev/tpmrm0


(2)Second, Create the file

$gedit /etc/udev/rules.d/80-tpm-2.rules

Enter this info to the text

tpm 2 devices need to be world readable
SUBSYSTEM=="tpm", ACTION=="add", MODE="0666"
SUBSYSTEM=="tpmrm", ACTION=="add", MODE="0666"

Safe the text and Reboot your computer


(3)Install package in you os

<Ubuntu22.04 Lts>

$apt-get install clevis clevis-luks clevis-udisks2 clevis-dracut clevis-tpm2

<Fedora36>

$dnf install clevis clevis-luks clevis-udisks2 clevis-dracut

$dracut -f


(4)Test the encryption and decryption function

$echo Hello World | clevis encrypt tpm2 '{}' > test.txt

$cat test.txt

$clevis decrypt tpm2 < test.txt


When you just use cat will get garbled

use clevis to show the file can get real text in file "Hello world"

On behalf of the successful encryption and decryption, the FTPM2.0 function can be used


Asker:

Nico 17:48, 11 July 2022 (CST) Nico 17:48, 11 July 2022 (CST)

Provider:

Nico 17:48, 11 July 2022 (CST) Nico 17:48, 11 July 2022 (CST)

Personal tools