Lots of logs with USB remote controller

Hi everyone,

I am using OSMC on a Raspberry Pi 2 and I am using this remote to control it: Simplecom

I had to remap some of the keys for it to work correctly but I can use it now. My problem is that the remote is supposed to be potentially used as a mouse as well with built-in accelerometer and gyroscope. Whenever I move the remote, the logs get filled with messages like these ones repeated hundred and hundred of times:

22:45:42 131397.796875 T:1955865520 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event code: 15
22:45:42 131397.828125 T:1955865520 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event code: 10
22:45:42 131397.828125 T:1955865520 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event code: 11
22:45:42 131397.828125 T:1955865520 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event code: 12
22:45:42 131397.828125 T:1955865520 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event code: 13
22:45:42 131397.828125 T:1955865520 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event code: 14

It can be a bit difficult then to analyse the logs when I need to and I was wondering if it was not also putting a load on the RPi by writing logs whenever I move the remote.

Would there be a way for me to ask Kodi/OSMC not too record all these messages?

Thanks for the help


Ben

Up?

Turn off debug mode in Kodi ?

These messages appear whatever the debug mode, On or Off.

Have you tried using the “Turn off mouse” button on the remote?

Hi. Yes, when the mouse is ON, the cursor moves on the TV and I see the Warning lines in the log file. When it is OFF, the cursor does not appear anymore on the TV but the Warning lines are still there.

If you have the mouse off, then the remote still seems to be sending movement commands when you move it. You probably need to take this to the manufacturer.

You could try to figure out what the remote is doing, and try to map those commands in Kodi. Have you asked this question over in the Kodi forums?

I tried to map the movement commands but I did not succeed. I’ll create a post in Kodi’s forum directly to see if they have an idea there. Thanks for your help anyway.

Cheers


Ben