Easier Sound Debugging With Software Audio Jack Injection Coming To Linux 5.12
Written by Michael Larabel in Multimedia on 5 February 2021 at 12:00 AM EST. Add A Comment
MULTIMEDIA --
A new developer feature coming to the Linux 5.12 kernel thanks to a Canonical developer is software audio jack injection support.

This new developer/debugging addition is about allowing Linux to injecting plug-in or plug-out audio jack events to the Linux kernel without physically resorting to disconnecting any audio jacks. It seems like such software jack injection control would have been in place a long time ago but it's not until now with Canonical's Hui Wang having worked through the support and it now pending in the sound subsystem's for-next Git branch ahead of the Linux 5.12 merge window.

The emphasis with this software jack injection control for the Linux kernel is to be able to easily test ALSA user-space changes. The plug-in / plug-out events are controlled via DebugFS. The kernel needs to be built for sound debugging (SND_DEBUG) and enable the new SND_JACK_INJECTION_DEBUG feature. Hopefully this software-based injection for sound jacks will help in development and testing moving forward.

More details for those interested in this functionality via this patch being staged in the sound code ahead of the Linux 5.12 merge window opening later this month.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week