Please build the PR branch and test, then you can provide feedback which will actively help accelerated the progress of the code. Otherwise the best answer is "it will be merged when it is ready".
Understand that this is not us trying to slow you down, but the reality of a project written and tested by volunteers in their spare time. Please help if you have time.
Should I create a PR over on GitHub? I don't normally follow the mailing list which is why I missed it before. Not sure if this should stay on the mailing list or be transferred to GH for extra eyes and reviews. Maybe the author @svanheule could let me know what is preferred.
Much like your answer, comprehensive and understanding. I will try to be more involved in dev.
Hi All.
After feedback on mailing list and more thought looks like I'm going to have to rework my gpio hack for rtl8231 to be more general. and just do all the registers rather than loop per gpio. i.e. reverting the existing set all to input patch. And then do bitwise arithmetic to change the state without toggling the existing GPIO state?
Also: was trying to figure out how to detect fan fail and/or fan speed for jg927a. Not game to remove the board. (good photos on svanheule.net, but probably need to use MM now for reverse engineering anyway =( ) (it looks like there's no fan control on jg927a which makes sense?)
Anyway, looks like there's three rtl8231's on JG927A? I can't see them in device tree? From my recollection the datasheet has a way to do cascading for LED control or something i forget?
edit: update
Not sure if the person upstreaming jg927a/jg928a already did this but I tried to scan the extra mdio bus for rtl8231's for all ID's and came up for naught. Looks like it's "buzz it out" time for me =S
Also my JG928A's arrived so either I'll do wiki page and try to figure out fans for that soon. Still waiting on help regarding techdata / table of hardware though =(
edit aside: Cisco SG220/SF220 status? I've almost exhausted the local supply of HPE 1920 switches (i.e. realtek/openwrt supported) switches. Cisco is the next cheapest =P
Still waiting on help regarding techdata / table of hardware though =(
What do you need? I can likely help in this respect.
Thanks! Yeah I failed at adding JG927A and JG928A sections properly into the wiki.
Perhaps we discuss this more here:
I'm not game to try to add an hwdata page by creating it manually in the right spot as that looks to be against the wiki rules.
I'm done for today though.
https://openwrt.org/toh/hwdata/3com/3com_1920-48g_jg927a_hng7a-ha0015
https://openwrt.org/toh/hwdata/please_select/please_select_1920-48g-poe_370w_jg928a_hngza-ha0016
One is now "3com" and one is "please select" =P
I modified the first entry a bit, anything absent can be set to a dash (-), instead of the upside down question mark. I also set it to 'discontinued', since it's not being produced anymore AFAIK.
I moved the pages to the correct location. I don't know how to do that without losing the edit history, so they now look like I created the pages.
Awesome thanks!
That's great. I don't mind. No worries.
If there's a "safe" way to do that, and/or get the pages in the right location in the first place, please let me know. Otherwise I'll still pursue trying to find a wiki admin at some point to get HPE and "switch" added as a dropdown. (still need to add JG926A, JG925A, plus MSM466 and maybe HP 560/MSM430)
I thought we had the 'switch' entry at some point, with the Realtek target being introduced.
Yeah nah. We've got some that are as "switch" in the ToH but not in the dropdown selection from what I can see?
HPE and Switch were added some time ago. Then someone did some updates and they were lost! There apparently is no longer an admin as I've been requesting that those issues be fixed for some time. Things have improved as someone at least added some of the missing targets back, but I don't know who did that and no one has responded to the Forum or the email list!
(still need to add JG926A, JG925A, plus MSM466 and maybe HP 560/MSM430)
How I've been doing it is to add ?do=edit to the end of a similar page (i.e. JG923A and MSM460) then copy the contents of the edit box to your clipboard. Next go near top of page where it says "You are here ..." and select the Techdata link. This brings you back to the original edit page. Now modify the url in the browser menu bar by changing the last section to the new model you are wanting to enter. Then select enter. This will result in a page that says " This topic does not exist yet". Now select the top icon in the right menu bar of the page. This creates the empty page where you can paste what you copied and edit appropriately. Just be sure to leave all the boilerplate stuff in place otherwise it messes up the resulting tables.
Thanks! Yeah it looked like that was possible but a high chance of me breaking things. I guess copy and paste duplicating an existing page "should" be fine.
Thanks for the extra insight and confirmation.
With the JG928A we have an rtl8231 on the alt mdio bus as per jg926a/jg922a.
As expected initialising the GPIO reduces the fan speed as default fan speed is still broken.
edit: Still on pins 5 and 6 per jg926a/jg922a.
(Also of note is when I opened it up, two of the fans appear to be controlled by the PSU, or are at least connected to the PSU)
I think we may only have control over one of the fans.
I'll be sending a patch to get the rtl8231 in jg928a's device tree shortly.
edit2: patch sent but waiting for confirmation email back from mailing list.
http://lists.openwrt.org/pipermail/openwrt-devel/2024-October/043322.html
Anyone remember having success with other RTL93xx targets like the EdgeCore ECS4125 or Ubiquiti USW-Aggregation switches mentioned here? Looking for a likely target for 10G experimenting.
i have TP-Link TL-SG2210P v1. I can't found tech data about this switch. can I install Openwrt to TP-Link TL-SG2210P v1?
Are you absolutely certain it's a V1? a quick look on the website says there's like 8 versions.
There's no GPL release for V1 and the firmware is like 4M on the tp link website from what I can see. Only v3.6, v5.6, v3, and v5 have source releases.
Binwalk gives me nothing.
Best is to open it up yourself and check the switch chip if it's not under heatsinks?
binwalk TL-SG2210Pv1_en_1.0.1_\[20150427-rel32794\]_up.bin
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
And to answer this:
If it's not in the table of hardware but it is based upon the realtek, then it is going to take someone porting it.
hi @evs
yes I am pretty sure it is v1. and chip has a heatsink. anyway thank you.
Are you keen on RTL93XX with PoE or using SFP+ for 10Gb? I'm hunting for a SFP+ switch and could get something that is useful for future development work if there are suggestions.