Login |  Register



Welcome
Welcome to engineeringdiy

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: touch position difference in kodi and navit
PostPosted: Wed Apr 13, 2016 10:54 pm 
Joined: Wed Apr 13, 2016 10:39 pm
Posts: 1
After days, weeks actually now trying to solve this, i surrender.

Calibration almost perfect in kodi, but when working in navit i have a offset problem. the click event seems to have a scaling problem, top left is almost good, but right bottem is way off, the cursor ends up somewhere 3/4 of where i click.

when exit kodi the calibration is perfect, probaly thanx to the calibration line i added in /usr/share/X11/xorg.conf.d/10-evdev.conf

Here is all the data i collected:

Display:
Faytech 0700T

native res: 800x480

evtest:

Input device name: "eGalax Inc. USB TouchController"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 320 (BTN_TOOL_PEN)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 1511
Min 30
Max 4040
Event code 1 (ABS_Y)
Value 1047
Min 60
Max 4035
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)



tvservice -s:
state 0x12001a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

edid:

HDMI:EDID version 1.3, 1 extensions, screen size 16x9 cm
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 55-65 Hz, horizontal is 30-68 kHz, max pixel clock is 160 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is Faytech_HDMI
HDMI:EDID failed to find a matching detail format for 1920x1080i hfp:88 hs:44 hbp:148 vfp:4 vs:5 vbp:37 pixel clock:148 MHz
HDMI:EDID calculated refresh rate is 115 Hz
HDMI:EDID guessing the format to be 1920x1080i @120 Hz
HDMI:EDID found preferred CEA detail timing format: 1920x1080i @ 120 Hz (46)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID established timing I/II bytes are 20 08 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz (native)
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits
HDMI:EDID found HDMI VSDB length 5
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
HDMI:EDID HDMI VSDB has no extension fields
HDMI:EDID adding mandatory support for CEA (1) 640x480p @ 60Hz
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 4066472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 4635592)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 211624
HDMI:EDID CEA mode (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 3773832
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID best score mode is now CEA (46) 1920x1080i @ 120 Hz with pixel clock 148 MHz (score 5771496)
HDMI:EDID preferred mode remained as CEA (46) 1920x1080i @ 120 Hz with pixel clock 148 MHz
HDMI:EDID has HDMI support and audio support

touchscreen_axes_calib:
calib_x_d=1280;calib_x_fact=-0.32565528197;calib_y_d=0;calib_y_fact=0.198636228876;swap_axes=0;click_confines=8;touch_mouse=1

Hope some one can point me out what is happening, if tried so may things, I can't even remember them all.

trying to get ts_calibrate to work seems useless as it works when I don't start or exit kodi.

Oh, almost forgot to say: love the project andrei!!!! If i get this working for my still to build camper, i will try to get some test code working to show a local usb cam with ffmpeg or some other tool to get a stream that can be accessed from kodi...


Report this post
Profile  Offline
 
 Post subject: Re: touch position difference in kodi and navit
PostPosted: Thu Apr 21, 2016 2:02 pm 
Joined: Sat Feb 13, 2016 4:57 pm
Posts: 10
I am encountering the same issue, i previously had a similar generic touchscreen which was calibrated perfectly in both navit and kodi, but i had to replace it because i am a clumsy twit and dropped the thing when installing it... the new screen although an identical model has the same problem yours does, 2 things i am going to try.

1. on clicking around i found the screen position calibration in the skin and i played with it, (it calls it overscan in KODI and just effects the kodi window overlay) i may try to get this back to default

2. setting the resolution on RPI desktop to a different setting, it might be this that is causing the offset, i beleive the touchscreen works fin in RPI desktop alone and fine in kodi but i think there is a conflict when both are on at the same time... i have not tested this yet. (i even used the same touch - USB circuit driver to see if that helped.... nope - it's all in the screen part itself!


Report this post
Profile  Offline
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest

Panel

Top You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Search for:
Jump to:  


suspicion-preferred