You are not logged in.

#1 2018-04-22 16:12:39

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Audio jack on laptop silent since recent upgrade

Since about one week, the audio jack on my laptop (Dell XPS15), has stopped working.

It's clearly turned on when checking "alsamixer -c0". My system has pulseaudio + pulseaudio-alsa packages, and it worked before last week.

I downgraded the kernel to one from march, that I know definitely worked, and rebooted, hoping that would fix it, but still no sound.

The speakers on the laptop works, just not the audio jack.

Any suggestions or hints are greatly appreciated.

lspci | grep Audio

$ lspci|grep Audio
18:00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)

dmesg | grep snd

$ dmesg|grep snd
905:[    8.737402] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
906:[    8.737680] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
913:[    8.766770] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3266: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
914:[    8.766772] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
915:[    8.766773] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
916:[    8.766774] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
917:[    8.766775] snd_hda_codec_realtek hdaudioC0D0:    inputs:
918:[    8.766776] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x18
919:[    8.766777] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
920:[    8.766778] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

Offline

#2 2018-04-23 00:53:00

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: Audio jack on laptop silent since recent upgrade

Your dmesg output shows it's recognizing a Headset and Headphone microphone, is that the same device plugged into the audio jack? If so, the jack itself seems to be fine.

If you have audio playing on the speakers and then plug into the jack, does the sound disappear entirely, or does it keep playing on the built-in speakers?

Offline

#3 2018-04-23 06:22:14

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Re: Audio jack on laptop silent since recent upgrade

Yes, speakers turn off entierly when I plugg in the headphones. If I have alsamixer open when I pluggin them in, I see the expected behavour of main speakers being muted. When I pull them out headphone channel is muted.

I've tried unmuting various channels, but to no effect.

I should mention they're wireless/bluetooth, but I've never configured that, so I've always used normal 3.5 mm cable.

Offline

#4 2018-04-23 07:55:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,728

Re: Audio jack on laptop silent since recent upgrade

Can you add the output of

sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs

? Also if it has "suddenly" stopped working, try to rule out a kernel regression by testing e.g. linux-lts

Offline

#5 2018-04-23 08:19:29

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Re: Audio jack on laptop silent since recent upgrade

sudo fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  penguin    5524 F.... pulseaudio

pacmd list-sink-inputs

1 sink input(s) available.
    index: 2
	driver: <protocol-native.c>
	flags: 
	state: CORKED
	sink: 0 <alsa_output.pci-0000_00_1f.3.analog-stereo>
	volume: front-left: 61937 /  95% / -1.47 dB,   front-right: 61937 /  95% / -1.47 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 80.00 ms
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: speex-float-1
	module: 8
	client: 5 <virt-manager>
	properties:
		media.name = "playback"
		application.name = "virt-manager"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "13080"
		application.process.user = "karlf"
		application.process.host = "dell"
		application.process.binary = "python2.7"
		application.icon_name = "virt-manager"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "7cde5fa558774e869d5f9ec72ca1dd69"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-application-name:virt-manager"

pacmd list-sinks

$ pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9039
        volume: front-left: 39952 /  61% / -12.90 dB,   front-right: 39952 /  61% / -12.90 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC3266 Analog"
                alsa.id = "ALC3266 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 0xed128000 irq 135"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a171"
                device.product.name = "CM238 HD Audio Controller"
                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"
                alsa.mixer_name = "Realtek ALC3266"
                alsa.components = "HDA:10ec0298,102807be,00100103 HDA:8086280b,80860101,00100000"
                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 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>

Offline

#6 2018-04-24 06:44:47

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Re: Audio jack on laptop silent since recent upgrade

V1del wrote:

Also if it has "suddenly" stopped working, try to rule out a kernel regression by testing e.g. linux-lts

Hey, installing linux-lte did the trick! It works now, thanks!

Now, the question is, will I be without working audio-jack when linux-lte is upgraded, and why did it stop working on recent linux kernels?

Offline

Board footer

Powered by FluxBB