I am using Ubuntu 19.10 with the new Inspiron from Dell - 7590 (model info from Arch Linux)
The microphone does not work, but speakers do. I tried anything - building kernel 5.5.6 and updating alsa to 1.2.1, but it does not seem to help. The integrated microphone as well as the 3.5mm generally do not work, but there seems to be activity in pavucontrol (I think this is white noise). Also there is nothing shown as input (when I go to settings -> sound), but I can see something in pavucontrol
My multimedia controller is:
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Lake PCH cAVS (rev 10)
DeviceName: Onboard - Sound
Subsystem: Dell Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 177
Memory at ed318000 (64-bit, non-prefetchable) [size=16K]
Memory at ed100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev
No input devices show by default on clean install of Ubuntu. I tried 18.04 (LTS) but the result is the same, so I switched back to 19.10. When I run pavucontrol
it shows this:
I can see noise and that the mic is recording something (but I cannot control it from the sound settings) but it does no react to my voice.
Output from cat /proc/asound/card0/codec* | grep Codec
:
Codec: Realtek ALC3254
Codec: Intel Kabylake HDMI
I hope someone can help me out here, I would be really grateful. Thanks in advance!
Output from lshw | grep -n -i -A 14 -B 10 audio
:
312- product: Intel Corporation
313- vendor: Intel Corporation
314- physical id: 1f
315- bus info: pci@0000:00:1f.0
316- version: 10
317- width: 32 bits
318- clock: 33MHz
319- capabilities: isa bus_master
320- configuration: latency=0
321- *-multimedia
322: description: Multimedia audio controller
323- product: Cannon Lake PCH cAVS
324- vendor: Intel Corporation
325- physical id: 1f.3
326- bus info: pci@0000:00:1f.3
327- version: 10
328- width: 64 bits
329- clock: 33MHz
330- capabilities: bus_master cap_list
331- configuration: driver=snd_hda_intel latency=32
332- resources: irq:177 memory:ed318000-ed31bfff memory:ed100000-ed1fffff
333- *-serial:2
334- description: SMBus
335- product: Cannon Lake PCH SMBus Controller
336- vendor: Intel Corporation
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
Output from lspci | grep -n -i -A 10 -B 1 audio
:
17-00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)
18:00:1f.3 Multimedia audio controller: Intel Corporation Cannon Lake PCH cAVS (rev 10)
19-00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
20-00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
21-01:00.0 3D controller: NVIDIA Corporation Device 1f91 (rev a1)
22-02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
23-03:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
24-03:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
25-03:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
26-04:00.0 System peripheral: Intel Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] (rev 02)
27-3a:00.0 USB controller: Intel Corporation JHL6340 Thunderbolt 3 USB 3.1 Controller (C step) [Alpine Ridge 2C 2016] (rev 02)
28-3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
Update: seems the mic now works under Archlinux: https://wiki.archlinux.org/index.php/Dell_Inspiron_15_(7590)
Update #2: With a little help from sof developers, I think I can get my mic (as well the one from many other dell laptops) working - https://github.com/thesofproject/sof/issues/2502
You might try an OEM kernel image (or the
linux-oem
package, there is also a tools and modules package) as these sometimes have better support of OEM Hardware (especially Laptops) and as far as I recall, Dell is contributing there or actively supporting it.If the OEM-Kernel does not help you you might try checking the differences between your 19.10 and 18.04 manufacturer image or if the problem still persists when booted from a live or USB stick using the manufacturer image.
If the problem persists with the officially supported image, then the driver really might not support using it the way you want.
OEM Kernel Image
Certified HW Ubuntu Inspiron 7590
Be sure to use an application that can record audio. See the message in Puva, recording tab. Try gnome-sound-recorder. You can find it in Synaptic. Also be sure that your web-browser is capable of recording.
First check the mic sound level. To check the sound level install alsamixer. To do that use following commands:
Once alsamixer is installed then run following command to run it
Then press F6(Function key to check the sound cards) and select appropriate sound card and press enter key.
The screen will show volume level for Master, Speaker, Headphones and MIC (Depending on the system, this list may vary). Make sure MIC volume is not zero.
There is a way to fix this.
I have the same laptop and I'm also running 19.10. As the OP, I also managed to solve this problem. I'm writing this answer as a "how to" guide, just to help others having the same problem as we had. The oem kernel proposed by @Ritualmaster is tested and at least in my 7590+ubuntu19.10 configuration, is not working.
The problems:
The sound(speakers, line in-out, dmic) is fully working using sof, but the ucm configuration files needed are not in the master branch of the project nor in Ubuntu's installation.
Ubuntu's update to 5.3.0-42 kernel breaks sof causing failure to the sound system, leaving a DummyOutput device for sound output.
So I'll try to document the required steps for the solution:
1. Blacklist "snd-hda-intel" and "snd-soc-skl" modules in order to let the linux kernel to load the sof driver. The driver is already installed as it is part of the kernel since 5.2 (I think).
2. Fetch the sound card configuration files from the sof project repository. This step requires git. So if you don't have it, install it via
sudo apt install git
. The configuration files are not in the master branch and so both the existence and the contents of them is not guaranteed. For that reason we will checkout the files exactly in the right version manually.3. If you have installed the kernel update "5.3.0-42", you also have to make sure you are booting to the previous "5.3.0-40" version every time. One simple way for doing this is editing grub. Find /etc/default/grub and delete line
GRUB_DEFAULT=0
. Then add the lines belowNow update grub and reboot
4. Assuming you are using inspiron 7590 ;) make sure you press F1 when the dell logo appears while booting, in order to bring up the grub menu. From this menu select advanced and then 5.3.0-40. Bringing up the grub menu is not necessary every time, only once. In the previous step we have set grub default selection to "saved". That means it will continue to boot the last selected version from now on.
That's it. Hopefully the system will boot and the sound cart will be detected just fine.
For example in my pulseaudio volume control: and
Note 1: If mic level is still low, you can raise it in alsamixer.
Note 2: If there is a better way of selecting kernel to boot let me know.
Useful links:
that's what worked for me: install
sudo add-apt-repository ppa:kaihengfeng/fix-lp1869819
and put itinto file
/etc/modprobe.d/alsa-base.conf
It works for ubuntu 20.04 on Dell G3 3590!!!
While hoo2's answer is not working for me, it helped me to find a solution.
I am running Ubuntu 20.04, on Dell Vostro 7590 with kernel version 5.6.0-1020-oem.
Here are the steps:
/etc/modprobe.d/alsa-base.conf
:Note that if you have some other changes to that file, it is good to revert them (e.g. remove
options snd_hda_intel dmic_detect=0
).