3 ms·
The Embedded Controller and Its Legacy (2021)
- h2odragon 5y ago> This suggests that there is some POST card that can be plugged into an m.2 connector to debug boot issues. Since I know the protocol, i tried making my own version (basically two daisy-chained shift registers connected to the 7-segment displays). What a pity that didn't work the first try. Im glad they included the picture of the thing tho.
- rasz 5y agoKolyasin Nikolay Andreevich published pcb files for one, presumably working https://www.pcbway.com/project/shareproject/post_card_for_notebook_compal.html https://www.pcbway.com/project/shareproject/post_card_for_no... you can also buy universal ones ridiculously cheap https://www.aliexpress.com/item/32931549419.html https://www.aliexpress.com/item/32931549419.html
- ChuckNorris89 5y agoThe EC, or more specifically the EC firmware, is the bane of my existence when it comes to shitty laptops I had to deal with in the past. On some laptops you have zero fan control exposed to the OS like on the PC motherboards, so you need to pray the manufacturer implemented some sane fan curves that makes the fans silent when idling but keeps the CPU cool under load and has some hysteresis to prevent the fans from ramping up/down (pulsating) too often or it gets annoying. Spoiler alert, most laptop makers got their fan curves totally wrong, and you had no way to manually adjust them. I ended up returning about half a dozen otherwise good laptops in my life due to shitty fan curves with no manual override that would just pulse their fans up and down with every JS heavy browser tab opened and closed. I wish Microsoft had forced the laptop makers to expose EC fan control to the OS so that the OS can control the fans (like how MacOS does) through a standardized and documented API that would also work in Linux. If you think about it, it totally make sense for the OS to control the fans, instead of the EC, as the OS knows far more about the system usage and patterns, vs the EC which knows just the current temperature and CPU power/load. I feel it's better nowadays than it used to be, newer laptops from reputable makers like Dell and Lenovo from 2020 upwards seem to have some effort put into the tuning of their fan curves and have less jarring transitions. Also, another pain point, AFAIK, the interaction with the EC is the reason why most modern laptops' sleep is broken and they don't really sleep and start burning in your backpack.
- voakbasda 5y agoThe EC retains control of the fans because an OS process could crash, starve, or otherwise fail to do its job in a timer manner. Without that code running, the hardware cooks itself. That said, the OS could have been allowed to give its input into the situation, and that might have solved a lot of these problems. Moreover, I think this serves as example of why we collectively need to advocate for rights to repair/tinker, as some of these EC firmwares could be updated. Sadly, many are burned into ROM, so the only sane choice there would be to avoid the purchase in the first place.
- ChuckNorris89 5y ago>The EC retains control of the fans because an OS process could crash, starve, or otherwise fail to do its job in a timer manner. Without that code running, the hardware cooks itself. I mean, there's no reason why the EC can't be the default and the emergency fallback for fan control and the OS takes over after boot. Apple got this working on Intel MacBooks, I'm sure Windows and Dell/Lenovo could too if they wanted to.
- matheusmoreira 5y agoI too had major problems with my laptop due to the embedded controller. I managed to reverse engineer some USB features but the EC and ACPI stuff stopped me from achieving fan control. The default curves are bad but customizable through a horrible manufacturer application that only runs on Windows. To this day I wonder how that application communicates with this thing.
- ChuckNorris89 5y ago>a horrible manufacturer application that only runs on Windows Shit like this plus the lack of S3 sleep, is why my laptop is still on Windows 11 instead of Linux. As horrible as the Lenovo vantage app is, it allows me to configure the TDP of the Ryzen CPU and fan profile of the device plus enable battery conservation mode where it keeps the battery charged to 50-60% while plugged in to reduce wear. On Linux I have no easy way to control these features my Laptop has except some obscure scripts from various reddit and forum posts and github repos that were written to work on some Lenovo machines. No bueno.