This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
products:sbc:vim3:add-ons:ts050-touchscreen [2022/11/08 20:23] nick |
products:sbc:vim3:add-ons:ts050-touchscreen [2022/11/08 20:46] nick |
||
---|---|---|---|
Line 10: | Line 10: | ||
- | {{/products/sbc/ | + | {{products:sbc: |
- | {{products: | + | {{products: |
===== Ubuntu ===== | ===== Ubuntu ===== | ||
Line 99: | Line 99: | ||
1. Rotate via system node. | 1. Rotate via system node. | ||
- | * Check the current configuration of the node. \\ ```sh | + | * Check the current configuration of the node. \\ ```shell |
- | khadas@Khadas: | + | $ cat / |
0 | 0 | ||
``` | ``` | ||
* Modify the configuration to rotate the framebuffer(90 degrees). \\ ```sh | * Modify the configuration to rotate the framebuffer(90 degrees). \\ ```sh | ||
- | khadas@Khadas: | + | $ echo 1 | sudo tee / |
- | khadas@Khadas: | + | $ cat / |
1 | 1 | ||
``` | ``` | ||
* Restore framebuffer console to the default setting. \\ ```shell | * Restore framebuffer console to the default setting. \\ ```shell | ||
- | echo 0 | sudo tee / | + | $ echo 0 | sudo tee / |
- | cat / | + | $ cat / |
0 | 0 | ||
``` | ``` | ||
Line 123: | Line 123: | ||
* Check related configuration. \\ ```shell | * Check related configuration. \\ ```shell | ||
- | khadas@Khadas: | + | $ cat / |
fb_rotate=0 | fb_rotate=0 | ||
``` | ``` | ||
* Change setting(rotate 90 degrees): \\ ```shell | * Change setting(rotate 90 degrees): \\ ```shell | ||
- | khadas@Khadas: | + | $ sudo vim / |
fb_rotate=0 change to fb_rotate=1 | fb_rotate=0 change to fb_rotate=1 | ||
``` | ``` |