> Hey everyone.
>
> I'm planning to update the GB-PC2 devicetree on OpenWrt. Currently it
> doesn't define the 3rd port on the device. I need anyone with a GB-PC2 to
> test whether the 3rd port works with my changes. For example, connect a
> computer to the 3rd port and try to ping GB-PC2 or vice versa. The IPv4
> address of the GB-PC2 will be 192.168.1.1.
>
> About LEDs, I'd like to confirm how many LEDs are on the device and how
> many or if any of them can be controlled by GPIO?
> I see only two LEDs on the device schematics, PLED & SYS_LED which PLED is
> not wired to a GPIO pin, the other does not seem to be wired at all, so I
> already took the LED definitions out on the upstream devicetree:
>
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&id=5bc148649cf358d0cccf525452a4efbd4bc89a0f
That is inaccurate at least for the GBPC2 hardware I have, all the LEDs
are wired and can theoretically be controlled from the SoC, even
BOTH the green LEDs next to the power switch. They DID work in a
previous kernel release (see my previous mail and the linked Github
issue) but stopped some time after 5.1. I don't know why, I opened a GH
issue for it as well, but it doesn't seem to have been picked up by
anybody.
When they worked, they were controllable via the gbpc1 sysctl's.
The yellow port LEDs never worked for me, Neil Brown did try to edit
the devicetree to get them to work according to my reverse engineering
findings, but I don't know if that went anywhere.
https://github.com/gnubee-git/GnuBee_Docs/issues/110
https://github.com/gnubee-git/GnuBee_Docs/issues/82
https://github.com/neilbrown/gnubee-tools/issues/28