You are not logged in.
Pages: 1
Topic closed
Hi,
I have a Thinkpad X1 and I'm new to archlinux and trying to get audio and the microphone working. I had audio working previously, but then in the process of trying to get the microphone to work I caused the output audio to also fail.
Not sure if this should be posted here or in the Newbie's corner.
I'm posted the debug information that was requested in similar threads below.
pactl list sinks
Sink #0
State: SUSPENDED
Name: auto_null
Description: Dummy Output
Driver: module-null-sink.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 13
Mute: no
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
Monitor Source: auto_null.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Dummy Output"
device.class = "abstract"
device.icon_name = "audio-card"
Formats:
pcm
pacman -Q linux
linux 5.5.4.arch1-1
uname -a
Linux abalakum 5.5.4-arch1-1 #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +0000 x86_64 GNU/Linux
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (currently PulseAudio Sound Server)
aplay: device_list:272: no soundcards found...
sudo fuser -v /dev/snd/*
dmesg | grep snd
[ 2.992747] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 2.996595] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
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.0
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.5.4-arch1-1 #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +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 cd5d8979e24e401b97716e4826afdb3f.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/ambarish/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.0/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.
Thanks for taking the time to help.
Last edited by c9fc3432bfae80280blinders (2020-02-20 16:53:04)
Offline
https://bbs.archlinux.org/viewtopic.php … 5#p1887925
https://bbs.archlinux.org/viewtopic.php … 6#p1888046
If that isn't sufficient you might be more interested in reading the following thread and in particular the linked reply: https://bbs.archlinux.org/viewtopic.php … 2#p1887142
Last edited by V1del (2020-02-20 08:15:59)
Online
Thanks so much the first two links were sufficient to get output to work. It did not fix the microphone though.
Offline
This was also the issue and fix for Thinkpad T14s.
Offline
Had to remove this fix to get the microphone and speakers both working on T14s. See this thread.
Last edited by ThinkPad (2020-08-25 17:18:46)
Offline
Had to remove this fix to get the microphone and speakers both working on T14s. See this thread.
Hello! With what version of Kernel did this solution work for you?
I have the same problem with a Lenovo Thinkbook 13s laptop with Intel and I can't solve the problem, I tried with this line in the file "disable-dmic.conf" and without it, both in kernel 5.4 lts and 5.8.
Offline
You shouldn't follow any of this anymore, this has largely been properly fixed if you don't use a modprobe.conf but install sof-firmware and alsa-ucm-conf.
If for some reason you'd still need a modprobe config you should use
options snd_intel_dspcfg dsp_driver=1
instead
Online
V1del's answer is the key, i got stuck on it, and just by following his tips i was able to achieve my goal. Thank you mate!
Offline
Hey all, I just purchased a new laptop yesterday and threw Arch into it to face the same problem.
In,
/etc/modprobe.d/disable_dmic.conf
pasting,
options snd_intel_dspcfg dsp_driver=1
gets me audio output but the mic is still not detected. I've installed sof-firmware and alsa-ucm-conf but to no avail.
Any suggestions for getting my mic working? I'm happy to provide any logs.
Offline
That's the point, you need to remove that workaround and just check the situation with sof-firmware and not the file in modprobe.d.
If it's not fixed without the modprobe file, make a new thread and post
aplay -lL
pactl list cards
pactl list sinks
sudo dmesg | grep -iE 'snd|sof'
in code tags
Closing this old thread.
Online
Pages: 1
Topic closed