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)

  1. 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.
  2. 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.
  3. It figures out other modules which depend on the found modules in "murasaki.depend".
  4. 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)
  5. It finds out the scripts for modules in "murasaki.precall" and runs them.
  6. It runs the script which is specified as "[input]" in "murasaki.precall".
  7. It loads or unloads the modules.
  8. It finds out the scripts for modules in "murasaki.call" and runs them.
  9. It runs the script which is specified as "[input]" in "murasaki.call".
    (No script now)

[Relationship]


Back Go DotAster
Shuu Yamaguchi : shuu@dotAster.com