Hi.
I use a RPI3 Rev B and rune 0.3 beta version.
I'd like to use BCM GPIO23 (J8 pin 16) to lirc (input) and I have configured in config.txt the following line:
dtoverlay=lirc-rpi,gpio_in_pin=23,gpio_out_pin=22,gpio_in_pull=up
The gpio is still configured as Out:
[root@runeaudio ~]# gpio readall
+-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
.....
| 22 | 3 | GPIO. 3 | OUT | 1 | 15 || 16 | 0 | OUT | GPIO. 4 | 4 | 23 |
.....
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+
To solve the first problem using a python script:
#!/usr/bin/python2
import RPi.GPIO as gpio
gpio.setmode(gpio.BCM)
gpio.setup(23, gpio.IN, pull_up_down=gpio.PUD_UP)
gpio.cleanup()
exit()
and now mode2 command works.
BR
Dario
https://pastebin.com/0gcVL9a1