How to check if the IR remote control works (GPIO)?

Hi, tanks for the reply.
I’ve tried

sudo tail -f /home/osmc/.kodi/temp/kodi.log

but it returns only error on CEC, nothing on the remote.

The remote work, i don’t know if the receiver work.