Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyway to support UART batteries? (Surface Gen 5 devices) #36

Open
wdhwg001 opened this issue May 17, 2020 · 1 comment
Open

Anyway to support UART batteries? (Surface Gen 5 devices) #36

wdhwg001 opened this issue May 17, 2020 · 1 comment

Comments

@wdhwg001
Copy link

wdhwg001 commented May 17, 2020

Hi,

Surface Gen 5 devices (Surface Book 2 / Surface Pro 6 / Surface Laptop, etc.) uses UART to fetch its battery status, which makes their DSDT does not contain "EmbeddedControl" at all.

However, in jakeday/linux-surface#28 , some legendary hackers finished the research and provided a proof of concept: https://gist.github.com/qzed/01a93568efb863f1b7887f0f375c03fc

It then becomes a linux kernel patch ( jakeday/linux-surface#321 ). But before that, people are using cron jobs to run the POC script and update their battery status using its output.

Is there a way we could achieve something similar? Or should we work with https://github.com/VoodooI2C/VoodooI2C as they may have some experiences dealing with UART?

Thanks!

@wdhwg001 wdhwg001 changed the title Anyway to support UART batteries? Anyway to support UART batteries? (Surface Gen 5 devices) May 17, 2020
@davidkathy
Copy link

I have the same issue, the system can't detec the power supply input status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants