Realtek-poe and JG922A (1920 8G Poe+ 180W)

Hi All.

Wanted to write a note and a question regarding realtek-poe and PoE led status.

Successfully installed openwrt on JG922A (HP/HPE/H3C 1920 8G PoE+ 180W switch).

Item of note regarding configuration: PoE ports and ID's are backwards. i.e. port 1 is id 8. Other than that power delivery appears to work fine. Haven't tested the other units I flashed yet. For example:

{
        "firmware": "v20.3",
        "mcu": "Nuvoton M05xx LAN Microcontroller",
        "budget": 170.000000,
        "consumption": 3.600000,
        "ports": {
                "lan8": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Delivering power",
                        "consumption": 3.600000
                },
                "lan7": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                },
                "lan6": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                },
                "lan5": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                },
                "lan4": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                },
                "lan3": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                },
                "lan2": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                },
                "lan1": {
                        "priority": 2,
                        "mode": "PoE+",
                        "status": "Searching"
                }
        }
}

At this time I haven't figured out why the PoE status LED's aren't turning on. Haven't looked at the code nor the debug output of the messages via realtek-poe -d.

I saw poeparse.py yet to try it to have a look at what the daemon already sends to get the LED's up. I understand I can send frames via ubus call? For example?

ubus call poe sendframe '{"frame": "0x09 0x01"}'

Else I guess I need to flash back to factory and dump the serial interface and/or have a look at whhere the PoE LED's go to?

Not critical for my application and I'm going to get these into my network soon so don't really want to flash and do logic analyser/reverse engineering work.

Thanks!

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board

Thanks for reaching out.

I might have this in the wrong part of the forum. Maybe I need to put it in dev.
Just had the thought I should look at LED section in /sys/class/led and there's nothing there.

Anyway as requested:

root@OpenWrt:~# ubus call system board 
{
	"kernel": "5.15.162",
	"hostname": "OpenWrt",
	"system": "RTL8380",
	"model": "HPE 1920-8G-PoE+ 180W (JG922A)",
	"board_name": "hpe,1920-8g-poe-180w",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "23.05.4",
		"revision": "r24012-d8dd03c46f",
		"target": "realtek/rtl838x",
		"description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
	}
}