# Exploring the Embedded Controller

**URL:** <https://community.frame.work/t/exploring-the-embedded-controller/12846>\
**Category:** General Topics\
**Created:** [December 24, 2021, 7:50pm UTC](https://community.frame.work/t/exploring-the-embedded-controller/12846 "2021-12-24T19:50:59Z")\
**Posts on this page:** 1\
**Showing post:** 192

<div class="post-metadata">

**Author:** ![TomsonTom](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/tomsontom/32/24523_2.png) [@TomsonTom](https://community.frame.work/u/TomsonTom)\
**Post date:** [June 8, 2024, 8:36pm UTC](https://community.frame.work/t/exploring-the-embedded-controller/12846/192 "2024-06-08T20:36:59Z")

</div>

> [@DHowett](#):
>
> _Wow!_ Absolutely, that would be so cool. You may actually prefer to adapt `comm-lpc` rather than `comm-win32`, as it implements the LPC protocol over native port I/O. It’s not built into the Windows version, but you could bang the two together until you have something.

Hey @DHowett, I was very busy doing other things, but I found some free time this Saturday and I finally managed to rewrite `comm-lpc` to use WinRing0 and now **ectool finally works with Secure Boot enabled** :

 ![image](https://us1.discourse-cdn.com/flex001/uploads/framework3/original/3X/e/7/e7708ac4b37ca361a0d07bd09637587e3de1288f.png)

Implementation details:

Because the internet is full of various versions of WinRing0 of questionable origin and safety, I decided to take a bit of a different approach. Specifically, I rely on a trusted software called [Libre Hardware Monitor](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor), which is an open-source C# app that runs an embedded WinRing0 in the background. What I do is that I hijack that and I connect to their WinRing0 while the Libre Hardware Monitor is running. So all that the user needs to do is to download Libre Hardware Monitor, execute it, and leave it running in the background. Then you can use `ectool.exe --interface=winring0 <command>` and it will use relay the communication.

I will try to publish a fork of your ectool later, so that you can have a look at the code and possibly merge it and republish it yourself.

---

_[View the full topic](https://community.frame.work/t/exploring-the-embedded-controller/12846)._
