Difference between revisions of "HBW test/test"

From ESS-WIKI
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:How to control panel brightness and backlight}}
+
{{DISPLAYTITLE:How to update kernel for hardware enablement}}
  
=== Brightness ===
+
== Hardware Enablement ==
 +
*RS-485
 +
*TPM
 +
*external watchdog
 +
*ethernet switch (UIO-4036)
 +
 
 +
== Install Procedures ==
 +
=== fetch the following packages ===
 +
kernel (get these files from your contact window)
 +
<syntaxhighlight lang="bash">
 +
# linux-buildinfo-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-headers-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-image-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-modules-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-mtk-headers-5.15.0-1029_5.15.0-1029.33advantech1_all.deb
 +
</syntaxhighlight>
 +
dependency
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
# valid range : 0x0FFF (dark) ~ 0x0000 (brightest) # highest 4 bits must be zero
+
wget https://ftp.fau.de/ubuntu-ports/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_arm64.deb
# notice: keep highest 4 bits zero or brightness will be dark whatever lower 12 bits set
 
 
 
# use hexadecimal without leading "0x" (default:7FF)
 
BRIGHTNESS=6FF
 
sudo i2cset -f -y 2 0x20 0x90 $(( $((16#$BRIGHTNESS)) / 256 )) $(( $((16#$BRIGHTNESS)) % 256 )) i
 
 
 
# keep setting
 
sudo i2cset -f -y 2 0x20 0xe8 0x01 0x78 0x45 0x56 i && sudo reboot
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=== Backlight ===
+
=== install all fetched packages ===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
+
sudo dpkg -i *deb
 +
sudo reboot
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 10:03, 26 January 2024


Hardware Enablement

  • RS-485
  • TPM
  • external watchdog
  • ethernet switch (UIO-4036)

Install Procedures

fetch the following packages

kernel (get these files from your contact window)

# linux-buildinfo-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-headers-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-image-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-modules-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-mtk-headers-5.15.0-1029_5.15.0-1029.33advantech1_all.deb

dependency

wget https://ftp.fau.de/ubuntu-ports/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_arm64.deb

install all fetched packages

sudo dpkg -i *deb
sudo reboot