VIM3 with Ubuntu bionic + Touch screen TS050

Hello @blueberryberret

I have updated the kernel to fix the touchscreen issue. Please reinstall V190830 image and update the kernel and enable the touchscreen.

khadas@Khadas:~$ sudo apt-get update
khadas@Khadas:~$ sudo apt-get upgrade
khadas@Khadas:~$ sudo vim /boot/env.txt    # edit to enable panel
khadas@Khadas:~$ sync
khadas@Khadas:~$ sudo reboot

You have to update the kernel before you enable the panel or you will stuck at u-boot.

1 Like

It’s now working perfectly! I’m delighted, thank you!

Which module is needed for the touchscreen to work on linux?

I tried the same in vim3 with TS050 AND White flex.
I could only see khadas logo flickering and thats it.

Video here

Any suggestion ?

I tried ‘VIM3_Ubuntu-xfce-bionic_Linux-4.9_arm64_EMMC_V20190830’ but this is the issue I am facing. As reported in the above video.

Which Android version will make the lcd and touch screen work on vim3?

I had the same question

I tried to look up info about Android using on multiple displays but all I ended up were split screen topics, so no info on that :frowning_face:

My Note8 runs Android Pie and it can work with both phone’s touch screen and HDMI (DeX mode). Interestingly enough the original DeX dock supported only one display or display mirroring, but with Pie and new USB-C to HDMI adapter now both works.

So I would guess it has to be some hardware feature that is able to talk to Android’s driver.

My question is not regarding multiple display. I just want the lcd touchscreen to work alone. But still I am not able to make it work.

I tried the latest ubuntu but it just shows me distorted logo that’s it.

Maybe khadas team can advice.

@Gouwa @numbqq
How can I get the touchscreen working on Android or Ubuntu with Vim3 ?
I received the Touchscreen along with the White flat flex cable.

Please check the video above and advice what is the issue with it ?

@kenny can you advice something for the ts050 to work with vim3 ?

Hi, Spikerguy
Our team are developing the dual display function for VIM3. But it still has some issues.
About the touch screen on Ubuntu, you can refer to this.

We will release the dual display support on android for VIM3 in early November

1 Like

I never asked for dual display function :frowning:

I just want to start testing only touchscreen display with vim3 and i have tried both as per that thread.
Ubuntu doesn’t display anything while Android only displays the khadas logo which is stretched as shown in that video.
Others have reported that it works but not working for me. What can be the issue?

The Link you recommended above is for egde and not vim3.

No update on making touchscreen work on vim3?

Touchscreen already supported.

1 Like

How about the LCD Driver for TS050 on Vim3 ?

Please check here:

1 Like

Hello Dear,
Thank you for the Links.
I have gone through the Touchscreen Link and it looks like I can add it to the kernel and the dts.

But the LCD one is little complicated for me to understand with my limit knowledge of kernel development. The reason is there is a separate amlogic directory maintained in your BSP which differs from the mainline directories.

I am not sure about the following files and the changed you have done to them. As these files are not present in the mainline and also no such directory is there.

  • aml_bl.h
  • aml_bl.c
  • lcd_vout.h
  • lcd_vout.c
  • lcd_common.h
  • lcd_common.c

If someone can advice me on how to add these to the mainline kernel then I can try it myself. I have forked @balbes150 git branch as we have mostly everything working on that built.

Yes, the LCD can only work on Amlogic 4.9 kernel.

There is no MIPI DSI support on mainline kernel for current stage.

You can check here:

1 Like

Ok. Do you have any rom with full ts050 support for Vim3 ?

Only single display for current stage.



And update to latest kernel:

$ sudo apt-get update
$ sudo apt-get upgrade
$ sync
$ sudo reboot

Note: Remove the HDMI cable, if you want to use the panel.

1 Like