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?
Works with and without the 12V power adapter.
Thanks for the hint. I should add this to the Wiki. The different possibilities of powering the device should also be in there.