LIRC_GET_REC_MODE/LIRC_SET_REC_MODE - Get/set supported receive modes.
Get/set supported receive modes. Only LIRC_MODE_MODE2 and LIRC_MODE_LIRCCODE are supported for IR receive.
On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.