Fix power button issue on HP Laptop 15s

Hello guys.

I fixed Power Button problem on modern HP Laptop 15s-eq1337ur (ProductID: 461U9EA#ACB) which I faced recently. Power button on that laptop does not raise ACPI events when pressing it because the button is wired to GPIO pin and, as it appeared, gpiobus driver does not support interrupts on amd64 platform. So I had to write a simple driver that polls GPIO pin periodically and calls ACPI method to raise system wide event if status changes. My bug report is here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295251
 
Back
Top