Are there even addons for S905? I think not. Other links are working.
Posts by vpeter
-
-
Make yourself some simple Kodi addon in Python which shows you some buttons/images and when you tap on it it plays file associated with it. Should be simple enough.
-
Does your touch daemon/addon really run while Kodi is running?
In my case touch addon starts before Kodi. This way it gets exclusive access to input. Didn't know for LIBINPUT_IGNORE_DEVICE at that time.
Few years back I helped one guy who used 40" TV with touchscreen in a museum. He made custom fullscreen skin with only few buttons which represents which video to play. Something similar what you are doing

-
Then you must use LE from him because official LE 7 doesn't have H3 project. Ask him where it is.
Or use this addon found by Google: pvr.iptvsimple-1.12.12.zip
-
What about just using pvr.iptvsimple-1.12.12.zip
Download on RPi itself
-
Maybe one day.
Few months back Kodi GUI was not even displayed correctly. Now the GUI is shown but I couldn't play anything. So there is visible progress.
-
JeffR, can you explain why you need python script to read data? What exactly are you trying to do?
I do have some experience with touchscreen and kodi. When I was doing my touch daemon/addon I learned a thing or two.
-
Also, does Kodi also needs to read touchscreen events? If yes then you need to create another input device with Python and pass read data from touchscreen to this new input Kodi will be using.
I'm just wondering: why do you even need this external python script? Can't you handle touchscreen in Kodi itself?
-
JeffR, you just need to run python script before kodi is started. Make a service like I did for touchscreen addon: LibreELEC.tv/service.touchscreen.service at master · LibreELEC/LibreELEC.tv · GitHub
Or run your script in background from autostart.sh.
Kodi on Armbian will behave exactly the same.
Evtest program is part of system-addon.
-
Come on, at least for USB keyboard Kodi IS the issue because it grabs input device. Not just on RPi but on every device (and here RPi is not even used). I bet touchscreen is also grabbed.
And there is no data loss: there is no data because other process blocks to read it. Try using evtest with keyboard and you will see what I'm talking about.
Wondering why USB memory stick works on RPi? Maybe someone should make GPIO based memory stick to make it safer

-
JeffR, I was thinking: Do you have Kodi running when you execute your Python script? Because Kodi grabs input devices and other userspace programs can't use them at the same time. Maybe that's the reason for your problem and it has nothing to do with USB (which I don't believe from start). In this case you need to run your Python program before Kodi is started.This way Kodi can't grab this specific input device.
-
What about using evtest program? Do you get data there or it fails too? If everything working there then there could be some python/le issue.
I didn't test with LE but on other 2 char distro where this python sample works and evtest too. And using iPazzPort keyboard with USB receiver.
-
Using USB connection is unsafe. Find a touchscreen, which uses a GPIO protocol, like i2c. The RPi has the same issue, that's why I know.
Really? Can you clarify more? Any links maybe?
-
What is your value for FORMAT and EVENT_SIZE?
Try to attach keyboard and using appropriate event from /dev/input/. And check if you get r[] and print code and value (there is no x/y with keyboard).
Last time I played with input system it worked (few years back).
-
Works here it seems:
Code
Display MoreLibreELEC:~/downloads # ./test.sh Source folder to backup is: /storage/SHARED/MEDIA Target folder parent folder is: /var/media/USB2TB Current script FQDN is: /storage/downloads/test.sh Current script path is: /storage/downloads Current script full name is: test.sh Current script name is: test Log file time is: 20191003084728 Log file extension is: .log Log file delimiter is: _ Log file name is: test_20191003084728.log Log file FQDN is: /storage/downloads/test_20191003084728.log -
Shouldn't there be a warning, then?
Good point!
-
I think you are out of luck. Internet doesn't forget things

-