I ended up with an ER-X-SFP with an Ubiquity Fiber Instant SFP GPON stick in my hands and I would like to check the support for the GPON stick. This post is mainly a call for help to understand technical information.
As of OpenWRT 22.0.3, it seems like it is not supported, as dmesg shows:
The patches have been merged on January 28, 2021 123 and included in the kernel since v5.12. They have been backported in OpenWRT on July 25, 2021 and are included in OpenWRT 22:
git tag --contains f032601ed7d70fe1f468219b68750230b6ea1906
v22.03.0
...
v22.03.3
Should those patches bring support for the Ubiquity Fiber Instant stick, or is more work needed to achieve before this?.
If so, why dmesg is displaying an error message with OWRT 22.0.3, as it looks v22 includes the patches ?
No idea what can be the causes, this is why I am trying to understand if this kind of error message is expected due to a lack of support for the Fiber Instant, or if there is something wrong somewhere.
This does not look like the lack of the kernel support for this module.
Your dump looks right - I see the vendor name, product name and the serial number are in the expected places.
The checksums of the module do not look right - the byte at 0x3f should be 0xe6 instead of 0xff and the byte at 0x5f should be 0xce instead of 0x81.
You can try adding an easy hack to your kernel - patch out the checksum verification code by commenting out return -EINVAL; and memset(&id.ext, 0, sizeof(id.ext)); lines in the function sfp_sm_mod_probe which is located in drivers/net/phy/sfp.c. If it resolves the issue, then the right way to fix that would be adding a quirk in a similar way as it is done for Cotsworks modules.