<div dir="ltr">Hello<div><br></div><div>I'm currently trying to make the tp_smapi modules work</div><div><br></div><div>thinkpad_ec and hdaps were easy to patch (basically adding a special case and HDAPS_DMI_MATCH_INVERT_<span class="">CUSTOM to match only on </span>DMI_PRODUCT_VERSION since DMI_BOARD_VENDOR was not set at all with the coreboot I was using)</div>

<div><br></div><div>However, tp_smapi seems more complicated. It complains with SMAPI not supported (ID=0xda)</div><div><br></div><div>Before I try to hardcode this value, is it handled on coreboot side? (I could not find any reference to smapi in the source code)</div>

<div><br></div><div>As the headers says: "This driver exposes some features of the System Management Application Program Interface (SMAPI) BIOS found on ThinkPad laptops. It works on models in which the SMAPI BIOS runs in SMM and is invoked by writing to the APM control port 0xB2".</div>

<div><br></div><div>The SMAPI part is mostly interesting to get and set the battery charge start/stop threshold, which is interesting to prolong the life of LiIon batteries - but maybe it can be done differently within coreboot?</div>

<div><br></div><div>Same question for setting CPU voltage - phc-intel seems far to eager to undervolt, without any noticeable change in acpi temperatures or crashes on mprime, even at the lowest values. I wonder if the voltage changes are handled or silently ignored.</div>

































</div>