Activate PoE Passthrough ๐Ÿ”Œ on boot

after the nice help of @mk24 over here I have today deployed a test setup including two cpe210 which are both powered over only one passive ethernet cable using the poe passthroguh from the cpe210.

I were able to activate the poe passthrough on gpio20 (ussing ssh echo 1 > /sys/class/gpio/gpio20/value) which I found already present by probing the exported gpio's with cat /sys/kernel/debug/gpio.

I now wonder how could activate this (this already present gpio switch) to turn on when the device is booted (so the second device also starts).

I think the information in the wiki doesn't take the fact that the gpio20 switch is already present in recent firmwares?

It would be also very nice if I could toggle the switch to turn poe passthrough on and off from luci directly.

Thank's a lot and stay save everyone!

There's a gpio_switch section in /etc/config/system. This is read by the /etc/init.d/gpio_switch script on boot.

You should be able to do something like

uci set system.poe_passthrough.value=1
uci commit

to enable the setting on boot.


Works exactly like described and enables the poe passthrough on boot :+1:

Is there by chance any easy way to handle this switch from luci?

I don't know if there has been any work done on this. But I see tha exactly this example has been discussed before, with a proposed local fix:

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