Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu 22.04
Which version of system do you use? Khadas official images, self built images, or others?
Official vim3-ubuntu-22.04-server-linux-5.15-fenix-1.6.3-240112-emmc.img
Please describe your issue below:
I had some software running on 20.04 which changed the state of the GPIO physical 22 and 23. The software now does not work when the OS has been upgraded to 22.04.
The pins cannot be accessed via wiringpi
The pins cannot be exported using: echo 491 | sudo tee /sys/class/gpio/export
491
tee: /sys/class/gpio/export: Invalid argument
meson-g12a-pinctrl pinctrl@ff634480: pin GPIOX_15 already requested by ffd24000.serial; cannot claim for periphs-banks:491
This indicates that UART3 is using the pins, however I don’t have any overlays in /boot/dtb/amlogic/kvim3.dtb.overlay.env
I tried to create a device tree overlay called disable_uart3:
/dts-v1/;
/plugin/;
Thank you for your reply. As per my original post I did create an overlay to disable i2c3 however it didn’t work.
I am confused as to how the GPIO map could have changed between the 20.04 and 22.04? This is showing physical pin 22 as GPIO 491 whereas it used to be 475 as you mentioned.