[Solved] odoid X2 capacitive touch screen setup help needed

Post Reply
mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

[Solved] odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Tue Apr 28, 2015 9:39 pm

Hello,
I know there had already been a topic about that but it has been closed and I can't get my touch screen to work
So here is my problem
My board, X2 with the latest build 4.4.4_v4.6
touch screen, xenarc 700 csh, 7" capacitive touch screen

I followed the guide in the February magazine but my touch screen is not working

when I connect it to my odroid, and list the devices it appears without name
when connected to my PC with UBUNTU 14.04 LTS it appears as Bus 002 Device 011: ID 0eef:7200 D-WAV Scientific Co., Ltd


My question is what exactly do I have to write in the hid-ids.h header file and in the in the hid-multitouch.c source file ?

Please help !!!!! I'm on it for more than a week!!!
Thanks
Last edited by mikecwel on Mon Sep 28, 2015 9:33 pm, edited 1 time in total.

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Wed Apr 29, 2015 12:24 am

Can you give me your original thread?

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Wed Apr 29, 2015 4:04 am

so here is the thread that was closed
http://forum.odroid.com/viewtopic.php?f=63&t=3879

What I need are the files hid-ids.h header file and the hid-multitouch.c source file correctly written

thanks

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Wed Apr 29, 2015 10:47 am

Did you edit and build the Kernel source of hid-ids.h and hid-multitouch.c ?
I don't know what is your question?

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Wed Apr 29, 2015 5:01 pm

yes I edited both files but I think there is a problem with the syntax.
I will post both files later

What I want is the syntax as I should write the lines in the files

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Wed Apr 29, 2015 5:29 pm

so here are both files
hid-ids.h
(27.94 KiB) Downloaded 148 times
hid-multitouch.c
(33.93 KiB) Downloaded 153 times

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Wed Apr 29, 2015 7:45 pm

The source codes seem to be fine.
What was the error output when you compiled the kernel?
Try to compile the kernel without modification of source code first.

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Fri May 01, 2015 2:00 am

Ok.
I finaly manged to get my touch screen working.
But it seems that the multitouch is not working.
How can I get it to work?

Other problem. How can I have bigger icons. I can barely see them?
Do I have only to put boot.scr in the folder?
Thanks for help

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Fri May 01, 2015 8:49 pm

I have no idea why your touch screen doesn't support the multiple points.
Ask it to the touch screen supplier.

To change the display scale, you need to modify the build.prop file.
Googling "build.prop dpi".

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Sun May 03, 2015 6:02 pm

Ok.
could you tell me what is the kernel version of the build 4.4 4_v.4.6?
Thanks

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Sun May 03, 2015 8:58 pm


mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Tue May 05, 2015 7:22 pm

OK thanks
It seems that I can't edit the config file with menuconfig
how can I edit the config file with command line?
If you could provide me with a step by step how to and also tell me if I have to do it on my Linux pc or on my odroid board.
thank you very much for your help

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Tue May 05, 2015 10:32 pm

Refer below link to learn how to build the kernel.
http://odroid.com/dokuwiki/doku.php?id= ... exynos4412
or
http://odroid.com/dokuwiki/doku.php?id= ... ng_android

All the steps should be done on your Linux PC.

This very long thread is also will be very helpful. Read it carefully.
http://forum.odroid.com/viewtopic.php?f=74&t=3707

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Thu May 07, 2015 3:41 am

ok
I have read everything but the multitouch on my touchscreen is not working.
could someone upload his working eemc image with this XENARC 700CSH screen WORKING!!!!!!!
I'm aout to throw everythig by the window !!!!!!!!

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Thu May 07, 2015 3:51 am

IN the manualit is said
Sourcery G++ Lite 2010q1-188 for ARM GNU/Linux -1
Open Firefox on Ubuntu and download IA32 GNU/Linux Installer from the link.
https://sourcery.mentor.com/sgpp/lite/a ... elease1294

I can't download this.

Managed to download this file from somewhere (arm-2010q1-188-arm-none-eabi.bin)

When I write in terminal "./arm-2010q1-188-arm-none-eabi.bin"
I get this error

karol@karol-ET2400IN-1G:~$ ./arm-2010q1-188-arm-none-eabi.bin
Checking for required programs: awk grep sed bzip2 gunzip
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: '/lib/libc.so.6': No such file

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.UnsatisfiedLinkError: /tmp/install.dir.11747/Linux/resource/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.g(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
karol@karol-ET2400IN-1G:~$


Where is the problem?

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Thu May 07, 2015 12:38 pm

Did you follow this instruction? I already pointed it. :(
http://odroid.com/dokuwiki/doku.php?id= ... exynos4412

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Thu May 07, 2015 4:11 pm

Yes. Followed these steps.
but didn't download the repo.
I'm working within the "linux-odroid-3.0.y-android" folder.
I'm editing everything from within
Am I wrong?

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Thu May 07, 2015 4:28 pm

"repo sync" is the best way to download the kernel source reliably.

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Thu May 07, 2015 8:10 pm

Will try that way

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Sat May 09, 2015 7:52 pm

Hello,
Started once again and followed the tutorial.
A question.
When I type "sync repo", it downloads for a whole night, and my computer runs out of space. I gave a 85Gb partition. I allowed some 100Gb more.
Will 185gb be enough?
Must I download everything?
I'm on android 4.4.4
thanks

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Sat May 09, 2015 9:03 pm

You don't need to download the full source code of Android platform.

Just download the Kernel source with below command. The size should be less than 200~300MB.

Code: Select all

git clone --depth 1 https://github.com/hardkernel/linux.git -b odroid-3.0.y-android

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Wed May 13, 2015 4:29 am

hello,
finally managed to download the "sync repo"
But when I try to do
"repo start 4412_4.4.4_master --all"
I get this error
error: prebuilts/sdk/: cannot start 4412_4.4.4_master
and when I try to do
make odroidu_android_422_defconfig

I get this error
Invalid LOCAL_SDK_VERSION 'current' Choices are: 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19. Arrêt.

EDIT

And when I try to
"git clone --depth 1 https://github.com/hardkernel/linux.git -b odroid-3.0.y-android"

It says that the linux folder already exists and that it is not an empty folder (translated from french)

What should I do ?
Thanks

User avatar
odroid
Site Admin
Posts: 31852
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 89 times
Been thanked: 255 times
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by odroid » Wed May 13, 2015 10:39 am

Do you want to build full-android OS?
Or just want to build the Kernel only?

I thought you need to edit & kerrnel only.
So I let you know how to download the kernel source.

Change the directory to "odroid-3.0.y-android" and run kernel configuration.




make odroidu_android_422_defconfig

sonicxtacy02
Posts: 60
Joined: Thu May 30, 2013 5:08 am
languages_spoken: english
ODROIDs: X-2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by sonicxtacy02 » Sat Aug 08, 2015 5:05 am

Using this older unsolved thread to bring this topic back up.

I'm amongst the many who have this Xenarc 700CSH monitor and an x2 and cannot get the touch to function in Android. My situation is a little different however because it USED to work for me. I recently downloaded an update image to fix my bluetooth problem, and since the update (4.4.6), the touchscreen fails to respond. I've rebuilt the kernel successfully a host of times with the fixes to hid-core, hid-ids.h, and hid-multitouch.o. I've pushed the Vendor_0eef_Product_7200.idc to the proper \idc\location. Over the last 4 days and 30 hours (seriously) of reading all of the guides. I'm stuck.

An odd behavior that might help track the issue is if i move my usb mouse so that the pointer shows, then press the touchscreen, the pointer turns into a small white circle then fades away. I was able to see presses in debug, but it mentions joystick events. Could there be something in the updated kernel thats treating this device as a joystick and overriding the .idc? I'd hate to have to build based on the old stock image and kernel to see this play out.

sonicxtacy02
Posts: 60
Joined: Thu May 30, 2013 5:08 am
languages_spoken: english
ODROIDs: X-2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by sonicxtacy02 » Tue Aug 11, 2015 11:25 am

As a followup to whomever this will help...

I dd wrote zeroes onto my emmc, then flashed Android 4.1.2 (the stock build that my x2 came with), then followed the kernel modification instructions as listed in the ODROID magazine, modifying kernel 1.7 (again, factory kernel when i purchased the X2). The Xenarc 700csh works with single AND multitouch perfectly! So apparently, there is something that has changed in the kernel files (hid-core, hid-multitouch) that configures the eGalax touchscreen (0eef:7200) as a joypad despite what the .idc file says.

I dont exactly know WHICH kernel files that introduced the problem. I successfully updated to beta 2.0 without issue, but the latest builds (the february and may kernel releases) will simply not function properly.

mikecwel
Posts: 61
Joined: Tue Jul 09, 2013 3:51 pm
languages_spoken: english, french, polish
ODROIDs: Odroid X2
Has thanked: 0
Been thanked: 0
Contact:

Re: odoid X2 capacitive touch screen setup help needed

Unread post by mikecwel » Sun Sep 27, 2015 2:03 am

Finally got it to work.
I use the 4.4.2 v3.4 and it worka.
But there are issues.
No bluetooth and cannot connect my USB GPS dongle.
See my other post about this issues

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest