MB:2I640HW

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(1.How can I Test FTPM2.0 in Ubuntu22.04/Fedora36 ?)
Line 134: Line 134:
<!--box uid=f777871962f1c0432784d4e0e73802b8.0.K62d6720c4c896-->
<!--box uid=f777871962f1c0432784d4e0e73802b8.0.K62d6720c4c896-->
== FAQ for 2I640HW ==
== FAQ for 2I640HW ==
-
=== 1.How can I Test FTPM2.0 in Ubuntu22.04/Fedora36 ? ===
+
=== 1.How can I correction touch in Ubuntu22.04/Fedora36 ? ===
{|
{|
!bgcolor = #ccccff width="50" align="center"|Ans:
!bgcolor = #ccccff width="50" align="center"|Ans:
!bgcolor = #F3F3F3 width="100%" align="left"|
!bgcolor = #F3F3F3 width="100%" align="left"|
 +
If you wnat to correction touch in Ubuntu22.04 /Fedora 36
 +
 +
you need to log in xorg mode
|-
|-
Line 150: Line 153:
[[User:Nico|Nico]] 11:00, 17 Augest 2021 (CST)
[[User:Nico|Nico]] 11:00, 17 Augest 2021 (CST)
[[User:Tracy|Tracy]] 11:09, 11 January 2022 (CST)
[[User:Tracy|Tracy]] 11:09, 11 January 2022 (CST)
 +
|-
 +
|}
 +
 +
=== 2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ? ===
 +
{|
 +
!bgcolor = #ccccff width="50" align="center"|Ans:
 +
!bgcolor = #F3F3F3 width="100%" align="left"|
 +
 +
(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
 +
 +
 +
|-
 +
!bgcolor = #ccccff |Asker:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
 +
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
 +
|-
 +
!bgcolor = #ccccff |Provider:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
 +
[[User:Nico|Nico]] 17:48, 11 July 2022 (CST)
|-
|-
|}
|}

Revision as of 17:22, 19 July 2022

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)COM-232COM-422COM-485F81966WDT/DIOFTPM2.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

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 11:00, 17 Augest 2021 (CST) Tracy 11:09, 11 January 2022 (CST)

Provider:

Nico 11:00, 17 Augest 2021 (CST) Tracy 11:09, 11 January 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

  1. 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

  1. 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>

  1. apt-get install clevis clevis-luks clevis-udisks2 clevis-dracut clevis-tpm2

<Fedora36>

  1. dnf install clevis clevis-luks clevis-udisks2 clevis-dracut
  2. dracut -f

(4)Test the encryption and decryption function

  1. echo Hello World | clevis encrypt tpm2 '{}' > test.txt
  2. cat test.txt
  3. 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