Audio muted by default on Dell XPS One 2710

With a fresh installation of F32 on a Dell XPS One 2710, audio is muted by default on login, wake from sleep or user switch.

  • If I type ‘alsaunmute’ the speakers start working.
  • If I then plug in headphones, the speakers mute and the headphones work as you’d expect.
  • But when I unplug the headphones, the speakers remain muted until I type ‘alsaunmute’ again.

In alsamixer, I see the ‘Headphones’ and Speaker channels.

  • Plugging in headphones unmutes the Headphone channel and mutes Speaker
  • Unplugging headphones unmutes the Speaker channel and mutes Headphones, but the speakers produce no sound despite volume being up
  • After unplugging headphones, manually unmuting the Headphones channel without muting the Speaker channel makes the speakers produce audio (weird)
  • alsaunmute seems to unmute both the Speaker and Headphone channels.

Can anyone think of a way I can make sure everything is unmuted at user login? And maybe persistently disable the auto-mute that happens when headphones are plugged in?

dmesg says:

    [    6.329041] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3260: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [    6.329042] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [    6.329043] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
    [    6.329044] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
    [    6.329044] snd_hda_codec_realtek hdaudioC0D0:    inputs:
    [    6.329045] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
    [    6.329046] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

And pacmd list-sinks:

    1 sink(s) available.
      * index: 0
    	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
    	driver: <module-alsa-card.c>
    	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    	state: RUNNING
    	suspend cause: (none)
    	priority: 9039
    	volume: front-left: 14247 /  22% / -39.77 dB,   front-right: 14247 /  22% / -39.77 dB
    	        balance 0.00
    	base volume: 63069 /  96% / -1.00 dB
    	volume steps: 65537
    	muted: no
    	current latency: 59.10 ms
    	max request: 14 KiB
    	max rewind: 14 KiB
    	monitor source: 0
    	sample spec: s16le 2ch 48000Hz
    	channel map: front-left,front-right
    	             Stereo
    	used by: 1
    	linked by: 1
    	configured latency: 75.00 ms; range is 0.50 .. 1837.50 ms
    	card: 0 <alsa_card.pci-0000_00_1b.0>
    	module: 6
    	properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "ALC3260 Analog"
    		alsa.id = "ALC3260 Analog"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "0"
    		alsa.card = "0"
    		alsa.card_name = "HDA Intel PCH"
    		alsa.long_card_name = "HDA Intel PCH at 0xf7c10000 irq 45"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:00:1b.0"
    		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "8086"
    		device.vendor.name = "Intel Corporation"
    		device.product.id = "1e20"
    		device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller (XPS One 2710)"
    		device.form_factor = "internal"
    		device.string = "front:0"
    		device.buffering.buffer_size = "352800"
    		device.buffering.fragment_size = "176400"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "analog-stereo"
    		device.profile.description = "Analog Stereo"
    		device.description = "Built-in Audio Analog Stereo"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	ports:
    		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
    			properties:
    				device.icon_name = "audio-speakers"
    		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
    			properties:
    				device.icon_name = "audio-headphones"
    	active port: <analog-output-speaker>

   Hi @gabe.  Try alsamixer, key M to toggle mute/unmute?  If it’s not installed, then probably the package named “alsa-utils”.
   Maybe alsaunmute “just works once”, rather than toggle this setting…