7 inch capacitive touch panel

try this

Thanks! So how can I build such image for EMMC for example ? What module and how should I enable to add touchscreen support ?

try this image if this works. Then just need to change one file in the files provided by khadas…

I will post the entire steps tomorrow

Alright. I will test it tomorrow morning.

Well, I’ve tried new image, but for some reason modprobe still doesn’t see module

root@Khadas:~# uname -a
Linux Khadas 4.9.224 #2 SMP PREEMPT Fri Jun 5 09:51:04 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

root@Khadas:~# modprobe -r usbtouchscreen
modprobe: FATAL: Module usbtouchscreen not found.

And touch doesn’t work

Can you try lsmod command?

try this image

I have confirmed the module is there

Sorry for long answering.

root@Khadas:/home/mik/gb_web# lsmod
Module                  Size  Used by
zram                   36864  4
encoder                53248  0
amvdec_avs2           192512  0
amvdec_vp9            151552  0
amvdec_vc1             53248  0
amvdec_real            40960  0
amvdec_mmpeg4          32768  0
amvdec_mpeg4           53248  0
amvdec_mmpeg12         40960  0
amvdec_mpeg12          90112  0
amvdec_mmjpeg          28672  0
amvdec_mjpeg           36864  0
amvdec_h265           135168  0
amvdec_h264mvc         49152  0
amvdec_mh264          151552  0
amvdec_h264           118784  0
amvdec_avs             61440  0
amvdec_ports           81920  0
stream_input          180224  11 amvdec_h265,amvdec_mh264,amvdec_h264mvc,amvdec_ports,amvdec_real,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_mmpeg12
decoder_common        176128  18 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,amvdec_ports,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mmpeg12,amvdec_mpeg4
firmware               28672  18 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,decoder_common,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mmpeg12,amvdec_mpeg4
media_clock            45056  12 amvdec_h265,amvdec_mh264,decoder_common,amvdec_ports,firmware,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs
dhd                  1404928  0
mali                  315392  0
btrfs                1269760  0
xor                    20480  1 btrfs
raid6_pq              106496  1 btrfs

Alright! Thanls , I’ll test

So module seems to present now

root@Khadas:~# modprobe -r usbtouchscreen
modprobe: FATAL: Module usbtouchscreen is builtin.

But touch doesn’t seem to work again. Should I enable something else?

We need to find out what kind device it is, Can you connect it to computer and open device manager, try to see What kind of device it is touchscreen or pointing device ?

It is HID sensor monitor device as I can see in Win10 Device Manager

Could you show me a screen shot, I believe it is a pointing device

HID compatible touch screen

My Win10 is in Russian
image

ok could you read this article and try what they have given in it, it is for Arch but maybe it could work in ubuntu,

First,

xinput list --long

once you have identified the device,

xinput disable/enable <device_id>

or

xinput disable/enable <“device_name”>

Oops make a mistake in build… It should have been a module…
Can you give 45 mins to rebuild…?

Sure, no problem. Thanks

meanwhile can you try this command
echo "blacklist usbtouchscreen" | sudo tee -a /etc/modprobe.d/blacklist.conf

@ClownMik Also can you try ‘lsusb’ on Rpi with the sametouch screen…?

Showing just as STmicro is a bit weird can you check once in RPI

root@Khadas:~# echo "blacklist usbtouchscreen" | sudo tee -a /etc/modprobe.d/blacklist.conf
blacklist usbtouchscreen

I dont have RPi =(

then where did you test the touch screen…?