Expand description
Abstraction over ASUS hardware configurations to control it programatically on Linux.
This can utilize any hardware’s DEV_ID, to read and modify its configuration as defined by the user.
You can find the DEV_ID of the hardware you’re interested in ASUS WMI source code.
§Common Hardware
Some of the hardware dev id and their states are defined by default, serving as an example as well as direct abstraction over them.
Users can refer to them to use it themselves, or to create abstraction over some other hardware component of their choice. Please reference the “examples” directory.
Re-exports§
pub use debugfs::common_hardware;pub use debugfs::error;pub use debugfs::Config;pub use debugfs::Hardware;
Modules§
- debugfs
- A general abstraction to read and modify configuration of any ASUS device hardware component given their DEV_ID. DEV_ID of each hardware can be found in the source code of the ASUS WMI driver.
Macros§
- auto_
impl_ config - Automatically make a State enum and implement TryFrom<u64> and Config with its decleration.
- create_
kbd_ brightness_ enum - Use this macro to create an enum for keyboard backlight