[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0g4iqh22GwTKu51eXiqz-V9aiUwPi-_yyJykR+x0=9V5A@mail.gmail.com>
Date: Fri, 15 Nov 2019 10:11:28 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Bruno GNUser <kernel@...tas.airpost.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
ACPI Devel Mailing List <linux-acpi@...r.kernel.org>
Subject: Re: how to disable the button kernel module?
On Fri, Nov 15, 2019 at 6:33 AM Randy Dunlap <rdunlap@...radead.org> wrote:
>
> On 11/14/19 4:00 AM, Bruno GNUser wrote:
> > 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
>
>
> > 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?
https://lore.kernel.org/linux-acpi/CAJZ5v0hy2QpJtnGVvOOggOzTDifD1HYosN9vf0y_=15b+M8v0Q@mail.gmail.com/T/#t
Thanks!
Powered by blists - more mailing lists