Jetson nano IR transmission

I am trying to transmit IR signal with the jetson nano using any method. I tried lirc and setting up similar to a raspberry pi using the following steps:

  • Editing /etc/lirc/lirc_options.conf to change the driver to auto and device to /dev/lirc0
  • Added to /etc/modules the following:
lirc_rpi gpio_in_pin=26

When I run sudo mode2 -d /dev/lirc0 I get:

Using driver default on device /dev/lirc0
Cannot initiate device /dev/lirc0

Any idea how to do that ? I want to send NEC data using any GPIO pin.

Have reference to below topic.

The thread wasn’t really concluded. At the end the port mapping was shared with no further info, or am I missing something?

Suppose you need to study the LIRC driver to figure out the solution.