I am using Raspian Buster, and trying to record codes of a Sony remote. But it is not able to detect the buttons, even though mode2 is detecting the button presses on the remote.