BUG hda/cs8904: Headphones not detected and no speaker sound after system suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello my dudes.

I've been having this bug for a few months now. Sound on my laptop works just
fine until the system suspends or I close the lid. If my headphones are
connected when I suspend the system, then there's no sound on headphones or
speakers on wake and PulseAudio claims there's never any headphones connected.
If my headphones aren't connected on suspend, then speakers work just fine, but
headphones are still never detected and make no sound.

Additionally, I recently found out that after waking from suspend, if I run
`sudo dmesg | grep snd` I find two timeout warnings that weren't there before,
and more showing up as I keep running the command. They go:
> snd_hda_codec_cs8409 hdaudioC1D0: Timeout waiting for PDN_DONE for
> CS42L42

I'm on a Dell Vostro 3405 laptop, which I know has a Cirrus sound card. I
recently compiled and tested this bug on the Linux 6.6.2 stable kernel. No dice.
I attach the outputs of `pactl list sinks`, `sudo dmesg | grep snd` and `sudo
lspci -v | grep snd -B 10`. Please do tell if the issue might be caused by some
other module or BIOS configuration, or if you need more data.
[    5.885890] snd_pci_acp3x 0000:04:00.5: ACP audio mode : 2
[    6.199263] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[    6.219936] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    6.246441] snd_hda_codec_cs8409 hdaudioC1D0: autoconfig for CS8409: line_outs=1 (0x2c/0x0/0x0/0x0/0x0) type:speaker
[    6.246451] snd_hda_codec_cs8409 hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.246457] snd_hda_codec_cs8409 hdaudioC1D0:    hp_outs=1 (0x24/0x0/0x0/0x0/0x0)
[    6.246463] snd_hda_codec_cs8409 hdaudioC1D0:    mono: mono_out=0x0
[    6.246466] snd_hda_codec_cs8409 hdaudioC1D0:    inputs:
[    6.246469] snd_hda_codec_cs8409 hdaudioC1D0:      Internal Mic=0x44
[    6.246473] snd_hda_codec_cs8409 hdaudioC1D0:      Mic=0x34
[  264.290794] snd_hda_codec_cs8409 hdaudioC1D0: Timeout waiting for PDN_DONE for CS42L42
[  267.495336] snd_hda_codec_cs8409 hdaudioC1D0: Timeout waiting for PDN_DONE for CS42L42
[  317.867302] snd_hda_codec_cs8409 hdaudioC1D0: Timeout waiting for PDN_DONE for CS42L42
[  350.023422] snd_hda_codec_cs8409 hdaudioC1D0: Timeout waiting for PDN_DONE for CS42L42
[  786.314046] snd_hda_codec_cs8409 hdaudioC1D0: Timeout waiting for PDN_DONE for CS42L42
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
	Subsystem: Dell Raven/Raven2/Fenghuang HDMI/DP Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 67, IOMMU group 12
	Memory at c06c8000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
--

04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
	Subsystem: Dell ACP/ACP3X/ACP6x Audio Coprocessor
	Flags: bus master, fast devsel, latency 0, IRQ 62, IOMMU group 12
	Memory at c0680000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x

04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
	Subsystem: Dell Family 17h/19h HD Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 12
	Memory at c06c0000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
Sink #50
	State: SUSPENDED
	Name: alsa_output.pci-0000_04_00.6.analog-stereo
	Description: Family 17h/19h HD Audio Controller Estéreo analógico
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26291 /  40% / -23,80 dB,   front-right: 26291 /  40% / -23,80 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_04_00.6.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "CS8409/CS42L42 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0xc06c0000 irq 67"
		alsa.name = "CS8409/CS42L42 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HD-Audio Generic at 0xc06c0000 irq 67"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "sound"
		device.id = "43"
		device.profile.description = "Estéreo analógico"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Family 17h/19h HD Audio Controller"
		node.name = "alsa_output.pci-0000_04_00.6.analog-stereo"
		node.nick = "CS8409/CS42L42 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:front:1:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "50"
		object.serial = "50"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.6"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "6621544"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.string = "1"
	Ports:
		analog-output-speaker: Altavoces (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
		analog-output-headphones: Auriculares (type: Headphones, priority: 9900, availability group: Legacy 4, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux