https://bugzilla.kernel.org/show_bug.cgi?id=107051

            Bug ID: 107051
           Summary: Interrupts not working on GPIO buttons connected to
                    Crystal Cove chip
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.2.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Config-Interrupts
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 191851
  --> https://bugzilla.kernel.org/attachment.cgi?id=191851&action=edit
DSDT

I'm using a HP Omni 10 tablet with a Baytrail soc. The tablet has the usual
home, power and volume buttons. The home + power buttons are working as
expected but the volume buttons are not working. They are connected to a
CrystalCove device, it seems to be very similar to the Asus T100TA:
https://bugzilla.kernel.org/show_bug.cgi?id=90521

The volume buttons are detected ok but no interrupts are registered. Also when
I try to register/read them manually via /sys/class/gpio the value will remain
0.

Many thanks in advance!

interrupts:
            CPU0       CPU1       CPU2       CPU3    
  16:          0          0          0          0  BYT-GPIO    6  home
 158:          0          0          0          0  BYT-GPIO   16  power
 207:          0          0          0          0   IO-APIC   67-fasteoi  
Crystal Cove
 212:          0          0          0          0  Crystal Cove    5 
gpio_crystalcove
 213:          0          0          0          0  Crystal Cove    0 
volume_down
 214:          0          0          0          0  Crystal Cove    1  volume_up

dsdt button array:
                    GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDefault,
0x0000,
                        "\\_SB.GPO2", 0x00, ResourceConsumer, ,
                        )
                        {   // Pin list
                            0x0010
                        }
                    GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDefault,
0x0000,
                        "\\_SB.GPO0", 0x00, ResourceConsumer, ,
                        )
                        {   // Pin list
                            0x0006
                        }
                    GpioInt (Edge, ActiveBoth, Exclusive, 0x80, 0x0000,
                        "\\_SB.I2C7.PMIC", 0x00, ResourceConsumer, ,
                        )
                        {   // Pin list
                            0x0001
                        }
                    GpioInt (Edge, ActiveBoth, Exclusive, 0x80, 0x0000,
                        "\\_SB.I2C7.PMIC", 0x00, ResourceConsumer, ,
                        )
                        {   // Pin list
                            0x0000
                        }
                })

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to