I'm trying to setup alsa driver in ubuntu 20.04 with kernel 5.4.0-99-generic. But I can't upgrade my kernel because my old graphic card driver works only on this kernel. Please any help !!
Here is some system information:
chipset VIA VT1708S mainboard Asus P5QL:
.....Decompress Driver source ALSA Driver 1.0.11.....
Remove old sound driver
Compile Driver........
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/fekerine/Downloads/via_hd_audio_driver_v1.4_patch_ig_v0.84/Linux_HD_AudioCodec_V140/via-linux-audiopackV1.40/alsa-driver-1.0.11
checking cross compile...
checking for directory with kernel source... /lib/modules/5.4.0-99-generic/build
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /lib/modules/5.4.0-99-generic/build/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/5.4.0-99-generic/build).
make all-deps
make[1]: Entering directory '/home/fekerine/Downloads/via_hd_audio_driver_v1.4_patch_ig_v0.84/Linux_HD_AudioCodec_V140/via-linux-audiopackV1.40/alsa-driver-1.0.11'
make[1]: Nothing to be done for 'all-deps'.
make[1]: Leaving directory '/home/fekerine/Downloads/via_hd_audio_driver_v1.4_patch_ig_v0.84/Linux_HD_AudioCodec_V140/via-linux-audiopackV1.40/alsa-driver-1.0.11'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory '/home/fekerine/Downloads/via_hd_audio_driver_v1.4_patch_ig_v0.84/Linux_HD_AudioCodec_V140/via-linux-audiopackV1.40/alsa-driver-1.0.11/acore'
/home/fekerine/Downloads/via_hd_audio_driver_v1.4_patch_ig_v0.84/Linux_HD_AudioCodec_V140/via-linux-audiopackV1.40/alsa-driver-1.0.11/Rules.make:75: /Rules.make1: No such file or directory
make[1]: *** No rule to make target '/Rules.make1'. Stop.
make[1]: Leaving directory '/home/fekerine/Downloads/via_hd_audio_driver_v1.4_patch_ig_v0.84/Linux_HD_AudioCodec_V140/via-linux-audiopackV1.40/alsa-driver-1.0.11/acore'
make: *** [Makefile:194: install-modules] Error 1
Creating mixer?...done.
Creating sequencer...done.
Creating midi0?...done.
Creating dsp?...done.
Creating audio?...done.
Creating sndstat...done.
Creating music...done.
Creating dmmidi?...done.
Creating dmfm?...done.
Creating amixer?...done.
Creating adsp?...done.
Creating amidi?...done.
Creating admmidi?...done.
rm: cannot remove '/dev/snd': Is a directory
Creating snd/control?...done.
Creating snd/seq...done.
Creating snd/timer...done.
Creating snd/hw??...done.
Creating snd/midi??...done.
Creating snd/pcm??p...done.
Creating snd/pcm??c...done.
Creating aload?...done.
Creating aloadSEQ...done.