Headphone-detect input does not trigger
The headphone-detect GPIO input device does not trigger events when headphones are plugged and unplugged. The following transcript shows events from one press on each of the volume up and volume down buttons as well as plugging and unplugging a pair of headphones. Events are triggered from the volume buttons but not the headphones.
purism@pureos:~$ sudo input-events -g 0 /dev/input/event0 bustype : BUS_HOST vendor : 0x1 product : 0x1 version : 256 name : "gpio-keys" phys : "gpio-keys/input0" bits ev : (null) (null) grabbed input device waiting for events 10:05:28.797682: (null) ??? (0x72) pressed 10:05:28.797682: (null) code=0 value=0 10:05:28.977675: (null) ??? (0x72) released 10:05:28.977675: (null) code=0 value=0 10:05:31.153729: (null) ??? (0x73) pressed 10:05:31.153729: (null) code=0 value=0 10:05:31.289674: (null) ??? (0x73) released 10:05:31.289674: (null) code=0 value=0 timeout, quitting released input device purism@pureos:~$