OK so the weirdest things has just happened. I was just sitting doing something else when the item just started playing on it’s own. I stopped it but it started again, then I started hearing very fast key presses like the button was being held down.
OK , I thought, must be the remote’s packed up. So to verify this I unplug the USB dongle and restart Kodi. But as soon as kodi starts it begins all over again. So reboot the box, the same. Disable the web interface , the same. But every time Kod starts I now get this stuck key sound and the interface is unresponsive. I have looked in the logs and even run it standalone with debug, still nothing showing a phantom input.
FWIW these are all the errors in the log.
grep ERROR kodi.log
2021-07-22 18:35:02.998 T:4072808464 ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
2021-07-22 18:35:03.216 T:4072808464 ERROR: GetString: error reading /sys/firmware/devicetree/base/buggymali
2021-07-22 18:35:03.224 T:4072808464 ERROR: GetString: error reading /home/osmc/.kodi/userdata/disp_cap
2021-07-22 18:35:03.224 T:4072808464 ERROR: GetString: error reading /sys/class/amhdmitx/amhdmitx0/vesa_cap
2021-07-22 18:35:03.417 T:4072808464 ERROR: GetString: error reading /sys/firmware/devicetree/base/buggymali
2021-07-22 18:35:03.897 T:4072808464 ERROR: GetString: error reading /sys/firmware/devicetree/base/buggymali
2021-07-22 18:35:05.508 T:3966439648 ERROR: Error loading Smart playlist special://skin/extras/playlists/random_movies.xsp (failed to read file)
2021-07-22 18:35:05.508 T:3937399008 ERROR: Error loading Smart playlist special://skin/extras/playlists/random_TV_shows.xsp (failed to read file)
2021-07-22 18:35:05.508 T:3966439648 ERROR: Error loading Smart playlist special://skin/extras/playlists/random_movies.xsp (failed to read file)
2021-07-22 18:35:05.508 T:3966439648 ERROR: GetDirectory - Error getting special://skin/extras/playlists/random_movies.xsp
2021-07-22 18:35:05.509 T:3937399008 ERROR: Error loading Smart playlist special://skin/extras/playlists/random_TV_shows.xsp (failed to read file)
2021-07-22 18:35:05.509 T:3937399008 ERROR: GetDirectory - Error getting special://skin/extras/playlists/random_TV_shows.xsp
2021-07-22 18:35:06.250 T:4072808464 ERROR: CGUIPassword::IsMediaPathUnlocked - missing filter: videodb://movies/titles/
2021-07-22 18:35:06.285 T:4054573280 ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
2021-07-22 18:35:06.285 T:4054573280 ERROR: CCurlFile::Open failed with code 0 for https://blog-cdn.osmc.tv/rss/:
2021-07-22 18:35:11.386 T:4054573280 ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
2021-07-22 18:35:11.386 T:4054573280 ERROR: CCurlFile::Open failed with code 0 for https://blog-cdn.osmc.tv/rss/:
2021-07-22 18:35:16.487 T:4054573280 ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
2021-07-22 18:35:16.487 T:4054573280 ERROR: CCurlFile::Open failed with code 0 for https://blog-cdn.osmc.tv/rss/:
2021-07-22 18:35:16.487 T:4054573280 ERROR: Unable to obtain rss feed: https://blog-cdn.osmc.tv/rss/
FWIW I see a mouse cursor in the top left of the screen where there never uses to be one.
There are no dmegs talking of a new input device so what is going on ?
Edit:
Here is the input device list.
evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: gpio_keypad
/dev/input/event1: cec_input
/dev/input/event2: OSMC Remote Controller USB Keyboard Mouse
/dev/input/event3: OSMC Remote Controller USB Keyboard Mouse
/dev/input/event4: meson-ir
/dev/input/event5: lircd
EDIT 2.
Ok not a hardware problem it seems. I moved my .kodi
folder to start with a fresh profile and it is not happening. Something in the profile is. I shall investigate further.
EDIT 3.
Ok so it seem somehow guisettings.xml was corrupt somehow. I remove it and the problem goes away. Very odd.