Repository navigation
Ask for PawnIO and other missing software when this PC needs it - #80
Conversation
The service lists what camless uses from elsewhere: PawnIO and the module for this CPU's maker on Windows, and a Chromium browser while an LCD shows a web page. The app adds curl on Linux. Settings shows each one, and the app opens a dialog once per start when something this PC needs is missing, with what camless found, a link to get it and the folder the module goes in. The service checks every 5 s, and after a change tries CPU temperature again for 30 s, so it starts once PawnIO and its module are in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Tested on Windows hardwareAn agent ran this on the owner's PC (AMD Ryzen 7 5800X3D, PawnIO installed), in the real WebView2 window, with the service as administrator.
Not tested: a fresh PawnIO install, since the driver was not uninstalled; it goes through the same retry code the module took. Get it and Don't ask again were not clicked on this PC; both passed under Wine with Playwright. Left as is: with the module deleted while the service runs, CPU temperature keeps reading, because the driver already holds the module, and Settings shows it as missing. That is right for the next start of the service, which would have no CPU temperature. Claude Opus 5.5 on behalf of kleju13 |
What changes
On Windows, CPU temperature needs PawnIO and its signed module for the CPU's maker, and neither comes with Windows. Until now the app only said "CPU temp off" with the raw error, and the README was the one place that said what to install. People on Reddit hit this on Intel: one found the fix alone, the next one did not.
src/requirements.rs. On Windows: PawnIO (C:\Program Files\PawnIO\PawnIOLib.dll), the module for this CPU (IntelMSR.binorAMDFamily17.bin, from the CPU's maker in the registry), and Microsoft Edge or Chrome while an LCD shows a web page. On Linux: a Chromium browser for web pages. Each entry says what it is for, what camless found that needs it ("camless found an Intel CPU, Intel(R) Core(TM) i5-6500T…") and how to get it. It goes out inGET /v1/statusasservice.requirements./api/stateasrequirements.POST /api/open-folderwith{"app": true}). Later asks again at the next start. Don't ask again stops it for those items.camless reporthas aMissing:line with names only, no folders.main.rstosensors.rs, so the daemon can read it again.Testing
cargo test --workspaceforx86_64-pc-windows-gnu: 165, 36 and 27 tests pass.cargo test --workspace --releaseon Linux: 176, 36 and 25. Six tests are new: five for the requirement texts and links, one for the report line. The links test also checks that every link the service names is one the app opens.pawnioandpawnio-modules, Open folder sends{"app":true}. Later closes it and it does not come back in that session. After a reload it shows again. After Don't ask again and a reload, it stays closed. With everything stubbed as installed there is no dialog, and Settings shows Installed.IntelMSR.binnext tocamless.exein the demo: within 5 s the status showed the module installed, the service tried 6 times over 25 s, and the CPU error changed from "file not found" to "PawnIO is not installed".Not tested: a real PawnIO install on Windows, so the step where CPU temperature starts without a restart has not run end to end. The app's real WebView2 window was not tested either. Both need a Windows PC.
Claude Opus 5.5 on behalf of kleju13
🤖 Generated with Claude Code