7 Inch TFT Touch Screen LCD Monitor from sain smart

89 14887
I got this:

http://www.sainsmart.com/raspber ... d-hdmi-vga-2av.html

The monitor works like a charm via hdmi but the touchscreen seems to be dead. If I connect it to the laptop the pointer moves. What am I missing ?



Please help
Olejey  
Edited by Olejey at Thu Jan 29, 2015 11:02

The same problem

same problem with the banana pro

gaara  
Edited by gaara at Mon Feb 16, 2015 18:03

Hi,
The driver of the control board is eGalax driver, you have to compile it in the kernel. Are you using Android?
I have the same touch control board but don't received yet. If it works I will try to help you

gaara replied at Mon Feb 16, 2015 11:02
Hi,
The driver of the control board is eGalax driver, you have to compile it in the kernel. Are you  ...

drivers/input/touchscreen/egalax_ts.c: In function ‘egalax_wake_up_device’:
drivers/input/touchscreen/egalax_ts.c:125:2: error: implicit declaration of function ‘irq_to_gpio’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

scripts/Makefile.build:307: recipe for target 'drivers/input/touchscreen/egalax_ts.o' failed
make[3]: *** [drivers/input/touchscreen/egalax_ts.o] Error 1
scripts/Makefile.build:443: recipe for target 'drivers/input/touchscreen' failed
make[2]: *** [drivers/input/touchscreen] Error 2
scripts/Makefile.build:443: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
Makefile:945: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
ERROR: build kernel Failed

I am following this for the kernel http://forum.lemaker.org/thread-10241-1-1-1_.html

gaara  
Edited by gaara at Wed Feb 18, 2015 21:20

Yes. I had encountered the same error.
So I have search for a lot of solutions, and finally I found this:

Navigate into the folder /ANDROID/lichee/linux-3.4/drivers/input/touchscreen
there's a file named egalax_ts.c
you can backup it and replace by the attached patched file.

Just retry to compile, it should work. I don't know if the touchpad works with it, but the compilation don't fail.
The error is about gpio and wake up controller, I don't remember exactly but now I have an image, and Android can start with it. When my touchpad will arrive I will can test !!
Note: You must have make version 3.8 installed to success the Android build (ubuntu 12.04 or 14.04). If you have Ubuntu 14.10, see this message

Good luck !

Edit: I have found the file here

egalax_ts.c.tar.gz

2.63 KB, Downloads: 31

egalax_ts.c

gaara replied at Wed Feb 18, 2015 14:04
Yes. I had encountered the same error.
So I have search for a lot of solutions, and finally I found  ...

thank you I will try asap

gaara replied at Wed Feb 18, 2015 14:04
Yes. I had encountered the same error.
So I have search for a lot of solutions, and finally I found  ...

c:\bat
c:\magic.bin
find magic !!
RealLen=0x4B0C00
CPlugin Free lib
CPlugin Free lib
normal
dragon image.cfg sys_partition.fex [Failed]

refer to out/pack.log for detail information.

ERROR: Packing Failed.
/usr/local/src/ANDROID/android
mv: cannot stat ‘lichee/tools/pack/sun7i_android_sugar-lemaker.img’: No such file or directory

root@ubuntu-virtual:/usr/local/src/ANDROID/scripts# make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

here is the zipped pack.log

pack.zip

901 Bytes, Downloads: 19

You have to log in before you can reply Login | Sign Up

Points Rules