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).