I have recently switched over to Linux and decided to use the Ubuntu distro version 17.04 . After installation was done I realized that I had no audio and soon after realized that my motherboard does not support Linux which is the reason I want to install a sound driver manually. After I downloaded the Realtek Audio driver ( Linux Driver 3.0 ) I had difficulty installing the driver since the installation instruction did not work. So how do I do it?
The results of lspci -v | grep -A7 -i "audio"
is :
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
Subsystem: ASUSTeK Computer Inc. Device 8724
Flags: bus master, fast devsel, latency 32, IRQ 133
Memory at df240000 (64-bit, non-prefetchable) [size=16K]
Memory at df220000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
When attempted to install file through terminal using the commands given by an answer below, after the command line make
the following error was given :
error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
"Compiled on " __DATE__ " for kernel %s"
And on the last line it said :
Makefile:167: recipe for target 'compile' failed
make: *** [compile] Error 2
After the command line make install
another error was given which was :
Makefile:188: recipe for target 'install-headers' failed
make: *** [install-headers] Error 1
I would also like to point out that after entering make install
all the lines either started with :
rm: cannot remove '/ A FILE LOCATION ' : permission denied
or they started with :
install: cannot create regular file `/ A FILE LOCATION ' : permission denied
The results of sudo lshw | grep -A5 core
was :
*-core
description: Motherboard
product: PRIME Z270-A
vendor: ASUSTeK COMPUTER INC.
physical id: 0
version: Rev 1.xx
--
configuration: cores=4 enabledcores=4 threads=8
*-pci
description: Host bridge
product: Skylake Host Bridge/DRAM Registers
vendor: Intel Corporation
physical id: 100
--
configuration: driver=skl_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: HD Graphics 530
vendor: Intel Corporation
The error given after using sudo make install
using the method in the answer below was :
Makefile:206: recipe for target 'install-modules' failed
make: *** [install-modules] Error 1
sudo lshw | grep -A5 core
can clarify which board you actually have. Thank you for helping us help you!