Aha, just happened to pick one up the other day for unrelated use and happened to see the question. At first I believed it was because your system was using HDMI audio, which happens to be the case here except mine allows software volume control (the setting is not locked out). Then I ran the `speaker-test` and was surprised that, while yours played over the headphone port, mine played over the HDMI out.
I was checking a few more things and ran the speaker-test as root and no sound. Voila! It was playing through the front panel audio jack as my environment variables no longer contained my Gnome session information.
First assumption is the sound device permissions might not have been set to root:audio with mode 660. It appears the permissions are set appropriately so that's not the issue. So I started poking around to see what ALSA was detecting:
Code:
root@nuc10i:~# cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC256
Codec: Intel Kabylake HDMI
Given that I'm not much of an audio guy, I couldn't make too much heads or tails of the information but have this suspicion. The device is there, it's working, but ALSA has no clue how to find the device or detect headphones being connected or disconnected via one of the detect pins provided by the device. I saw some similarities to what you described here:
https://bugs.launchpad.net/ubuntu/+s...r/+bug/1807138
Using `alsamixer` I was able to set the front audio panel volume by raising/lowering the PCM channel (no headphone channel present). `hdajacksensetest` returned the same results posted to that the bug. This may be a "bug" similar to others using the same driver when hardware manufacturers use different pin signaling than the reference spec:
https://www.alsa-project.org/piperma...ry/118386.html
You have two options, depending on your budget and need for a fix:
- Follow the instructions at https://www.alsa-project.org/wiki/Bug_Tracking to submit a bug.
- If your budget permits, pick up a USB sound card. The Logitech Pro X headset comes with one that works with Linux and ALSA, you may even be able to get one from a friend who isn't using one (probably has a drawer full of them from old headsets) for FREE.
At least you can rest assured your hardware is working and it's not a dead audio port. While it's not the ideal situation, the developers are donating their time to the ALSA project, often after their busy jobs and often
without pay or other monetary compensation. I hope this information helps and please, don't let that comment dissuade you from sending them a bug report, the developers often want to be as helpful as they can and are more than happy to help if you are patient and willing to help them with the information they need for a fix.