Skip to content

Dynamically connect to EC#12

Merged
JohnAZoidberg merged 3 commits intomainfrom
no-ec
Aug 14, 2025
Merged

Dynamically connect to EC#12
JohnAZoidberg merged 3 commits intomainfrom
no-ec

Conversation

@JohnAZoidberg
Copy link
Copy Markdown
Member

Make sure loading the driver when EC driver is not installed/loaded/enabled doesn't cause a yellow bang of this driver.

It would say CreateFileW failed STATUS_SUCCESS.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Copied the wrong direction.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
If the EC driver is not installed or runinng when the sensor driver
starts, need to fail gracefully instead of preventing driver start and
yellow bang.

So instead we keep checking and connect to the EC at the first chance.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
Copy link
Copy Markdown
Member Author

Works

@JohnAZoidberg JohnAZoidberg merged commit cbbd202 into main Aug 14, 2025
2 checks passed
@JohnAZoidberg JohnAZoidberg deleted the no-ec branch August 14, 2025 15:27
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

Successfully merging this pull request may close these issues.

1 participant