Edgerouter X-SFP no POE on 24.10

After upgrading to 24.10, my Edgerouter X-SFP no longer provides POE. Can't find anything on the device page. Any idea how to fix this?

Just checking, did you read

https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka#poe_out_on_edgerouter_x-sfp_and_edgepoint_r6

!!! Update: While using kernel 6.6.73 on an ubnt-x-sfp I noticed that the gpio numbers had changed as the pca9555 is attributed another gpio base number which is 608. So 496 .. 500 become 608 .. 612.

Yes, I tried that already. However, "echo "1" > /sys/class/gpio/gpio610/value" just gave me "can't create /sys/class/gpio/gpio610/value: nonexistent directory".

Can you post the output of

ls -l /sys/class/gpio/

This should say which gpios are available.

--w------- 1 root root 4096 Feb 9 14:09 export
lrwxrwxrwx 1 root root 0 Jan 1 1970 gpiochip512 -> ../../devices/platform/1e000000.palmbus/1e000600.gpio/gpio/gpiochip512
lrwxrwxrwx 1 root root 0 Jan 1 1970 gpiochip544 -> ../../devices/platform/1e000000.palmbus/1e000600.gpio/gpio/gpiochip544
lrwxrwxrwx 1 root root 0 Jan 1 1970 gpiochip576 -> ../../devices/platform/1e000000.palmbus/1e000600.gpio/gpio/gpiochip576
lrwxrwxrwx 1 root root 0 Feb 15 14:42 gpiochip608 -> ../../devices/platform/1e000000.palmbus/1e000900.i2c/i2c-0/0-0025/gpio/gpiochip608
--w------- 1 root root 4096 Jan 1 1970 unexport

Can you please provide the output of

opkg list-installed

You have to export the GPIO before the directory where value can be written will exist.

It would be simpler just to change (add 108 to it) the GPIO nunber in the poe control block in /etc/config/system. Look at /rom/etc/config/system for the default values for the new version.

I think that service system restart will then load the new GPIO values to the hardware. Or reboot. Be sure that any device plugged into the port is compatible with UBNT passive PoE.

base-files - 1655~6df0e3d02a
busybox - 1.36.1-r2
ca-bundle - 20240203-r1
cgi-io - 2022.08.10~901b0f04-r21
dnsmasq - 2.90-r4
dropbear - 2024.86-r1
firewall4 - 2024.12.18~18fc0ead-r1
fstools - 2024.07.14~408c2cc4-r1
fwtool - 2019.11.12~8f7fe925-r1
getrandom - 2024.04.26~85f10530-r1
hostapd-common - 2024.09.15~5ace39b0-r2
iwinfo - 2024.10.20~b94f066e-r1
jansson4 - 2.14-r3
jshn - 2024.03.29~eb9bcb64-r1
jsonfilter - 2024.01.23~594cfa86-r1
kernel - 6.6.73~3abe85def815b59c6c75ac1f92135cb6-r1
kmod-crypto-acompress - 6.6.73-r1
kmod-crypto-aead - 6.6.73-r1
kmod-crypto-authenc - 6.6.73-r1
kmod-crypto-crc32c - 6.6.73-r1
kmod-crypto-des - 6.6.73-r1
kmod-crypto-hash - 6.6.73-r1
kmod-crypto-hw-eip93 - 6.6.73-r1
kmod-crypto-manager - 6.6.73-r1
kmod-crypto-md5 - 6.6.73-r1
kmod-crypto-null - 6.6.73-r1
kmod-crypto-sha1 - 6.6.73-r1
kmod-crypto-sha256 - 6.6.73-r1
kmod-gpio-button-hotplug - 6.6.73-r5
kmod-gpio-pca953x - 6.6.73-r1
kmod-hwmon-core - 6.6.73-r1
kmod-i2c-algo-bit - 6.6.73-r1
kmod-i2c-algo-pca - 6.6.73-r1
kmod-i2c-core - 6.6.73-r1
kmod-i2c-gpio - 6.6.73-r1
kmod-leds-gpio - 6.6.73-r1
kmod-lib-crc-ccitt - 6.6.73-r1
kmod-lib-crc32c - 6.6.73-r1
kmod-lib-lzo - 6.6.73-r1
kmod-libphy - 6.6.73-r1
kmod-nf-conntrack - 6.6.73-r1
kmod-nf-conntrack6 - 6.6.73-r1
kmod-nf-flow - 6.6.73-r1
kmod-nf-log - 6.6.73-r1
kmod-nf-log6 - 6.6.73-r1
kmod-nf-nat - 6.6.73-r1
kmod-nf-reject - 6.6.73-r1
kmod-nf-reject6 - 6.6.73-r1
kmod-nfnetlink - 6.6.73-r1
kmod-nft-core - 6.6.73-r1
kmod-nft-fib - 6.6.73-r1
kmod-nft-nat - 6.6.73-r1
kmod-nft-offload - 6.6.73-r1
kmod-phylink - 6.6.73-r1
kmod-ppp - 6.6.73-r1
kmod-pppoe - 6.6.73-r1
kmod-pppox - 6.6.73-r1
kmod-regmap-core - 6.6.73-r1
kmod-regmap-i2c - 6.6.73-r1
kmod-sfp - 6.6.73-r1
kmod-slhc - 6.6.73-r1
libblobmsg-json20240329 - 2024.03.29~eb9bcb64-r1
libc - 1.2.5-r4
libgcc1 - 13.3.0-r4
libiwinfo-data - 2024.10.20~b94f066e-r1
libiwinfo20230701 - 2024.10.20~b94f066e-r1
libjson-c5 - 0.18-r1
libjson-script20240329 - 2024.03.29~eb9bcb64-r1
liblucihttp-ucode - 2023.03.15~9b5b683f-r1
liblucihttp0 - 2023.03.15~9b5b683f-r1
libmbedtls21 - 3.6.2-r1
libmnl0 - 1.0.5-r1
libnftnl11 - 1.2.8-r1
libnl-tiny1 - 2023.12.05~965c4bf4-r1
libpthread - 1.2.5-r4
libubox20240329 - 2024.03.29~eb9bcb64-r1
libubus20250102 - 2025.01.02~afa57cce-r1
libuci20250120 - 2025.01.20~16ff0bad-r1
libuclient20201210 - 2024.10.22~88ae8f20-r1
libucode20230711 - 2024.07.22~b610860d-r3
libudebug - 2023.12.06~6d3f51f9
libustream-mbedtls20201210 - 2024.07.28~99bd3d2b-r1
logd - 2024.04.26~85f10530-r1
luci - 24.297.79519~bcd13b9
luci-app-firewall - 25.014.06885~bd39c63
luci-app-package-manager - 24.341.02353~276fef8
luci-base - 25.014.55016~7046a1c
luci-light - 23.024.33244~34dee82
luci-mod-admin-full - 19.253.48496~3f93650
luci-mod-network - 25.021.30718~36b6107
luci-mod-status - 25.009.65022~20bf9a4
luci-mod-system - 24.336.49068~ef16778
luci-proto-ipv6 - 24.350.69236~8d13ea4
luci-proto-ppp - 25.009.71487~a88d4af
luci-ssl - 24.328.43591~9e70c9a
luci-theme-bootstrap - 24.357.59015~779ca14
mtd - 26
netifd - 2024.12.17~ea01ed41-r1
nftables-json - 1.1.1-r1
odhcp6c - 2024.09.25~b6ae9ffa-r1
odhcpd-ipv6only - 2024.05.08~a2988231-r1
openwrt-keyring - 2024.11.01~fbae29d7-r2
opkg - 2024.10.16~38eccbb1-r1
ppp - 2.5.1-r1
ppp-mod-pppoe - 2.5.1-r1
procd - 2024.12.22~42d39376-r1
procd-seccomp - 2024.12.22~42d39376-r1
procd-ujail - 2024.12.22~42d39376-r1
px5g-mbedtls - 11
rpcd - 2024.09.17~9f4b86e7-r1
rpcd-mod-file - 2024.09.17~9f4b86e7-r1
rpcd-mod-iwinfo - 2024.09.17~9f4b86e7-r1
rpcd-mod-luci - 20240305-r1
rpcd-mod-rrdns - 20170710
rpcd-mod-ucode - 2024.09.17~9f4b86e7-r1
ubi-utils - 2.2.1-r1
ubox - 2024.04.26~85f10530-r1
ubus - 2025.01.02~afa57cce-r1
ubusd - 2025.01.02~afa57cce-r1
uci - 2025.01.20~16ff0bad-r1
uclient-fetch - 2024.10.22~88ae8f20-r1
ucode - 2024.07.22~b610860d-r3
ucode-mod-fs - 2024.07.22~b610860d-r3
ucode-mod-html - 1
ucode-mod-math - 2024.07.22~b610860d-r3
ucode-mod-nl80211 - 2024.07.22~b610860d-r3
ucode-mod-rtnl - 2024.07.22~b610860d-r3
ucode-mod-ubus - 2024.07.22~b610860d-r3
ucode-mod-uci - 2024.07.22~b610860d-r3
ucode-mod-uloop - 2024.07.22~b610860d-r3
uhttpd - 2023.06.25~34a8a74d-r4
uhttpd-mod-ubus - 2023.06.25~34a8a74d-r4
urandom-seed - 3
urngd - 2023.11.01~44365eb1-r1
usign - 2020.05.23~f1f65026-r1

sorry, there is no /rom/etc/config/system

That means the whole file is created by scripts during first boot. Try mv /etc/config/system /etc/config/system.bak and reboot. The hostname etc will need to be edited into the new file.

Probably /etc/board.json has something to do with setting the GPIO number during first boot.

Wonderful! Setting up a new system file at reboot resolved the issue. Thx.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.