-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 48727 b: refs/heads/master c: 8903795 h: refs/heads/master i: 48725: fdd1110 48723: 93e9fe7 48719: 4c2580d v: v3
- Loading branch information
Alan Stern
authored and
Greg Kroah-Hartman
committed
Feb 16, 2007
1 parent
98c0324
commit 1656fef
Showing
70 changed files
with
1,565 additions
and
1,171 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 255f0385c8e0d6b9005c0e09fffb5bd852f3b506 | ||
refs/heads/master: 8903795a5275e0366acf961190c57074ad27f9bb |
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,38 @@ | ||
driver/acpi/hotkey.c implement: | ||
1. /proc/acpi/hotkey/event_config | ||
(event based hotkey or event config interface): | ||
a. add a event based hotkey(event) : | ||
echo "0:bus::action:method:num:num" > event_config | ||
|
||
b. delete a event based hotkey(event): | ||
echo "1:::::num:num" > event_config | ||
|
||
c. modify a event based hotkey(event): | ||
echo "2:bus::action:method:num:num" > event_config | ||
|
||
2. /proc/acpi/hotkey/poll_config | ||
(polling based hotkey or event config interface): | ||
a.add a polling based hotkey(event) : | ||
echo "0:bus:method:action:method:num" > poll_config | ||
this adding command will create a proc file | ||
/proc/acpi/hotkey/method, which is used to get | ||
result of polling. | ||
|
||
b.delete a polling based hotkey(event): | ||
echo "1:::::num" > event_config | ||
|
||
c.modify a polling based hotkey(event): | ||
echo "2:bus:method:action:method:num" > poll_config | ||
|
||
3./proc/acpi/hotkey/action | ||
(interface to call aml method associated with a | ||
specific hotkey(event)) | ||
echo "event_num:event_type:event_argument" > | ||
/proc/acpi/hotkey/action. | ||
The result of the execution of this aml method is | ||
attached to /proc/acpi/hotkey/poll_method, which is dynamically | ||
created. Please use command "cat /proc/acpi/hotkey/polling_method" | ||
to retrieve it. | ||
|
||
Note: Use cmdline "acpi_generic_hotkey" to over-ride | ||
platform-specific with generic driver. |
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 was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.