Well, interesting. I installed the standard Raspberry Pi OS (32-bit) and the touch screen works just fine as a touch screen.
But when I launch the RaceCapture app it doesn't respond to any touch commands. It gets stuck at the opening screen and when I try to press Next or Skip there is no response.
Interestingly, with a working touch screen there is the same no response to:
and
also doesn't list the screen as an input device, even though it is in fact working as an input device.
and when I execute
I see the response "modprobe: FATAL: Module rpi-ft5406 not found in directory /libmodules/5.4.51-v7"
So similar to what was reported here,
Touch Screen Not working probably something changed in the distro between Jessie Lite and latest, and the RaceCapture app needs some legacy package. Hmmm.
I ran a comparison on the .info files between Jessie Lite and the Raspbian Buster Lite image in the directory Brent mentioned above but couldn't really tell. Biggest difference seems to be the python library changed from 2.7 to 3.x.
@brentp can you give a hint which libraries does the RaceCapture app use for the touch device input? Must be something more than just the mtdev-tools since I installed those.....
@brentp I kind of sort of got it. Basically, I tried following the directions here:
https://github.com/mrichardson23/rpi-kivy-screen
except not all of them worked. Got some errors trying to get the certificate.
Tried to install all the packages mentioned, a bunch of stuff happened.
ran the wget ... get-pip.py which did something, then got a 404 at the end.
ran the git clone ..kivy but got a permission denied response. Hmmm. sudo su to the rescue.
But when I tried to run the setup.py build and install commands they failed.
But since there was a kivy directory, I ran
added the following two lines
Code: Select all
mtdev_%(name)s = probesysfs,provider=mtdev
hid_%(name)s = probesysfs,provider=hidinput
and voila, then the RaceCapture app responded to the touch screen inputs
So now the question is which of these steps is actually required....
I'm betting that RaceCapture app will run on OS Lite CLI if I install the packages, clone the kivy and modify the config.ini file.
Update, I tried it with OS Lite, here's what it takes:
Install the dependencies listed in section 9
Code: Select all
pi@raspberrypi ~ $ sudo apt-get update
pi@raspberrypi ~ $ sudo apt-get -y install pkg-config libgl1-mesa-dev libgles2-mesa-dev
python-pygame python-setuptools libgstreamer1.0-dev git-core
gstreamer1.0-plugins-{bad,base,good,ugly}
gstreamer1.0-{omx,alsa} python-dev
clone the kivy, no need for the additional steps:
Code: Select all
pi@raspberrypi ~ $ sudo git clone https://github.com/kivy/kivy
Update the config.ini file (if it doesn't yet exist, try and run the RaceCapture app to generate a config.ini file for Kivy)
Add these two lines in the [input] section, after mouse = mouse
Code: Select all
mtdev_%(name)s = probesysfs,provider=mtdev
hid_%(name)s = probesysfs,provider=hidinput
Exit and save the config.ini file
launch RaceCapture app. Enjoy.