So I've tried a few different things - different versions of the RC App, etc. most recently installing the full desktop OS and launching from there. I still have the same issue as before, except when I have a mouse plugged in I can get the app to "work". By work I mean I can move the mouse around and the different picks light up and I can click into the sub menus, although I'm then stuck! ESC only works that very first time to get from the set-up screen (with the pic of the two cars and the "SETUP" and "SKIP" buttons) to the main menu (with the dash, analysis and settings pics). Once I've done that once, none of the keyboard functions seem to work (ESC, or any of the other shortcuts, including CTRL+Q to quit out of the app) and so I'm kind of stuck in the homescreen or in the submenu i click into..
The one thing I've managed to do now I'm running the full OS is get to the log file from the app, so wondered if someone can take a look at this and let me know where I'm going wrong?
Just to recap - I'm using the pi model 3 b+, official pi 7" touchscreen connected by the display ribbon cable and the GPIO connectors, and when I'm not trying to use the touchscreen I'm using a USB keyboard and mouse. I've gone with this set-up specifically as its the recommended hardware, and I'm following the installation instructions on the wiki page to the letter. The only thing I've not tried recently is launching with watchdog, I'm just launching it from the command line (most recently within the full desktop OS rather than the "lite" version) because when it doesn't work with watchdog running I'm a bit screwed - I have to format the sd card and start again..
Anyway, content of the log file is below - hopefully it means something to someone.. I'm guessing the issue is in the last bit which reads as follows..
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 810, in __bootstrap_inner
File "threading.py", line 763, in run
File "kivy/input/providers/hidinput.py", line 685, in _thread_run
IOError: [Errno 19] No such device
..but I'm out of troubleshooting skills with Linux / Pi so I'm stuck
Appreciate any help - I'm guessing I'm either doing something really dumb or I'm missing something during the set-up
*********LOG FILE*********
[[1;32mINFO[0m ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_18-12-18_1.txt
[[1;32mINFO[0m ] [Kivy ] v1.10.1
[[1;32mINFO[0m ] [Python ] v2.7.9 (default, Sep 17 2016, 20:55:23)
[GCC 4.9.2]
[[1;32mINFO[0m ] [Factory ] 194 symbols loaded
[[1;32mINFO[0m ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[[1;32mINFO[0m ] [Window ] Provider: egl_rpi
[[1;32mINFO[0m ] [GL ] Using the "OpenGL ES 2" graphics system
[[1;32mINFO[0m ] [GL ] Backend used <gl>
[[1;32mINFO[0m ] [GL ] OpenGL version <OpenGL ES 2.0>
[[1;32mINFO[0m ] [GL ] OpenGL vendor <Broadcom>
[[1;32mINFO[0m ] [GL ] OpenGL renderer <VideoCore IV HW>
[[1;32mINFO[0m ] [GL ] OpenGL parsed version: 2, 0
[[1;32mINFO[0m ] [GL ] Shading version <OpenGL ES GLSL ES 1.00>
[[1;32mINFO[0m ] [GL ] Texture max size <2048>
[[1;32mINFO[0m ] [GL ] Texture max units <8>
[[1;32mINFO[0m ] [Window ] virtual keyboard not allowed, single mode, not docked
[[1;32mINFO[0m ] [Clipboard ] Provider: sdl2(['clipboard_xclip', 'clipboard_xsel', 'clipboard_dbusklipper', 'clipboard_gtk3'] ignored)
[[1;31mCRITICAL[0m] [Cutbuffer ] Unable to find any valuable Cutbuffer provider.
xclip - OSError: [Errno 2] No such file or directory
File "kivy/core/__init__.py", line 59, in core_select_lib
File "/tmp/pip-build-E6DuRj/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
File "kivy/core/clipboard/clipboard_xclip.py", line 17, in <module>
File "subprocess.py", line 710, in __init__
File "subprocess.py", line 1335, in _execute_child
xsel - OSError: [Errno 2] No such file or directory
File "kivy/core/__init__.py", line 59, in core_select_lib
File "/tmp/pip-build-E6DuRj/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
File "kivy/core/clipboard/clipboard_xsel.py", line 16, in <module>
File "subprocess.py", line 710, in __init__
File "subprocess.py", line 1335, in _execute_child
[[1;32mINFO[0m ] [Text ] Provider: sdl2
[[1;32mINFO[0m ] [UserPrefs ] Data Dir is: /home/pi/.config/racecapture
[[1;31mERROR[0m ] [Error loading preferences, using defaults. [Errno 2] No such file or directory] '/home/pi/.config/racecapture/prefs.json'
[[1;32mINFO[0m ] [AppConfig ] using user storage directory: /home/pi/.config/racecapture
[[1;32mINFO[0m ] [GL ] NPOT texture support is available
[[1;32mINFO[0m ] [ProbeSysfs ] device match: /dev/input/event1
[[1;32mINFO[0m ] [HIDInput ] Read event from </dev/input/event1>
[[1;32mINFO[0m ] [ProbeSysfs ] device match: /dev/input/event0
[[1;32mINFO[0m ] [HIDInput ] Read event from </dev/input/event0>
[[1;32mINFO[0m ] [Base ] Start application main loop
[[1;32mINFO[0m ] [HIDMotionEvent] using <Dell Dell USB Entry Keyboard>
[[1;32mINFO[0m ] [HIDMotionEvent] using <FT5406 memory based driver>
[[1;32mINFO[0m ] [HIDMotionEvent] <FT5406 memory based driver> range ABS X position is 0 - 800
[[1;32mINFO[0m ] [HIDMotionEvent] <FT5406 memory based driver> range ABS Y position is 0 - 480
[[1;32mINFO[0m ] [HIDMotionEvent] <FT5406 memory based driver> range position X is 0 - 800
[[1;32mINFO[0m ] [HIDMotionEvent] <FT5406 memory based driver> range position Y is 0 - 480
[[1;32mINFO[0m ] [RaceCaptureApp]Datastore Path:/home/pi/.config/racecapture/datastore.sq3
[[1;32mINFO[0m ] [RaceCaptureApp] initializing rc comms with, conn type: Serial
[[1;32mINFO[0m ] [RaceCaptureApp]initializing datastore...
[[1;32mINFO[0m ] [RCPAPI ] cmd_sequence_worker starting
[[1;32mINFO[0m ] [RCPAPI ] msg_rx_worker starting
[[1;32mINFO[0m ] [RCPAPI ] auto_detect_worker starting
[[1;32mINFO[0m ] [DataStore ] Applying db migrations: []
[[1;32mINFO[0m ] [DataStore ] db migrations complete
[[1;32mINFO[0m ] [RaceCaptureApp] Current presets loaded
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 810, in __bootstrap_inner
File "threading.py", line 763, in run
File "kivy/input/providers/hidinput.py", line 685, in _thread_run
IOError: [Errno 19] No such device
[[1;32mINFO[0m ] [RaceCaptureApp] Current tracks loaded