3 ms·
To my knowledge, most modern Linux systems use MPRIS over D-Bus to support hardware media controls. You'll want to find some form of software driver or bridge t
by smoldesu 3y ago
To my knowledge, most modern Linux systems use MPRIS over D-Bus to support hardware media controls. You'll want to find some form of software driver or bridge that detects the Apple protocol and translates it to the native Linux one.
It's interesting that it's not supported out-of-box, though. My Jabra and Sony headsets both have perfectly fine media control on Linux, even my old Earpods too if memory serves...
- sandreas 3y agoThanks for posting this.Is MPRIS / Playercontrol supporting this? I did not find anything in Archwiki: https://wiki.archlinux.org/title/MPRIS https://wiki.archlinux.org/title/MPRIS My idea was a bit more `low level`, e.g. looking at the amplitute of the microphone input to check, if the remote clicks can be distinguished from everything else. Currently, the clicks are a full peak for a defined period of time, and with this, I could implement a deamon watching for these peaks and then run specific actions via dbus (e.g. Play, Pause, etc.). If this was implemented in the kernel / OS layer, it would work like on macOS, but I'm not sure, that there would be security considerations and what would be about a turned of microphone. Seems that the mic cannot be turned off on macOS?! :-)