Unable to use P8.11,12,14,15,16 as GPIO input pins but work properly as output pins

Hi, I am using a beagle bone green wireless and recently flashed it with AM335x Debian 11.7 2023-08-05 4GB eMMC IoT Flasher Debian image for BeagleBone Black Kernel: 5.10.168-ti-r68 U-Boot: v2022.04. I want to use pins P8.11,12,14,15,16 in python as GPIO inputs for a project but am running into this error with this simple code. On a fresh BBGW I am running Debian 8 and can use the pins with no error.

import Adafruit_BBIO.GPIO as GPIO
pin = “P8_11”
GPIO.setup(pin, GPIO.IN)
print(f"{pin} pass")

debian@BeagleBone:~$ sudo python goviTesting/gpio_test.py
Traceback (most recent call last):
File “/home/debian/goviTesting/gpio_test.py”, line 7, in
GPIO.setup(pin, GPIO.IN)
ValueError: Set gpio mode failed, missing file or invalid permissions.

Here is an output of of /boot/uEnv.txt and sudo beagle-version

debian@BeagleBone:~$ cat /boot/uEnv.txt
#Docs: Beagleboard:U-boot partitioning layout 2.0 - eLinux.org

uname_r=5.10.168-ti-r68
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: Beagleboard:BeagleBoneBlack Debian - eLinux.org
###Master Enable
enable_uboot_overlays=1

###Overide capes with eeprom
#uboot_overlay_addr0=.dtbo
#uboot_overlay_addr1=.dtbo
#uboot_overlay_addr2=.dtbo
#uboot_overlay_addr3=.dtbo

###Additional custom capes
#uboot_overlay_addr4=.dtbo
#uboot_overlay_addr5=.dtbo
#uboot_overlay_addr6=.dtbo
#uboot_overlay_addr7=.dtbo

###Custom Cape
#dtb_overlay=.dtbo

###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1

##cape Universal Enable
enable_uboot_cape_universal=1

###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1

###U-Boot fdt tweaks… (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

console=ttyS0,115200n8
cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e

#Use an overlayfs on top of a read-only root filesystem:
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet overlayroot=tmpfs

##enable Generic eMMC Flasher:
#cmdline=init=/usr/sbin/init-beagle-flasher

sudo beagle-version
eeprom:[A335BNLTGW1ABBGW22110272]
model:[TI_AM335x_BeagleBone_Green_Wireless]
dogtag:[BeagleBoard.org Debian Bullseye IoT Image 2023-08-05]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-bonegreen-wireless-uboot-univ.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0.kernel]
UBOOT: Loaded Overlay:[BB-BBGW-WL1835-00A0.kernel]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.kernel]
UBOOT: Loaded Overlay:[wl1835_bt]
kernel:[5.10.168-ti-r68]
nodejs:[v12.22.12]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0~bullseye+20210821]
pkg:[bb-customizations]:[1.20230720.1-0~bullseye+20230720]
pkg:[bb-usb-gadgets]:[1.20230414.0-0~bullseye+20230414]
pkg:[bb-wl18xx-firmware]:[1.20230414.0-0~bullseye+20230414]
pkg:[kmod]:[28-1]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20210315-3]
groups:[debian : debian root adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input render bluetooth netdev i2c gpio admin tisdk weston-launch cloud9ide]
cmdline:[console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 41.071036] remoteproc remoteproc0: powering up wkup_m3
[ 41.071075] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 41.071377] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 66.085819] remoteproc remoteproc1: 4a334000.pru is available
[ 66.123905] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[ 66.085819] remoteproc remoteproc1: 4a334000.pru is available
[ 66.123905] remoteproc remoteproc2: 4a338000.pru is available
[ 800.293368] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.299915] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.713252] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.919482] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.933555] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.977292] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.992326] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.995095] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.020992] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.039749] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.046644] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.060760] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.072800] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.080798] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.108759] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.120662] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.128462] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.141392] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.152683] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.161731] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.172713] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
dmesg | grep pinctrl-single
dmesg | grep gpio-of-helper
dmesg | grep wlcore
[ 67.567989] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 67.580507] wlcore: WARNING Detected unconfigured mac address in nvs, derive from fuse instead.
[ 67.580531] wlcore: WARNING This default nvs file can be removed from the file system
[ 67.611572] wlcore: loaded
[ 68.751821] wlcore: PHY firmware version: Rev 8.2.0.0.243
[ 68.827695] wlcore: firmware booted (Rev 8.9.0.0.83)
[ 70.118324] wlcore: Association completed.
[ 800.293359] WARNING: CPU: 0 PID: 1156 at drivers/net/wireless/ti/wlcore/sdio.c:78 wl12xx_sdio_raw_read+0x14c/0x1b4 [wlcore_sdio]
[ 800.293368] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.293662] [] (warn_slowpath_fmt) from [] (wl12xx_sdio_raw_read+0x14c/0x1b4 [wlcore_sdio])
[ 800.293781] [] (wl12xx_sdio_raw_read [wlcore_sdio]) from [] (wlcore_irq_locked+0xcc/0x7b4 [wlcore])
[ 800.293863] [] (wlcore_irq_locked [wlcore]) from [] (wlcore_irq+0x5c/0x1c8 [wlcore])
[ 800.293908] [] (wlcore_irq [wlcore]) from [] (irq_thread_fn+0x1c/0x7c)
[ 800.299906] WARNING: CPU: 0 PID: 1156 at drivers/net/wireless/ti/wlcore/main.c:803 wl12xx_queue_recovery_work.part.0+0x50/0x54 [wlcore]
[ 800.299915] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.300215] [] (warn_slowpath_fmt) from [] (wl12xx_queue_recovery_work.part.0+0x50/0x54 [wlcore])
[ 800.300286] [] (wl12xx_queue_recovery_work.part.0 [wlcore]) from [] (wlcore_irq+0x164/0x1c8 [wlcore])
[ 800.300329] [] (wlcore_irq [wlcore]) from [] (irq_thread_fn+0x1c/0x7c)
[ 800.304264] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.83
[ 800.304300] wlcore: down
[ 800.304350] wlcore: down
[ 800.713244] WARNING: CPU: 0 PID: 136 at drivers/net/wireless/ti/wlcore/sdio.c:123 wl12xx_sdio_raw_write+0x194/0x1bc [wlcore_sdio]
[ 800.713252] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.713903] [] (warn_slowpath_fmt) from [] (wl12xx_sdio_raw_write+0x194/0x1bc [wlcore_sdio])
[ 800.714016] [] (wl12xx_sdio_raw_write [wlcore_sdio]) from [] (wlcore_set_partition+0xd8/0x520 [wlcore])
[ 800.714088] [] (wlcore_set_partition [wlcore]) from [] (wl12xx_set_power_on+0x6c/0x144 [wlcore])
[ 800.714155] [] (wl12xx_set_power_on [wlcore]) from [] (wl12xx_chip_wakeup+0x24/0x23c [wlcore])
[ 800.714223] [] (wl12xx_chip_wakeup [wlcore]) from [] (wl1271_op_add_interface+0x67c/0xb04 [wlcore])
[ 800.714366] [] (wl1271_op_add_interface [wlcore]) from [] (drv_add_interface+0x38/0x1d4 [mac80211])
[ 800.908051] wlcore: ERROR firmware boot failed despite 3 retries
[ 800.919482] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.933555] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.977292] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.992326] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 800.995095] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.020992] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.039749] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.046644] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.060760] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.072800] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.080798] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.108759] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.120662] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.128462] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.141392] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.152683] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.161731] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
[ 801.172713] Modules linked in: aes_arm_bs crypto_simd cryptd ccm wl18xx wlcore mac80211 cfg80211 pru_rproc irq_pruss_intc libarc4 pm33xx pruss pvrsrvkm(O) ti_eqep counter c_can_platform c_can can_dev wlcore_sdio evdev wkup_m3_ipc uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables spidev
lsusb
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

Please let me know if you need anymore information.

Hey There…I think the library used is valid but only if you have been keeping up with the changes that have incurred.

That adafruit library has been deprecated for some time now (I am pretty sure). I saw GitHub - adafruit/adafruit-beaglebone-io-python: Adafruit's BeagleBone IO Python Library has some ideas that do not fit well with current standings.

Now, do not get me wrong. Seven years in userland is not all that long ago but if no one has updated the source and overlays and so on, things will mismatch.

I suggest looking to docs.beagleboard.org for a better tutorial on building around GPIO.

Um, I saw at the end of your post that you wanted to see if any additional help can be provided…

  1. uname -a && cat /etc/dogtag
  2. ls -l /usr/bin/gpi*
  3. Also…

If you go back to ~/ and then cd ../../ && sudo find | grep libgpiod-dev, what is the output?

I see you are using Debian and that version has been out of LTS for some time. I think getting a new image might just be easier. Now, I am not saying lose all your data but updating to a newer image and kernel may provide some easier access to current technologies.

Seth

P.S. Are there viable reasons why you would like to keep Debian Jessie which has been EOL since 2020?

Hi Seth,

Thank you for the reply. After having some other issues with SPI communication using Adafruit_BBIO I decided to use C++. After enabling the SPI overlay I can use the GPIO, ADC, and SPI pins which is all I need for my project. It may be more trouble dealing with a library that has been deprecated.

I am using Debian 11.7 which looks like one of the newest images available for the Beagle Bone Green Wireless. I found it on Latest Software Images - BeagleBoard. The release is from late 2023 so I assume it is what the develops decided to use.

Thanks anyways for your reply. It is much appreciated.
Govi

1 Like