各位大佬,新装系统无声音,windows里面好好的,哪位帮忙看看(本人菜鸟,已网上搜过,所有硬件及系统信息如下)
root@debian:/home/denny# lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
root@debian:/home/denny# aplay -l
aplay: device_list:272: no soundcards found…
root@debian:/home/denny# modprobe snd-hda-intel
modprobe: ERROR: …/libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x55add587e260 path=/lib/modules/4.19.0-5-amd64/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=0x55add587e260 path=/lib/modules/4.19.0-5-amd64/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)
应该是声卡没驱动了,下载了alsa驱动,编译老提示没内核文件
root@debian:/usr/src/alsa/alsa-driver-1.0.25# ./configure --with-kernel=/lib/modules/4.19.0-5-amd64/source
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
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 ISO C89… 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 grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/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… /usr/src/alsa/alsa-driver-1.0.25
checking cross compile…
checking for directory with ALSA kernel sources… /usr/src/alsa/alsa-driver-1.0.25/alsa-kernel
checking for directory with kernel source… /lib/modules/4.19.0-5-amd64/source
checking for directory with kernel build… /lib/modules/4.19.0-5-amd64/source
checking for kernel linux/version.h … no
**e file /lib/modules/4.19.0-5-amd64/source/include/INCLUDE_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/4.19.0-5-amd64/source).
root@debian:/usr/src/alsa/alsa-driver-1.0.25# ./configure --with-kernel=/lib/modules/4.19.0-5-amd64/source/version.h
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
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 ISO C89… 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 grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/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… /usr/src/alsa/alsa-driver-1.0.25
checking cross compile…
checking for directory with ALSA kernel sources… /usr/src/alsa/alsa-driver-1.0.25/alsa-kernel
*hecking for directory with kernel source… 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/4.19.0-5-amd64/source).
root@debian:/usr/src/alsa/alsa-driver-1.0.25# uname -r
4.19.0-5-amd64
root@debian:/usr/src/alsa/alsa-driver-1.0.25# apt-get install linux-kernel-headers
正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
注意,选中 ‘linux-libc-dev’ 而非 ‘linux-kernel-headers’
linux-libc-dev 已经是最新版 (4.19.37-5)。
linux-libc-dev 已设置为手动安装。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
root@debian:/usr/src/alsa/alsa-driver-1.0.25# apt-get install linux-source
正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
linux-source 已经是最新版 (4.19+105)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
apt-get install pulseaudio
正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
pulseaudio 已经是最新版 (12.2-4)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
pulseaudio没用,alsa不能直接apt安装,编译又老提示没内核文件(其实有),哪位大佬帮我看看要怎么操作才能驱动,谢谢了