This is the script I tried running (unfortunately I don't have an output log, all I know is that it ended with an error):
Code: Select all
#!/bin/sh
######## VERSION 1.5 ########
KERNEL_VER=`uname -r`
echo ".....Decompress Driver source ALSA Driver 1.0.14....."
tar xvpfj alsa-driver-1.0.14.tar.bz2 > /dev/null 2>&1
sync
echo "Remove old sound driver"
if [ -d /lib/modules/$KERNEL_VER/kernel/sound ]; then
rm -rf /lib/modules/$KERNEL_VER/kernel/sound/pci
rm -rf /lib/modules/$KERNEL_VER/kernel/sound/acore
rm -rf /lib/modules/$KERNEL_VER/kernel/sound/driver
fi
echo "Compile Driver........"
cd alsa-driver-1.0.14
./configure --with-cards=hda-intel
make
make install
./snddevices
cd ..
if lsmod |grep -q "snd_hda_intel" ; then
modprobe -r snd_hda_intel
fi
modprobe snd_hda_intel
Code: Select all
~ $ modprobe snd_hda_intel
modprobe: ERROR: ../libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x55835cba5010 path=/lib/modules/4.15.0-33-generic/kernel/sound/pci/hda/snd-hda-codec.ko error=No such file or directory
modprobe: ERROR: ../libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x55835cba5010 path=/lib/modules/4.15.0-33-generic/kernel/sound/pci/hda/snd-hda-codec.ko error=No such file or directory
modprobe: ERROR: could not insert 'snd_hda_intel': Unknown symbol in module, or unknown parameter (see dmesg)
Code: Select all
~ $ aplay -l && arecord -l
aplay: device_list:268: no soundcards found...
arecord: device_list:268: no soundcards found...
Code: Select all
~ $ lspci -v | grep -A7 -i "audio"
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
Subsystem: ASUSTeK Computer Inc. P5KPL-CM Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fe978000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])