OS/2, eCS & ArcaOS - Technical > Programming

An XWorkplace CPU Temperature Widget for AMD CPUs

<< < (6/7) > >>

Doug Clark:
Lars,

I downloaded and ran cputemp.wpi and it doesn't show up in the "create a new widget" popup menu.  cputamd.dll and cputamd.sys are in
c:\sys\apps\xwps\plugins\xcenter 

The cputamd.dll also doesn't show up on the "Classes" page on the xcenter properties

Isn't xCenter supposed to pick up all the widget DLLs that are in c:\sys\apps\xwps\plugins\xcenter ?

Thanks

Doug

Lars:
Did you get an error message from XCenter? that it cannot load the widget? Do you have an AMD CPU?
Look in var/log/xwplog.log

which is the XWP error log file. It'll give information. If you get something like this:


--- Code: ---2025-03-29 09:49:07:25 T033 plgLoadClasses (D:\prj\xwp\xwp\xworkplace-1-0\src\shared\plugins.c, line 514):
    InitModule call (export @1) failed for plugin DLL
        "D:\TOOLS\XWPS\plugins\xcenter\cputamd.dll".
    DLL returned error msg:
        No AMD CPU, CPU-Temperature (AMD) widget cannot load.
--- End code ---

that would mean you have no AMD CPU.

Pete:
Hi Lars

Any chance of a standalone/non-widget version in the future?


Regards

Pete

Doug Clark:
Lars,

there is no log file for xwplug.log - in c:\var\log\xwplug.log
or in e:\var\log\

my unixroot is set to e:

I am running a Ryzen 5 5600x

I should add that cputemp runs with the following output:

AMD CPU: Family:0x19, Model:0x01, Local APIC:0x01
MMIO Configuration Base Address:0x00000000F0000000
Temperature core 0 (0x00000000):0.00 °C

So maybe the widget wouldn't show the temperature, based on the above output, even it it was installed in xCenter

Lars:
Hi Doug,

I just realized that for Family 19h AMD CPUs (that is: Ryzen), need to access different registers than on my Family 10h AMD CPU.
Try the attached.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version