GPIO_60 pin is set to 1, and is missing from /sys/class/gpio

Bought 2 green seedstudio Beagle bONE

s2w@beaglebone:/sys/class/gpio$ sudo /opt/scripts/tools/version.sh 
git:/opt/scripts/:[ea6ea9fca05f36f5044398884375b0231348d6e2]
eeprom:[A335BNLTGW1ABBGW16054396]
model:[TI_AM335x_BeagleBone_Green_Wireless]
dogtag:[BeagleBoard.org Debian Image 2018-01-28]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-00002-g9aa111a004]
kernel:[4.9.78-ti-r94]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_emmc=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180126.0-0rcnee0~stretch+20180126]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
dmesg | grep pinctrl-single
[ 1.489922] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
END

Also

me@beaglebone:/sys/class/gpio$ ls gpio6*
me@beaglebone:/sys/class/gpio$ find -name gpio60
 

me@beaglebone:/sys/class/gpio$ config-pin -l P9_60 
Invalid pin: "P9_60" "9_60"
Pin is not modifyable: P9_60 

While all other PINS are ok like,

 me@beaglebone:/sys/class/gpio$ config-pin -l P9_30 
default gpio gpio_pu gpio_pd gpio_input spi pwm pruout pruin

There is no p9-60 they stop at p9-46

Do you mean

GPIO60 = gpio1_28 = P9_12 = CPU-pin U18 ?

O my god,… what I was thinking!. Yes, I was to deep into it. Is P9_12

… definitely an error of accessing.

Though the P9_12 is always on.
any reason ?.

If its missing export it

echo "pinhere" > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio"numberhere"/direction

or in

what version of debian you using ?

  • All version is in the first post
  • All details about export are in the history of this post.
  • All other pins exports works, except this one. This is unexportable and it’s voltage is 1