Skip to content Posts

dell xps 13 (9343) combo jack

I’ve been wanting to play around with echolink via qtel, but have been having trouble with the combo jack on my xps 13. When I would plug in a headset, it would see the headphones, but would never see that a mic was available. I think it is a problem with the sound card initialized in I2S mode. According to the Arch wiki, the kernel can be recompiled with the option  CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y  and it will force on HDA mode.

Here are the steps that I went through to recompile the kernel using the arch build system.

Edit the PKGBUILD  file and change pkgbase. I used pkgbase=linux-custom , then save the file and exit.

Edit config.x86_64  and uncomment CONFIG_ACPI_REV_OVERRIDE_POSSIBLE

Ensure the line says:

Save the file and exit.

Next, you will need to import Linus Torvalds and Greg Kroah-Hartman’s pgp keys as they are the keys used to sign the kernel releases.

Now we can compile the kernel.

That will take some time.

Once it is done, we can install it.

Once that is done, you’ll need to edit the bootloader to use the new kernel. I am currently using systemd-boot, so edit /boot/loader/entries/{whatever}.conf

A basic example would look like:

Once that is done, reboot the machine twice and the audio should work as expected. If you are using an xps 13, you will probably need to reinstall the wireless drivers.

auto switching sinks and sources

Now that the audio works, I wanted it to switch to the headset automatically when the headset was plugged in. I also prefer to have the audio mute when I unplug the headset. To do that, install and enable acpid.

Next, create a script somewhere called  with the contents:

Next, open /etc/acpi/events/anything  and comment everything out.

Then create /etc/acpi/events/headphone-jack  with the contents:

Then enable and start the acpid service and when you plug in your headset, the audio sink and source should switch to the headset and when the headset is unplugged, it will mute the audio and switch back to the internal speakers and mic.



Leave a Comment