User avatar
pstorey
Posts: 52
Joined: Wed Sep 19, 2012 11:14 am

Working 7" HDMI Touch Screen with instructions

Thu Oct 25, 2012 12:38 pm

From what i can tell there are a few working solutions out there now for touch screens but in case your still looking for hardware that is known to work and setup instructions see below:

Touch Screen:

http://store.tinygreenpc.com/accessorie ... osure.html

Image

Instructions

sudo apt-get install libx11-dev
sudo apt-get install libxext-dev
sudo apt-get install libxi-dev
sudo apt-get install x11proto-input-dev

Create following path and file:

etc/X11/xorg.conf.d/99-calibration.conf

Add to 99-calibration.conf :

Section “InputClass”
Identifier “calibration”
MatchProduct “eGalax Inc. Touch”
Option “calibration” “1918 129 246 1766” #Your co-ords between " "
EndSection

If the calibration is slightly out follow the below steps after the apt-get install's above..

download http://github.com/downloads/tias/xinput ... 7.5.tar.gz

tar xvzf (downloaded file)
cd (downloaded file)
./configure
make
sudo make install

run xinput_calibrator

This gives you four crosses and then provides the co-ords..

Create following path and file:

etc/X11/xorg.conf.d/99-calibration.conf

Add to 99-calibration.conf :

Section “InputClass”
Identifier “calibration”
MatchProduct “eGalax Inc. Touch”
Option “calibration” “Your co-ords here”
EndSection

Job done ..

Fixnode
Posts: 12
Joined: Mon Sep 24, 2012 5:23 am

Re: Working 7" HDMI Touch Screen with instructions

Tue Nov 13, 2012 12:54 am

Everything worked great except the creation of the xorg.conf.d directory and creation of 99-calibration.conf. Once this file is created Xorg will not allow X to boot. I keep getting this error
==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 13 00:52:58 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Parse error on line 2 of section InputClass in file /etc/X11/xorg.conf.d/99-calibration.conf
The Section keyword requires a quoted string to follow it.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Bad file descriptor
xinit: server error
any idea how to fix? it could be a permission problem


UPDATE: problem was because I copied and pasted your commands (i.e. the quotes are not the same) when using this, retype all the commands above instead of copy and paste.

Thanks, works great!

anotherbloke
Posts: 22
Joined: Sun Jun 17, 2012 10:30 pm

Re: Working 7" HDMI Touch Screen with instructions

Tue Nov 13, 2012 2:05 pm

To make the screen work, would i just need to use HDMI and USB port and then just configure it?

User avatar
pstorey
Posts: 52
Joined: Wed Sep 19, 2012 11:14 am

Re: Working 7" HDMI Touch Screen with instructions

Wed Nov 14, 2012 4:27 pm

Apologies .. Forgot to add a watch to the post.

Yes. However i am looking to put a post up regarding the driver, the default driver is not allowing the screen to be fully populated (desktop covers around 90% of the screen)

The Linux drivers are for an earlier Kernel so need to understand how to update the diver..

I'm still really impressed with the screen quality and just need to sort a later driver to get the display to populate the entire available area!

Cheers

KazW
Posts: 9
Joined: Mon Jun 25, 2012 5:23 am
Location: Calgary, Alberta, Canada

Re: Working 7" HDMI Touch Screen with instructions

Tue Nov 27, 2012 5:37 am

pstorey wrote:Apologies .. Forgot to add a watch to the post.

Yes. However i am looking to put a post up regarding the driver, the default driver is not allowing the screen to be fully populated (desktop covers around 90% of the screen)

The Linux drivers are for an earlier Kernel so need to understand how to update the diver..

I'm still really impressed with the screen quality and just need to sort a later driver to get the display to populate the entire available area!

Cheers
Disable overscan in /boot/config.txt ;)

User avatar
pstorey
Posts: 52
Joined: Wed Sep 19, 2012 11:14 am

Re: Working 7" HDMI Touch Screen with instructions

Wed Nov 28, 2012 8:09 am

KazW,

Thanks for the suggestion.

Will test and let you know.

Cheers

JoshL
Posts: 2
Joined: Thu Nov 29, 2012 4:45 pm

Re: Working 7" HDMI Touch Screen with instructions

Thu Nov 29, 2012 4:51 pm

Just checking before I get one, this screen (without an enclosure) uses a HDMI port?

Cheers!

User avatar
pstorey
Posts: 52
Joined: Wed Sep 19, 2012 11:14 am

Re: Working 7" HDMI Touch Screen with instructions

Thu Nov 29, 2012 7:41 pm

JoshL,

Yes it does..

See specs below:

HDMI-input Touch-Screen Monitors for Fit PC2
Specifications and Options
Diagonal size 7" 8" 10.4" 12.1''
Aspect ratio 16:9 4:3/16:9 4:3 16:9
Native
Resolution
800x480 800x600/800x480 800x600 1280x800
LCD brightness 300cd/㎡ 250cd/㎡ 230cd/㎡ 200cd/㎡
Contrast Ratio 500:1 500:1 400:1 400:1
Viewing angle 50/70, 70/70 50/70, 70/70 45/65, 65/65 40/40, 20/40
Operating Temp. (-20ı~70ı) (-20ı~70ı) (-20ı~70ı) (0ı~50ı)
Storage Temp. (-30ı~80ı) (-30ı~80ı) (-30ı~80ı) (-20ı~60ı)
Support OS Windows, WinCE, Linux, DOS, Mac and so on OS
Touch screen 4-wire resistive touch screen (USB or RS232)
OSD Menu Multi-language
Remote Full-function IR remote control
Backligh Adjustable backlight levels for different environment
Control Buttons Power on/off key, display menu key, selection key etc
Power Input DC 11~13V
Built-in Speaker Available
HDMI-input Yes
TV input Yes
S-video Yes
YPbPr input Yes

JoshL
Posts: 2
Joined: Thu Nov 29, 2012 4:45 pm

Re: Working 7" HDMI Touch Screen with instructions

Thu Nov 29, 2012 9:39 pm

Thank you

Couldn't seem to find any real details/specs on thetinygreenpc.com website... then again I may have just been looking in the wrong places.

User avatar
pstorey
Posts: 52
Joined: Wed Sep 19, 2012 11:14 am

Re: Working 7" HDMI Touch Screen with instructions

Fri Mar 01, 2013 5:32 pm

KazW,

It's taken an age to get around to try your suggestion but i'm so pleased i did...! :D

Disabling overscan in /boot/config.txt worked a treat..

Thanks for taking the time to post this simple fix..

Cheers

DalePoulton
Posts: 17
Joined: Sun Sep 22, 2013 10:24 am

Re: Working 7" HDMI Touch Screen with instructions

Wed Nov 06, 2013 7:47 pm

Just a question when you said your (co ordinates here) Where will I find mine?

User avatar
simonmcc
Posts: 179
Joined: Mon Aug 19, 2013 10:07 pm

Re: Working 7" HDMI Touch Screen with instructions

Thu Nov 07, 2013 8:36 am

Did you download and run xinput_calibrator ?

That will run, you have to touch the screen in a few spots, and then it exits printing the coordinates to the console. You can just cut and paste the line into /etc/X11/xorg.conf.d/99-calibration.conf
simonmcc.blogspot.com/search/label/pi


stevePIman
Posts: 24
Joined: Tue May 29, 2012 8:07 am

Re: Working 7" HDMI Touch Screen with instructions

Fri Jun 20, 2014 3:49 pm

Hi,

I have an eGalax touch screen (lsusb indicates such) and if I follow the instructions I get "Error:No calibratable devices found" when running xinput_calibrator. I'm running 2014-01-07-wheezy-raspbian.

I think I maybe a few modules short in the kernel.

Any ideas?

Cheers, Steve

User avatar
simonmcc
Posts: 179
Joined: Mon Aug 19, 2013 10:07 pm

Re: Working 7" HDMI Touch Screen with instructions

Tue Jun 24, 2014 8:13 am

stevePIman wrote:Hi,

I have an eGalax touch screen (lsusb indicates such) and if I follow the instructions I get "Error:No calibratable devices found" when running xinput_calibrator. I'm running 2014-01-07-wheezy-raspbian.

I think I maybe a few modules short in the kernel.

Any ideas?

Cheers, Steve
Have you copied all the kernel modules across? Make sure to remove the old lib and modules directory before copying, and try it again. It should work after you follow the instructions to recompile the kernel (my article here http://simonmcc.blogspot.co.uk/2013/08/ ... d-for.html or the standard engineering diy one should help out)
simonmcc.blogspot.com/search/label/pi

stevePIman
Posts: 24
Joined: Tue May 29, 2012 8:07 am

Re: Working 7" HDMI Touch Screen with instructions

Tue Jun 24, 2014 2:54 pm

HI,

I hadn't. I'm currently trying to calibrate the raspbmc installation which includes the modules. It seems the X/Y coords are flipped over for me & touch is only picked up in the lower right corner.

I'm using this site : http://markamc.traki-iski.co.uk/?p=50

Thanks for getting back to me,

Steve

User avatar
simonmcc
Posts: 179
Joined: Mon Aug 19, 2013 10:07 pm

Re: Working 7" HDMI Touch Screen with instructions

Tue Jun 24, 2014 3:03 pm

I'm not sure which kernel etc is in XBMC, so I cant be 100% helpful. (maybe not even 1% helpful)

I think you are right that the kernel should already support it in XBMC

I had an issue with mine where the mouse stayed along the top of the screen, and this was because of an incompatible version of the bootloader or something. I downloaded an older version of raspbian and it worked again, maybe you should try an older version to see if it works?
simonmcc.blogspot.com/search/label/pi

Incendor
Posts: 3
Joined: Sat Aug 10, 2013 9:38 am

Re: Working 7" HDMI Touch Screen with instructions

Fri Jun 27, 2014 1:01 am

Hi!

When I try to run xinput_calibrator I get "Unable to connect to X server".
Do I get it right that this is only working with X server running?

If yes, it won't work on (my ;) ) RaspBMC since that doesn't use X server.

Or is there any mistake I could have made, leading to this?

Thanks in advance for any advice!

~ Incendor

pableitor
Posts: 1
Joined: Mon Jan 18, 2016 12:12 pm

Re: Working 7" HDMI Touch Screen with instructions

Mon Jan 18, 2016 12:21 pm

hi,

I could calibrate my Tontec 7" touch screen quick and easily with xinput_calibrator, will keep the link for the future ;) .

cheers!
pableitor

Return to “Other projects”