Re: how to disable the "button" kernel module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 14, 2019 at 3:50 PM Bruno Dantas <kernel@xxxxxxxxxxxxxxxxxx> wrote:
>
> > Why exactly do you want to disable it?
>
> I'd like to disable it because I want my laptop's lid switch state to be 100% invisible to userland--as if the lid switch were broken and always in the "open" state.

I wonder why?

Anyway, you can try to echo the lid device name to
/sys/bus/acpi/drivers/button/unbind to unbind the button driver from
the lid device.

That name should be something like PNP0C0D:00 (note that you need to
escape the colon when in a shell).



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux