Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:add-ons:ts050-touchscreen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:add-ons:ts050-touchscreen [2022/07/06 03:02]
frank ↷ Page moved from products:sbc:common:accessories:ts050 to products:sbc:common:add-ons:ts050
products:sbc:common:add-ons:ts050-touchscreen [2022/10/17 02:32] (current)
hyphop
Line 1: Line 1:
-====== TS050 ======+====== TS050 Touchscreen ======
  
 ===== Introduction ===== ===== Introduction =====
  
-This document mainly introduces the connection and use of TS050. The first part of the document is about how to connect TS050, the second part is about some related operations under Ubuntu, and the third part is about some related operations under Android.+This document mainly introduces the connection and usage of TS050. The first part of the document is about how to connect TS050, the second part is about some related operations under Ubuntu, and the third part is about some related operations under Android.
  
 ===== Hardware Connection ===== ===== Hardware Connection =====
  
-<tabbox VIM3/3L+/
 +{{gallery>products/sbc/common/accessories?*ts050*.png&lightbox}} 
 +*/ 
 + 
 +==== VIM4 ==== 
 + 
 +{{gallery>products/sbc/common/accessories?vim4*ts050*.png&lightbox}} 
 +/* 
 +{{/products/sbc/common/accessories/vim4-ts050-front.png?500|VIM4 ts050 panel front connection}} 
 +{{/products/sbc/common/accessories/vim4-ts050.png?500 |vim4-ts050}} 
 +*/ 
 +==== VIM3 VIM3L ====  
 + 
 +{{gallery>products/sbc/common/accessories?vim3*ts050*.png&lightbox}} 
 +/*
 {{/products/sbc/common/accessories/vim3-ts050-front.png?500|vim3-ts050-front}} {{/products/sbc/common/accessories/vim3-ts050-front.png?500|vim3-ts050-front}}
-{{/products/sbc/common/accessories/vim3-ts050.png?500|vim3-ts050}} +{{products:sbc:vim3:add-ons:vim3-ts050-back.png?500|vim3-ts050}} 
-<tabbox VIM4>  +*
-{{/products/sbc/common/accessories/vim4-ts050-front.png?500|vim4-ts050-front}} +==== Edge1 ====
-{{/products/sbc/common/accessories/vim4-ts050.png?500|vim4-ts050}} +
-<tabbox Edge-V> +
-{{/products/sbc/common/accessories/edgev-ts050.png?500|edgev-ts050}} +
-</tabbox>+
  
 +{{gallery>products/sbc/common/accessories?edge*ts050*.png&lightbox}}
 +/*
 +{{products:sbc:vim3:add-ons:edge-ts050.png?500|edgev-ts050}}
 +*/
 ===== Ubuntu ===== ===== Ubuntu =====
  
 ==== Rotate ==== ==== Rotate ====
 +
 +<WRAP important >
 +Only suitable for ''VIM3/3L'', you can refer to the system settings to rotate the screen easily for ''VIM4''.
 +</WRAP>
  
 TS050 is portrait mode by default, here is a guide to rotate the screen to landscape mode. TS050 is portrait mode by default, here is a guide to rotate the screen to landscape mode.
Line 33: Line 51:
 1. Create Xorg configuration file ''/etc/X11/xorg.conf.d/10-ts050-fbdev-rotate.conf''. 1. Create Xorg configuration file ''/etc/X11/xorg.conf.d/10-ts050-fbdev-rotate.conf''.
  
-```sh+```txt
 Section "Device" Section "Device"
     Identifier "Configured Video Device"     Identifier "Configured Video Device"
Line 63: Line 81:
 2. Create Resolution setting autostart file ''/etc/xdg/autostart/panel-setup.desktop''. 2. Create Resolution setting autostart file ''/etc/xdg/autostart/panel-setup.desktop''.
  
-```sh+```txt
 [Desktop Entry] [Desktop Entry]
 Version=1.0 Version=1.0
Line 100: Line 118:
 </WRAP> </WRAP>
  
-1. Rotate via ystem node. +1. Rotate via system node.
- +
-  * Root permissions are required to modify nodes, switch to root user. \\ ```sh +
-khadas@Khadas:~$ su +
-Password:  +
-root@Khadas:/home/khadas# +
-```+
  
   * Check the current configuration of the node. \\ ```sh   * Check the current configuration of the node. \\ ```sh
-root@Khadas:/home/khadas# cat /sys/class/graphics/fbcon/rotate+khadas@Khadas:~$ cat /sys/class/graphics/fbcon/rotate
 0 0
 ``` ```
  
   * Modify the configuration to rotate the framebuffer(90 degrees). \\ ```sh   * Modify the configuration to rotate the framebuffer(90 degrees). \\ ```sh
-root@Khadas:/home/khadas# echo 1 /sys/class/graphics/fbcon/rotate +khadas@Khadas:~ $ echo 1 | sudo tee /sys/class/graphics/fbcon/rotate 
-root@Khadas:/home/khadas# cat /sys/class/graphics/fbcon/rotate+khadas@Khadas:~ $ cat /sys/class/graphics/fbcon/rotate
 1 1
 ``` ```
  
   * Restore framebuffer console to the default setting. \\ ```sh   * Restore framebuffer console to the default setting. \\ ```sh
-root@Khadas:/home/khadas# echo 0 /sys/class/graphics/fbcon/rotate +khadas@Khadas:~ $ echo 0 | sudo tee /sys/class/graphics/fbcon/rotate 
-root@Khadas:/home/khadas# cat /sys/class/graphics/fbcon/rotate     +khadas@Khadas:~ $ cat /sys/class/graphics/fbcon/rotate     
 0 0
 ``` ```
Last modified: 2022/07/06 03:02 by frank