NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 11 beta testing



On Fri, 10 Oct 2025, Van Ly wrote:

  [acpitz0]
         temperature:    50.000  127.000                             degC
  [coretemp0]
    cpu0 temperature:    47.000                                      degC
  [coretemp1]
    cpu1 temperature:    45.000                                      degC
  [thinkpad0]
       temperature 0:    50.000                                      degC


The reason for the refresh failure was something else. See PR pkg/59702.

but the btop reading says 57degC.


Dunno why this is. For me, envstat and btop both agree on the various temp.
readings.

RVP <rvp%SDF.ORG@localhost> writes:

>
> It sort-of works for me, even though it's not fully correct (uses `coretemp0'
> values for _all_ CPUs).

I fed the AI code assistant the following prompt to see if the correct
behavior in `envstat' can be ported to btop.


Oh, I know how to fix this properly--just a small matter of programming is all :)
And then, there also needs to be a small discussion with the kernel people about
the stability of the sensor indexes in the XML data retrieved from the kernel.
The way most of the matching is being done by most such programs on NetBSD
(on the description string values) is _very_ error-prone.

See this thread:

https://www.unitedbsd.com/d/1311-battery-data-such-as-vendor-model/21

-RVP


Home | Main Index | Thread Index | Old Index