How to change TS050 Touch Screen resolution and rotate or change orientation in VIM3?

you need to to use Fenix to build a new modded image, If @Frank can assist me in doing so, I could help build a new image for you :slight_smile:

OMG! that would be really great. Thanks. Also, https://docs.khadas.com/edge/ConnectLcd.html#4-1-6-Configure-Timing these are for Edge but Iā€™m using VIM3. Will it differ so much?

no, donā€™t use that, maybe use it for reference but I wouldnā€™t suggest that as a replacement

Okay, so lets just wait for @Frank to help.

if the timings were wrong other users would also have complained, Plus there are demos by khadas team showing it working in landscape modeā€¦ Could you try with android and see if landscape mode is workingā€¦?

There is no doubt that landscape mode is possible, the question is how do we get it working in Linux ?

Hi @Archangel1235 , I havenā€™t tried it for android but I couldnā€™t find any demos showing the touchscreen working in Landscape mode with ā€œLinuxā€ in VIM3. Can you please share the link of the demo? Anyways, if its possible please tell me how to do it as i have selected the landscape mode only in the image shown above in the post but it didnā€™t trigger the rotation, neither any other option triggers any kind of rotation.

they have shown landscape demo in android onlyā€¦

changing the timings might not helpā€¦

@Archangel1235 Yes, they have shown for Android only. Can you please help me do to exactly the same for Linux too.

Thanks.

can you test with android onceā€¦?

turns out screen rotation does not work with normal HDMI monitor too

Also the post for rpi states that 90 degree and 270 degree rotation require additional gpu memoryā€¦

https://elinux.org/RPiconfig#Video_mode_options

It might be that screen rotation is not possible without proper gpu drivers

@Archangel1235
Ohh, So, does VIM3 has any GPU or GPU drivers? I donā€™t think so. Any clue how to rotate it then?

I donā€™t think its possible without themā€¦

I tried apt install arandr It just shows other options greyed outā€¦

Or it might be possible by editing env.txt in boot folderā€¦ Khadas team should tell us the right command for rotation @numbqq @Frank ?

@CodeLogist Hello. Just mainline gnome images can do it . It canā€™t be do in kernel 4.9

@Frank so which linux OS image should I install for this feature of rotation to be active in VIM3? Is their any link available?

https://dl.khadas.com/Firmware/VIM3/Ubuntu/SD_USB/VIM3_Ubuntu-gnome-focal_Linux-5.7-rc7_arm64_SD-USB_V0.9-20200530.7z

Is their any EMMC installation available rather than using SD card?

no ready made emmc version

only sd version

https://dl.khadas.com/Firmware/VIM3/Ubuntu/SD_USB/VIM3_Ubuntu-gnome-focal_Linux-5.7-rc7_arm64_SD-USB_V0.9-20200530.7z

try with this if it works I will try to build you one

1 Like