Nicolas Williams wrote: > On Mon, Jan 12, 2009 at 10:04:14AM -0800, Kerry Shu wrote: >> James Carlson wrote: >>> How exactly does the system know which module works on a given system? >> If the corresponding ACPI method is found in _init of the vendor >> specific module, then _init will return SUCCESS and we know the >> module works. > > That means the order in which the modules are tried is significant, no?
No, it shouldn't. The ACPI method is unique per vendor. > >>> Are these modules expected to test for platform compatibility by >>> probing around in the module's _init(9E) function? >> Yes. And per my understanding, the ACPI method string should be unique >> per vendor. > > Still, you're providing a very difficult to use interface for mapping > these hotkeys: a kernel module interface. hotkey key mapping is done is Xserver. Kernel hotkey driver can just get ACPI event and it doesn't know about keycode etc. Regards, Kerry > > Nico