-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get Configuration from ACPI for SMBus devices (#157)
- Loading branch information
1 parent
372267e
commit 951d76b
Showing
6 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Example of how to configure VoodooRMI when using | ||
* an SMBus trackpad. | ||
* | ||
* Configuration values can be found in the README | ||
*/ | ||
|
||
#define SBUS_DEVICE \_SB.PCI0.SBUS | ||
|
||
DefinitionBlock ("", "SSDT", 2, "GWYD", "Set", 0) { | ||
External (SBUS_DEVICE, DeviceObj) | ||
Scope (SBUS_DEVICE) { | ||
Name (RCFG, Package() { | ||
// Disable force touch | ||
// 0 = Disabled | ||
// 1 = Clickpad button + Size threshold | ||
// 2 = Size threshold | ||
"ForceTouchType", 0, | ||
}) | ||
} | ||
} |