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

Merge downstream forks into a unified simplified kernel module and Python userland that supports multiple generations. #32

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Conversation

ju2wheels
Copy link
Contributor

@ju2wheels ju2wheels commented Mar 15, 2023

This PR merges downstream forks which simplifies the nuc_wmi kernel module into a bare bones RPC interface and uses Python userland as interface to send the WMI commands in a human/machine readable fashion while also providing support across multiple distros/kernels and NUC generations.

Currently tested on Ubuntu 18.04/22.04 on NUC 7, 10 and 12.

jernst and others added 30 commits August 31, 2020 21:03
…ex values if the values arent sparse and correspond 1 to 1 to list index.
… added bound by a debug option in the kernel module and not on by default.
Fix kernel module compiling on different versions, first pass of Python userland, disable logging noise
* Add support for new NUC 10 LED type which has changed the LED type for HDD LED and enabled control of the internal RGB Header.
* Add linter cleanups.
… value processing after feedback from Intel on issues with new NUC 10 BIOS.

- Refactor the code to more cleanly outline where we are using bitmaps vs indexes.
- Expand unit tests to use values with higher bit numbers where the bit index would significantly differ in value from the list index.
…dly labels instead of internal WMI hex values.
…ction branch test its own unit test function.
ju2wheels and others added 28 commits August 9, 2022 15:50
…driver since the NUC WMI supports more than just the LED on some models.
…spec values, switch to nuc_wmi control file, and add lock file support for CLI commands to prevent overlapping control file use.
… configuration in an attempt to add NUC 12 support, drop Python 2 support.
…oard

Add NUC 10 LED header breakout board schematic.
Initial release of NUC WMI 3.0: replace quirks mode with NUC WMI spec configuration in an attempt to add NUC 12 support, drop Python 2 support.
nuc_wmi 2.0 driver and nuc_wmi 3.0 userland with better error handling, quirks mode replaced with WMI spec confg file, NUC 12 support, and lock file support
…either in kernel or the kernel module itself) on 5.x kernels in Ubuntu 20.04/22.04 which causes the kernel to kill the Python userland when reading from the control file.
…e the number of WMI calls that need to be done.
… Disable indicator option in the query_led_indicator_options response in BIOS that do not honor the spec.
Add lock file blocking acquisition, performance improvements, and new recover option
Refactor and re-organize the NUC WMI spec JSON schema.
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.

2 participants