-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU usage and Sensor Temperatures #132
Comments
Thanks for the report. I did make some changes to the memory stats collection to improve performance, but I only made a very tiny change (famous last words) to the CPU collection. Could you please copy and paste the following commands (there are 2 almost identical multi-line commands) into an SSH session, and post the results:
Temperature is a bit tricky. I don't have a TG799vac. (That's the MIPS processor one, I think?) Can you please post the results of these commands:
Thanks. |
lua -e 'stat = io.open("/proc/stat")
lua -e 'stat = io.open("/proc/stat")
root@OpenWrt: |
Also tried searching for temp through all files and couldn't find anything relevant to temperature. Perhaps it doesn't exist on the TG799VAC? root@OpenWrt:/sys# find / -name 'temp' |
Hmm. I don't understand why the CPU usage isn't showing. The change didn't make any difference - you are getting valid readings. I have to have a think on this and relook at how the code works when background updating is turned off. So it looks like the TG799vac doesn't have any accessible thermal sensors. I will remove the processing and display for them. |
https://archive.openwrt.org/chaos_calmer/15.05.1/brcm63xx/generic/packages/base/ Inside here there is some packages called kmod-hwmon-core and kmod-hwmon-temp for bcrm63xx chips. Maybe I should try installing them? It's the same place I found the working tc package from. |
I don't think it will hurt to try, but I imagine kernel mods would require an exact kernel match. You can always remove them if they don't work. A better source of packages for your device is: https://github.com/BoLaMN/brcm63xx-tch .That is where the I have just done a pre-release that should fix both of your issues. The CPU Usage should be fixed, and Sensor Temperatures will be removed if no hardware monitors are found. You can apply the pre-release with this command:
|
Tried updating and got stuck at: It doesn't progress further and broke the GUI so i had to roll back to version 2022.12.31. Also with the https://github.com/BoLaMN/brcm63xx-tch source, there is no tc package included in there. I would suggest using the one i found on the openwrt archive because it works. There is that other source by fex (https://github.com/fexofenadine/brcm63xx-tch/tree/master/base) but i remember when i tried installing the tc package from there it said malformed package and didn't install. |
My apologies - this is a thing that always gets me (I forget to separate multi-line commands with ). I have fixed it now, so please try again.
I apologise - you are correct. |
Success, all fixed. For tc: src/gz chaos_calmer https://archive.openwrt.org/chaos_calmer/15.05.1/brcm63xx/generic/packages/base then did: |
Just a few minor bugs.
Updated to tch-gui-unhide Release 2022.12.31 for Firmware 17.2.0284-820-RA (Mint) on the TG799VAC and noticed that the CPU usage indicator is now always at 0% regardless of the real usage. Was previously on tch-gui-unhide Release 2022.10.06 and it was working there. Background card refresh disabled as is needed on this modem for performance.
Sensor Temperature has always been broken as far as i know, just displays the degree symbol.
^^ Top command in a ssh session shows the real cpu usage ^^
The text was updated successfully, but these errors were encountered: