alsa |
您所在的位置:网站首页 › alsamixer使用教程 › alsa |
alsamixer是Linux 音频架构ALSA中的Alsa工具的其中一个,用于配置音频的各个参数。alsamixer是基于文本下的图形界面的,可以通过键盘的上下键,左右键等,很方便地设置需要的音量,开关某个switch(开关)等等操作。 1.运行alsamixer 提示未安装 root@greatwall-os:~# alsamixer 程序“alsamixer”尚未安装。 您可以使用以下命令安装: apt install alsa-utils 2.安装alsa-utils alsa-utils下载地址:http://www.alsa-project.org/main/index.php/Main_Page configure报错: configure: error: Sufficiently new version of libasound not found. 解决: 安装alsa-lib-1.1.6,下载地址:http://www.alsa-project.org/main/index.php/Main_Page root@greatwall-os:~/beep/alsa-lib-1.1.6# ./configure root@greatwall-os:~/beep/alsa-lib-1.1.6# make install alsa-utils重新configure成功 root@greatwall-os:~/beep/alsa-utils-1.1.6# make install make[2]: Entering directory '/root/beep/alsa-utils-1.1.6/alsaconf/po' mv: 无法获取't-ja.gmo' 的文件状态(stat): 没有那个文件或目录 Makefile:41: recipe for target 'ja.gmo' failed make[2]: *** [ja.gmo] Error 1 make[2]: Leaving directory '/root/beep/alsa-utils-1.1.6/alsaconf/po' Makefile:379: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/root/beep/alsa-utils-1.1.6/alsaconf' Makefile:355: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 解决: 创建一个空的文件: root@greatwall-os:~/beep/alsa-utils-1.1.6/alsaconf/po# touch t-ja.gmo root@greatwall-os:~/beep/alsa-utils-1.1.6/alsaconf/po# pwd /root/beep/alsa-utils-1.1.6/alsaconf/po 接下来又报错: make[2]: Entering directory '/root/beep/alsa-utils-1.1.6/alsaconf/po' mv: 无法获取't-ru.gmo' 的文件状态(stat): 没有那个文件或目录 Makefile:41: recipe for target 'ru.gmo' failed make[2]: *** [ru.gmo] Error 1 make[2]: Leaving directory '/root/beep/alsa-utils-1.1.6/alsaconf/po' Makefile:379: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/beep/alsa-utils-1.1.6/alsaconf' Makefile:355: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 解决: 创建一个空的目录: root@greatwall-os:~/beep/alsa-utils-1.1.6/alsaconf/po# touch t-ru.gmo [Note] System unauthorized, Please contact the system supplier. root@greatwall-os:~/beep/alsa-utils-1.1.6/alsaconf/po# pwd /root/beep/alsa-utils-1.1.6/alsaconf/po root@greatwall-os:~/beep/alsa-utils-1.1.6# make install 3.运行alsamixer root@greatwall-os:~/beep/alsa-lib-1.1.6# alsamixer No protocol specified xcb_connection_has_error() 返回真 cannot open mixer: 没有那个文件或目录 解决:需要将root用户加入audio用户组 usermod -G audio root root@greatwall-os:~/beep/alsa-lib-1.1.6# alsamixer
|
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |