Skip to content

Don't require PD config if platform isn't detected #129

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

Merged
merged 1 commit into from
May 5, 2025
Merged

Conversation

JohnAZoidberg
Copy link
Member

Now even if the platform isn't detected, we can run the commands just fine. For example both of these work (if I comment out the smbios entry):

framework_tool --versions
framework_tool --versions --pd-ports 1 2 --pd-addrs 66 64

The first one just fails accessing I2C passthrough for the PD ports.

This is the final change to allow just running the tool on any system in as many cases as possible - even if the linux kernel or framework_tool dose not recognize the system.

Now even if the platform isn't detected, we can run the commands just
fine. For example both of these work (if I comment out the smbios entry):

```
framework_tool --versions
framework_tool --versions --pd-ports 1 2 --pd-addrs 66 64
```

The first one just fails accessing I2C passthrough for the PD ports.

This is the final change to allow just running the tool on any system in
as many cases as possible - even if the linux kernel or framework_tool
dose not recognize the system.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg JohnAZoidberg mentioned this pull request May 5, 2025
7 tasks
@JohnAZoidberg JohnAZoidberg merged commit 526ba80 into main May 5, 2025
6 checks passed
@JohnAZoidberg JohnAZoidberg deleted the generic-pd branch May 5, 2025 06:00
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