how to disable the button kernel module?
I realize that /button/ is a kernel built-in and therefore cannot be disabled via the /blacklist=<module_name>/ boot parameter. So I thought I'd try /initcall_blacklist=<function>/ but I cannot find an obvious module initialization function in button.c
Please, how would one disable the /button/ module? Either using the /initcall_blacklist=foo/ or some other method is fine, as long as it does not involve recompiling the kernel.
Thanks,
Bruno GNUser
--
Sent from: http://linux-kernel.2935.n7.nabble.com/
Quoted 4 lines · Bruno GNUser
I realize that /button/ is a kernel built-in and therefore cannot be disabled via the /blacklist=<module_name>/ boot parameter. So I thought I'd try /initcall_blacklist=<function>/ but I cannot find an obvious module initialization function in
button.c
In what kernel version if the button driver built-in? It currently can be built as a loadable module.
The lines
module_driver(acpi_button_driver, acpi_button_register_driver,
acpi_button_unregister_driver);
at the end of the source file create an init function named acpi_button_driver_init. You could try:
initcall_blacklist=acpi_button_driver_init
Quoted 3 lines
Please, how would one disable the /button/ module? Either using the /initcall_blacklist=foo/ or some other method is fine, as long as it does not involve recompiling the kernel.
Any help from ACPI people?
Quoted 6 lines
Thanks,
Bruno GNUser--
Sent from: http://linux-kernel.2935.n7.nabble.com/
Signature · 1 line
~Randy
Rafael J. Wysocki
maintainerQuoted 18 lines · Randy Dunlap
Quoted 4 lines · Bruno GNUser
I realize that /button/ is a kernel built-in and therefore cannot be disabled via the /blacklist=<module_name>/ boot parameter. So I thought I'd try /initcall_blacklist=<function>/ but I cannot find an obvious module initialization function in
button.cIn what kernel version if the button driver built-in? It currently can be built as a loadable module.
The lines
module_driver(acpi_button_driver,acpi_button_register_driver,acpi_button_unregister_driver);at the end of the source file create an init function named
acpi_button_driver_init. You could try:
initcall_blacklist=acpi_button_driver_init
Quoted 5 lines
Quoted 3 lines
Please, how would one disable the /button/ module? Either using the /initcall_blacklist=foo/ or some other method is fine, as long as it does not involve recompiling the kernel.
Any help from ACPI people?
Thanks!