https://bugzilla.kernel.org/show_bug.cgi?id=107051
--- Comment #13 from [email protected] --- I removed both gpio_keys and soc_button_array modules and wrote my own little module. It just attach some handlers to the irq of all four buttons writing logging events with printk: static irqreturn_t handler(int irq, void *dummy) { printk(KERN_ALERT "Button event!\n"); return IRQ_HANDLED; } #define IRQ_BUTTON_FLAGS (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | IRQF_SHARED) irq = gpio_to_irq(gpio); request_irq(irq, handler, IRQ_BUTTON_FLAGS, name, button_dev); This works fine for home + power but vol + / - returns always -22 (EINVAL). I did validate the GPIO numbers with /sys/class/gpio: I can manually read the GPIO values. Another problem is that at some random boots the button interrupts are not fired anyway. Some help or tips to provide better debug logs would be very welcome. -- You are receiving this mail because: You are watching the assignee of the bug. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ acpi-bugzilla mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla
