Hi all,
I’m trying to get a PocketBeagle (original AM3358 version, NOT a PocketBeagle2) set up as a packet radio node with DireWolf, I have a USB sound interface and wish to use two pins, P1.33 and P1.35 as GPIOs for the “data carrier detect” LED and PTT control signal, respectively. I am running kernel version 6.18.45-bone48. The image is the minimal Debian 13 2026-07-24 image.
For testing purposes, I’m using the sysfs interface to see if I can manually control those LEDs. he board was made years ago (back in 2018) to expose these two pins as well as P1.31 and P1.29 for future use. These are the pins I intend to use, and according to the documentation, I should be able to use them.
System Reference Manual · beagleboard/pocketbeagle Wiki · GitHub shows the 4 pins in question on the bottom left of the diagram, by default they are associated with the PRUs, and apparently this is the mode used by default.
The GPIO numbering appears to have changed: the Linux kernel now numbers them from 512, but also the GPIO chips themselves seem to have been re-arranged… in the old currency that this diagram shows, the pins in question were called GPIO 88 and GPIO 111… and with the 512 offset, would be 600 and 623 respectively.
I tried exporting 600 and 623 and wiggling those but saw nothing on the pins.
show-pins is no help:
Died at /usr/local/sbin/show-pins line 101, <> line 57.
Manually looking through /sys/kernel/debug/gpio, I see the GPIO numbers I need are 56 and 79; which with the 512 offset is now 568 and 591.
I tried exporting those pins via sysfs, and again, wiggling them shows nothing.
Old documentation refers to a config-pin command, sadly this does not seem to exist on the image I used.
I’ve had a hunt around through the device tree overlays, nothing jumps out at me as being the “disable PRU” overlay. I’ve also tried commenting out the uboot_pru_overlay= line so no PRU lines are selected… no dice.
How do I get the PRUs to release these pins back to being plain GPIOs?