Page 1 of 1

GPIO1_A3 cannot be exported

Posted: Wed May 27, 2020 3:51 am
by v8dave
I can't get code to export the GPIO1_A3 pin on the T4. GPIO1A1 and GPIO1_A4 exports without any errors. In fact, all of the other GPIO pins on the header can be exported.

I tried from the terminal in kernel space with SU but still doesn't export.

The schematic for the T4 shows that GPIO1_A3 only connects to the GPIO header and searching the kernel finds no other use for GPIO1_A3 (GPIO35)

Re: GPIO1_A3 cannot be exported

Posted: Wed May 27, 2020 7:52 am
by v8dave
Just a quick update. I found the following would list what each GPIO was currently being used by:

Code: Select all

cat /sys/kernel/debug/gpio


gave this:

Code: Select all

 gpio-35  (                    |camsys_gpio         ) out hi


Seems that the camera is using this GPIO which seems a bit strange as that pin is not connected to any of the camera connectors, only to the GPIO header.

Need to dig into the camera source to find where this is.