Stefan Monnier wrote: > >> My Librem mini comes with a an audio jack in the front into which I can > >> connect the same headphones-with-micro as used typically on phones. > >> This works fine to the extent that I can hear the audio out and it can > >> grab the audio from the microphone, but what about the buttons > >> (typically used to increase/decrease volume and stop/play music)? > >> How can I capture those events to make them do something useful? > > Do the events "arrive" somewhere in the Big Software Stack [1] ? > > I wish I knew. > > > To stick the fork into a random point: what does xev say? > > It stays desperately silent when I press those buttons (tho it is as > chatty as usual when I move the mouse or hit keyboard keys, of course).
Does acpi-listen pick them up? It's entirely possible that the Librem doesn't have a sound chip that translates impedance changes to button clicks. You could ask the hardware folks, right? -dsr-