I enabled POE pass throught like explained in https://openwrt.org/toh/ubiquiti/ubiquiti_edgerouter_x_er-x_ka#poe_out_on_edgerouter_x
$echo 0 > /sys/class/gpio/export $echo out > /sys/class/gpio/gpio0/direction $echo 1 > /sys/class/gpio/gpio0/value
This works only when the device is powered by the included 12V adapter. When powered with 24V on eht0/PoE IN (or both) the device rejects the new value. From my understanding this is caused by an active driver in kernelspace, rejecting a tranfer to userspace.
$echo 1 > /sys/class/gpio/gpio0/value -ash: write error: Operation not permitted
The activation of eth4/PoE OUT is not permanent and reverted after a reboot.
Is it resonable to cusomize the solution from Edge Router X-SFP with i2c-gpio-custom to make this change permanent or am I missing something?