Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Load platform settings from config#76

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
JohnAZoidberg wants to merge5 commits intomain
base:main
Choose a base branch
Loading
fromconfig-file
Draft

Conversation

@JohnAZoidberg
Copy link
Member

@JohnAZoidbergJohnAZoidberg commentedFeb 9, 2025
edited
Loading

This is useful instead of the commandline parameters --has-mec --pd-ports --pd-addrs
when SMBIOS doesn't correctly detect the correct platform settings.

  • Read from CWD
    • Test on Windows
    • Test on Linux
    • Test on UEFI
  • Read from same folder as binary
    • Test on Windows
    • Test on Linux
    • Test on UEFI
  • Read from $XDG_CONFIG_HOME on Linux

Sample config for Framework 13 AMD:

[platform]has_mec = falsepd_addrs = [ 0x42, 0x40 ]pd_ports = [ 1, 2 ]

@JohnAZoidberg
Copy link
MemberAuthor

JohnAZoidberg commentedFeb 19, 2025
edited
Loading

serde can be built on uefi but toml can't

@JohnAZoidberg
Copy link
MemberAuthor

Should let you specify an existing platform and override that.

@JohnAZoidberg
Copy link
MemberAuthor

Also would be useful to easily specify those at compiletime.

This is useful instead of the commandline parameters--has-mec --pd-ports --pd-addrswhen SMBIOS doesn't correctly detect the correct platform settings.- [x] Read from CWD  - [x] Test on Windows  - [x] Test on Linux  - [ ] Test on UEFI- [x] Read from same folder as binary  - [x] Test on Windows  - [x] Test on Linux  - [ ] Test on UEFI- [ ] Read from $XDG_CONFIG_HOME on LinuxSample config for Framework 13 AMD:```[platform]has_mec = falsepd_addrs = [ 0x42, 0x40 ]pd_ports = [ 1, 2 ]```Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@JohnAZoidberg

[8]ページ先頭

©2009-2025 Movatter.jp