murasaki.input
Last modified:
Sat Apr 10 23:30:04 JST 2004
"murasaki.input" is an Agent program which hotplug.murasaki calls
when INPUT device event happens.
[Order of call]
Kernel(INPUT event happens)
|
|
hotplug.murasaki
|
|
murasaki.input
[Steps of execution]
looking for the adapted module in inputmap(1,2)
|
|
expanding the depended modules and aliases(3,4)
|
|
executing the scripts using precall file(5,6)
|
|
loading/unloading the adapted modules(7)
|
|
executing the scripts using call file(8,9)
-
According to informations by "hotplug.murasaki" from Kernel,
"murasaki.input" picks up adapted modules from "murasaki.inputmap".
- case "add"
- The modules which is included in "murasaki.blacklist" is ignored.
- case "remove"
- The modules which is included in "murasaki.stickylist" is ignored.
-
It picks up adapted modules from "modules.inputmap" like above.
- case "add"
- The modules which is included in "murasaki.blacklist" is ignored.
- case "remove"
- The modules which is included in "murasaki.stickylist" is ignored.
-
It figures out other modules which depend on the found modules
in "murasaki.depend".
-
It expands aliases into module names when they exist.
- case "add"
- The modules which is included in "murasaki.blacklist" is ignored again.
- case "remove"
- The modules which is included in "murasaki.stickylist" is ignored again.
(The list of all modules is built now)
-
It finds out the scripts for modules in "murasaki.precall" and
runs them.
-
It runs the script which is specified as "[input]" in
"murasaki.precall".
-
It loads or unloads the modules.
-
It finds out the scripts for modules in "murasaki.call" and
runs them.
-
It runs the script which is specified as "[input]" in
"murasaki.call".
(No script now)
[Relationship]
Shuu Yamaguchi :
shuu@dotAster.com