Where does the calibration addon writes the coordinates?
Posts by Allodo
-
-
I've tried the Display with Rasbian Pixel and installed Drivers as I've seen in an tutorial for eGalax Display.
Then I've run the "xinput_calibrator" and calibrated the Display. But I have to run it twice. Only then the calibration was successfull.After calibration I got coordinates like this:
CodeSection "InputClass" Identifier "calibration" MatchProduct "eGalax Inc. USB TouchController" Option "Calibration" "145 1884 1760 264" EndSection
Maybe there is way to use this coordinates for KODI?
-
Today is still the same, nothing happens and there is no output
Code
Display MoreLibreELEC (community) Version: 7.90.009 LibreELEC:~ # systemctl stop kodi LibreELEC:~ # systemctl stop ts_uinput_touch Failed to stop ts_uinput_touch.service: Unit ts_uinput_touch.service not loaded. LibreELEC:~ # chmod +x xxd* chmod: xxd*: No such file or directory LibreELEC:~ # cd .kodi/temp LibreELEC:~/.kodi/temp # chmod +x xxd* LibreELEC:~/.kodi/temp # ./xxd-RPi2 -c 25 /dev/hidraw0 ^C LibreELEC:~/.kodi/temp # ./xxd-RPi2 -c 22 /dev/hidraw0 ^C
-
I've downloaded xxd for RPi2 and stopped everything.
Then I typed the following on console:CodeLibreELEC:~/.kodi/temp # ./xxd-RPi2 -c 25 /dev/hidraw0 sh: ./xxd-RPi2: Permission denied LibreELEC:~/.kodi/temp # chmod +x ./xxd-RPi2 LibreELEC:~/.kodi/temp # ./xxd-RPi2 -c 25 /dev/hidraw0 ^C LibreELEC:~/.kodi/temp # ./xxd-RPi2 -c 22 /dev/hidraw0
But then happens nothing
The console stands still till I ended it with Strg + C.I have to try it again on sunday when I have time for it.
Thx a lot for your help
-
Of course
Well I've also read about modifying the advancesettings.xml for KODI v17 Krypton.
Code<touchscreen> <x_offset>0</x_offset> <!-- set pixel x offset to align it to the used display--> <y_offset>0</y_offset> <!-- set pixel y offset to align it to the used display--> <x_stretch_factor>1.0</x_stretch_factor> <!-- stretch/compress the touch x axis--> <y_stretch_factor>1.0</y_stretch_factor> <!-- stretch/compress the touch y axis--> </Touchscreen>
But where I can get the Offset Parameters?
-
Well Cursor movement isn't really good, because there is only an area about 5x5cm in the right Corner where the Touch is working.
The Rest of Display is Touchless area. And I couldn't reach all Areas of Display with Cursor. I've played with Settings in "Peripherals -> eGalax USB Touchscreen" but this wont help. -
Main Problem is that I only have touch (appr. 5cm x 5xm) on the right Corner with inverted touch controls. Means, when I slide up, the Cursor will move left and vice versa, and when I slide left, Cursor will move up.
It would be great if you would compile it. I'm using latest libreelec 7.90.009 for my Rpi3.
I'm using this Version only for testing because there is Touch Control integrated.
What I need is an stable Version of libreelec with KODI v17 because this would be the client for my wife's TV in Kitchen -
-
vpeter
Thx for your helpThis is what lsusb shows:
I took the waveshare-files and renamed them. I changed the PRODUCT_PID as you've written to 210. But still the same behaviour. The Addon will not start. The only thing I see is the rotate circle
Here is KODI-Log:
Code
Display More17:58:36.482 T:1823470496 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: eGalax Inc. USB TouchController 17:58:37.249 T:1961709568 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList" 17:58:38.261 T:1961709568 NOTICE: initialize done 17:58:38.261 T:1961709568 NOTICE: Running the application... 17:58:38.305 T:1961709568 NOTICE: starting zeroconf publishing 17:58:38.309 T:1961709568 NOTICE: CWebServer[8080]: Started 17:58:38.309 T:1961709568 NOTICE: starting upnp client 17:58:38.326 T:1678013344 NOTICE: ES: Starting UDP Event server on port 9777 17:58:38.326 T:1678013344 NOTICE: UDP: Listening on port 9777 (ipv6 : false) 17:58:39.011 T:1753887648 WARNING: CSkinInfo: failed to load skin settings 17:58:48.317 T:1779430304 ERROR: GetDirectory - Error getting 17:58:48.489 T:1471722400 ERROR: Previous line repeats 2 times. 17:58:48.489 T:1471722400 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder 17:58:48.489 T:1471722400 NOTICE: LoadJpeg: unable to load /storage/.kodi/addons/service.touchscreen/resources/media/background.jpg
-
Now I've renamed file ts-conf.generic to ts.conf and ts_env.sh-sample to ts_env.sh and rebooted, but the same behaviour as before
Then I tried it with the waveshare-Files. Result is the same.Here what evtest shows:
Code
Display MoreLibreELEC:~ # evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: eGalax Inc. USB TouchController /dev/input/event1: eGalax Inc. USB TouchController /dev/input/event2: Dell Dell USB Keyboard Select the device event number [0-2]: 1 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0xeef product 0x1 version 0x210 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 0 Min 30 Max 4040 Event code 1 (ABS_Y) Value 0 Min 60 Max 4035 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Properties: Testing ... (interrupt to exit) *********************************************** This device is grabbed by another process. No events are available to evtest while the other grab is active. In most cases, this is caused by an X driver, try VT-switching and re-run evtest again. Run the following command to see processes with an open fd on this device "fuser -v /dev/input/event1" *********************************************** LibreELEC:~ # evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: eGalax Inc. USB TouchController /dev/input/event1: eGalax Inc. USB TouchController /dev/input/event2: Dell Dell USB Keyboard Select the device event number [0-2]: 0 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0xeef product 0x1 version 0x210 Input device name: "eGalax Inc. USB TouchController" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 272 (BTN_LEFT) Event code 273 (BTN_RIGHT) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 0 Min 42 Max 1981 Event code 1 (ABS_Y) Value 0 Min 42 Max 1981 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Properties: Testing ... (interrupt to exit) *********************************************** This device is grabbed by another process. No events are available to evtest while the other grab is active. In most cases, this is caused by an X driver, try VT-switching and re-run evtest again. Run the following command to see processes with an open fd on this device "fuser -v /dev/input/event0" ***********************************************
And here KODI.log:
Code16:06:32.971 T:1565520800 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder 16:06:32.971 T:1565520800 NOTICE: LoadJpeg: unable to load /storage/.kodi/addons/service.touchscreen/resources/media/background.jpg 16:08:46.358 T:1962102784 ERROR: GetDirectory - Error getting plugin://service.touchscreen/ 16:08:46.358 T:1962102784 ERROR: CGUIMediaWindow::GetDirectory(plugin://service.touchscreen/) failed 16:09:21.391 T:1780478880 ERROR: CPythonInvoker(3, /storage/.kodi/addons/service.touchscreen/calibrate.py): script didn't stop in 5 seconds - let's kill it
Is there anything I have to change in ts.conf and ts_envh.sh or only rename files?
-
Thx, I will try later, when I'm at home
Quote
it must be manually configured as written multiple times.
Well I've searched for Touch by Addons and find it. There was no tip about configuring anything. And this thread I found today
Maybe this should be written as Tip on Addon-Screen. -
Hello,
yesterday I received my Lilliput FA1011 and wanna try the Touch. On Libreelec 7.90.009 it's found under Peripherals as "eGalx USB Touch Screen".
So far, so good, but I couldn't calibrate itI've installed Touchscreen Addon from "Install from Repository -> Services". But everytime I wanna run Addon, nothing happens till cycling for wait process.
Even if I make an clean install oder install stable Version of Libreelec and Update to the newest one. The Addon doesn't workThis message I got in KODI.log:
Code20:51:51.680 T:1610236832 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder 20:51:51.680 T:1610236832 NOTICE: LoadJpeg: unable to load /storage/.kodi/addons/service.touchscreen/resources/media/background.jpg
But Image is still on that Location.In config.txt I set:
And in Kodi I set Resolution to 1024x600p. After that I have to calibrate the Video Settings.Touch still works but only in upper right Corner. And when I slide up, the Cursor wents right and when I slide down, it wents left. Sliding right = Cursor up and sliding left = Cursor down.
Can someone help me getting Touchscreen work properly?
Thx forward