Repository navigation
Rise Mode Linux Display 0.3.4
Pre-release
Pre-release
Rise Mode Linux Display 0.3.4
Correção de temperatura reportada em teste real (bare metal Fedora/Debian).
Temperature fix reported by real-hardware testing (Fedora/Debian bare metal).
Novidades / What's new (0.3.4)
- Correção importante: o filtro de arquivos hwmon aceitava
temp*_crit,temp*_maxetemp*_crit_alarmcomo se fossem leituras de temperatura (armadilha dosscanf: o%dcasa e o sufixo literal nunca é verificado). Nos Intel, a média dos núcleos somava os limites TjMax (93 °C) e high (83 °C), inflando o display em ~20 °C (ex.: 36 °C reais → 52–55 no painel) / Major fix: the hwmon file filter acceptedtemp*_crit,temp*_maxandtemp*_crit_alarmas if they were temperature readings (sscanf pitfall:%dmatches, the literal suffix is never verified). On Intel the core average summed the TjMax (93 °C) and high (83 °C) limits, inflating the display by ~20 °C (e.g. 36 °C real → 52–55 on the panel) - Novo helper
temp_input_index()com testes que cobrem exatamente esse caso / newtemp_input_index()helper with tests covering exactly that case --probenão imprime mais arquivos de limite como temperaturas (as linhas duplicadas por núcleo sumiram) /--probeno longer prints limit files as temperatures (per-core duplicate lines are gone)parse_hid_desc()exposto nohid.he travado com o descritor real de 27 bytes do dispositivo, capturado em bare metal comusbhid-dump(out_len=11,out_id=0), + vetor sintético com Report ID /parse_hid_desc()exposed inhid.hand locked with the real 27-byte descriptor captured on bare metal viausbhid-dump(out_len=11,out_id=0), plus a synthetic Report-ID vector