I bought this new Laptop a week ago and immediately installed Ubuntu on a Dual Boot.
However it seems to not detect my sound card. On Settings I simply get a Dummy Output, but no Sound at all. Microphone doesn't work as well. Both work fine on Windows. I tried to install a Realtek Sound Driver, but they seem to be outdated and don't work on newer Linux versions. In the Windows Device Manager I've noticed 3 entries for Sound: One Realtek driver and two AMD Sound controllers.
I've already searched the web and tried different solutions, none of them worked for me.
After entering the command
lspci -vk |perl -lne 'print if /Audio/ .. /^[\w]*$/'
I get:
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
Subsystem: Hewlett-Packard Company Family 17h (Models 10h-1fh) HD Audio Controller
Flags: fast devsel, IRQ 255, IOMMU group 16
Memory at fcdc0000 (32-bit, non-prefetchable) [disabled] [size=32K]
Capabilities: <access denied>
Kernel modules: snd_hda_intel
When I try to open the AlsaMixer (Tried different numbers for the cards the mixer doesn't open with the Error Message:
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default
In my eyes it seems like a problem with the Realtek Driver. But since there is none available on their page I don't know what to do. Also their page where you can download the drivers is full of spelling mistakes. I guess they don't care to update these anymore.