Skip to content

Conversation

@DHowett
Copy link
Contributor

@DHowett DHowett commented Jan 22, 2022

The MEC LPC protocol is supported in Linux' cros_ec_lpcs driver, but not
in ectool's "local" implementation. However, cros_ec_lpcs will not load
on the Framework Laptop due to an I/O port conflict1. Therefore,
ectool's local implementation is required to support the MEC protocol on
kernel versions that do not contain a fix for the I/O conflict.

I've not taken care to deduplicate the protocol code with comm-lpc,
as there is little value in sharing due to the different order in which
command data are checksummed.

Footnotes

  1. https://patchwork.kernel.org/project/chrome-platform/cover/[email protected]/

The MEC LPC protocol is supported in Linux' cros_ec_lpcs driver, but not
in ectool's "local" implementation. However, cros_ec_lpcs will not load
on the Framework Laptop due to an I/O port conflict[^1]. Therefore,
ectool's local implementation is required to support the MEC protocol on
kernel versions that do not contain a fix for the I/O conflict.

[^1]: https://lkml.org/lkml/2022/1/4/1160
@kiram9 kiram9 changed the base branch from hx20 to hx20-hx30 January 5, 2023 00:06
@kiram9 kiram9 merged commit 38c1b38 into FrameworkComputer:hx20-hx30 Jan 5, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2023
@DHowett DHowett deleted the hx20 branch January 5, 2023 01:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants