You are not logged in.

#1 2020-11-03 19:32:10

svalee
Member
Registered: 2019-01-20
Posts: 41
Website

No audio on Dell Latitude 3510

I've installed sof-firmware and pulseaudio, but didn't manage to make sound to work. I've tried to install it both from github and the package. Right now I'm running on package, since it is said that they updated it and there is no need to use github anymore.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
dmesg | grep sof-audio-pci
[sudo] password for paulefou:
[    2.848933] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.848937] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.848948] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.849822] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    2.849943] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.857154] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    2.908490] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    2.908492] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    2.908495] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 0
[    3.004012] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:6:0-18fab
[    3.004014] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:17:0 Kernel ABI 3:16:0
[    3.004015] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    3.004659] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 3 size 0x1c
[    3.004676] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 4 size 0x10
[    3.062104] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:17:0 Kernel ABI 3:16:0
[    3.062106] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    3.062109] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[    3.063392] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[    3.063394] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[    3.064798] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[    3.064801] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[    3.065742] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[    3.065744] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[    3.066993] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[    3.066995] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[    3.066998] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[    3.066999] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[    3.067001] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[    3.067003] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[    3.068013] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[    3.068014] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[    3.068979] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[    3.068981] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[    3.070011] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[    3.074467] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
journalctl -k | grep -E  'snd|sof'
Nov 03 21:12:59 halee kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Nov 03 21:12:59 halee kernel: software IO TLB: mapped [mem 0x785dc000-0x7c5dc000] (64MB)
Nov 03 21:13:00 halee kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Nov 03 21:13:00 halee kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Nov 03 21:13:00 halee kernel: snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Nov 03 21:13:00 halee kernel: snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: use msi interrupt mode
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Nov 03 21:13:00 halee kernel: sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 0
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: Firmware info: version 1:6:0-18fab
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:17:0 Kernel ABI 3:16:0
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 3 size 0x1c
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 4 size 0x10
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: Topology: ABI 3:17:0 Kernel ABI 3:16:0
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
Nov 03 21:13:01 halee kernel: sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC3204: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0:    inputs:
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0:      Headset Mic=0x19
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0:      Headphone Mic=0x1a
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
Nov 03 21:13:01 halee kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
Nov 03 21:13:01 halee kernel: input: sof-hda-dsp Headphone Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
Nov 03 21:13:01 halee kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
Nov 03 21:13:01 halee kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
Nov 03 21:13:01 halee kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.3
D: [pulseaudio] main.c: Compilation host: x86_64
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59 +0000
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is 7dc30b2544b345f6aa0fd528caa63a4b.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/paulefou/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Last edited by svalee (2020-11-03 19:33:50)

Offline

#2 2020-11-03 21:48:38

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

Re: No audio on Dell Latitude 3510

pacmd list-cards
pacmd list-sinks
#During playback attempts
pacmd list-sink-inputs
sudo fuser -v /dev/snd/*

Online

#3 2020-11-03 21:58:31

svalee
Member
Registered: 2019-01-20
Posts: 41
Website

Re: No audio on Dell Latitude 3510

pacmd list-cards
0 card(s) available.
pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 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: 0
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 12
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
pacmd list-sink-inputs
1 sink input(s) available.
    index: 10
	driver: <protocol-native.c>
	flags: START_CORKED
	state: RUNNING
	sink: 0 <auto_null>
	volume: front-left: 36169 /  55% / -15.49 dB,   front-right: 36169 /  55% / -15.49 dB
	        balance 0.00
	muted: no
	current latency: 125.00 ms
	requested latency: 75.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 8
	client: 4 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "884"
		application.process.user = "paulefou"
		application.process.host = "halee"
		application.process.binary = "firefox"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "7dc30b2544b345f6aa0fd528caa63a4b"
		application.process.session_id = "1"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

No process using /dev/snd/
At least the command didn't return anything

Offline

#4 2020-11-03 22:19:56

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

Re: No audio on Dell Latitude 3510

alsa-ucm-conf installed? Does plain ALSA access with e.g .

speaker-test -Dhw:0 -c2

work?

Online

#5 2020-11-03 22:56:18

svalee
Member
Registered: 2019-01-20
Posts: 41
Website

Re: No audio on Dell Latitude 3510

I can't hear anything

speaker-test -Dhw:0 -c2

speaker-test 1.2.4

Playback device is hw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16368
Period size range from 48 to 4080
Using max buffer size 16368
Periods = 4
was set period_size = 3312
was set buffer_size = 16368
 0 - Front Left
 1 - Front Right
Time per period = 5.592585

Last edited by svalee (2020-11-03 22:57:11)

Offline

#6 2020-11-04 09:55:19

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

Re: No audio on Dell Latitude 3510

If you check with

alsamixer -c0

are the channels unmuted? FWIW there seem to be a lot of errors with the firmware if we go by dmesg, something you can try here, which will however break the mic iirc is telling it  to use the non sof-firmware hda drivers via a file in /etc/modprobe.d/dsp-fix.conf

options snd_intel_dspcfg dsp_driver=1

Online

#7 2020-11-04 10:56:20

svalee
Member
Registered: 2019-01-20
Posts: 41
Website

Re: No audio on Dell Latitude 3510

Here's alsamixer
https://ibb.co/2M2zhxQ

Well before I installed sof-firmware sound didn't work too and I need mic, but using non sof-firmware didn't work too even for the sound

Offline

#8 2020-11-04 11:04:18

svalee
Member
Registered: 2019-01-20
Posts: 41
Website

Re: No audio on Dell Latitude 3510

My bad, disabling sof-firmware actually worked, but as you said mic doesn't work

Offline

#9 2020-11-19 20:37:09

svalee
Member
Registered: 2019-01-20
Posts: 41
Website

Re: No audio on Dell Latitude 3510

So after a while I decided to try speaker-test and surprisingly it worked, maybe because sof-firmware was updated?

But other applications doesn't have any sound.

Maybe as well here post N8
https://bbs.archlinux.org/viewtopic.php?id=257121

I think, raising volume doesn't unmute the channel, surprisingly. Not sure if I unmuted it previously, but yeah.
Is there anything we can do about it now?

Here's my alsa-info.sh

https://pastebin.com/Ev5rfECJ

Offline

Board footer

Powered by FluxBB