(39条消息) CentOS 安装声卡驱动_weixin_34095889的博客-CSDN博客
Index of /files/pub/utils/ (alsa-project.org)
Index of /files/pub/lib/ (alsa-project.org)
Index of /files/pub/utils/ (alsa-project.org)
(39条消息) centos7.4 mini从系统安装到声卡配置_小桃子的思念的博客-CSDN博客_centos7 声卡驱动
[root@localhost ~]# yum install alsa-utils -y
File "/usr/bin/yum", line 30
except KeyboardInterrupt, e:
^
SyntaxError: invalid syntax
[root@localhost ~]# yum install alsa-utils
File "/usr/bin/yum", line 30
except KeyboardInterrupt, e:
^
SyntaxError: invalid syntax
[root@localhost ~]# vim /usr/bin/yum
[root@localhost ~]# yum install alsa-utils
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Oct 30 2018, 23:45:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[root@localhost ~]# cd /hrifs/usr/lib/
[root@localhost lib]# rm -rf libcurl.so libcurl.so.4
[root@localhost lib]# yum install alsa-utils -y
已加载插件:fastestmirror, langpacks, nvidia
Loading mirror speeds from cached hostfile
由于用户取消而退出
[root@localhost lib]# vi /usr/libexec/urlgrabber-ext-down
[root@localhost lib]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@localhost lib]# reboot
1.下载linux版本的官方驱动包Realtek官网 http://www.realtek.com/downloads/ 点击右下方的 HD Audio Codec Driver然后点击 I accept 神马的进入下一页然后在最底下有linux版本的驱动,根据内核(一般都是2.6)版本下载驱动包2.编译环境 ,build-essential 里面是最常用的编译工具 sudo apt-get install build-essential如果安装过会有提示3.开始安装1)解压源代码包 tar xfvj LinuxPkg_5.16rc25.tar.bz2 cd realtek-linux-audiopack-5.16 tar xfvj alsa-driver-1.0.24-5.16rc25.tar.bz22)编译源代码 cd alsa-driver-1.0.24 sudo ./configure --with-cards=hda-intel sudo make sudo make install3)重启机器 sudo reboot欢迎分享,转载请注明来源:内存溢出
评论列表(0条)