科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网软件频道Linux系统下声卡驱动软件的安装配置 (2)

Linux系统下声卡驱动软件的安装配置 (2)

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

系统直接进入提示符状态,表明加载正常。不过,如果你搞不清到底加载什么模块,可以去/lib/modules/2.2.13/misc下面去查看,可加载声卡模块都在里面。

作者:赛迪网技术社区 来源:赛迪网技术社区 2007年10月14日

关键字: 驱动 声卡 系统 Linux

  • 评论
  • 分享微博
  • 分享邮件
 

六:系统测试和声卡设备调整。

1:编辑好/etc/modules.conf文件后,需要使用系统程序测试模块是否可以正常加载。

输入命令:

“modprobe snd-card-ymfpci”

系统直接进入提示符状态,表明加载正常。不过,如果你搞不清到底加载什么模块,可以去/lib/modules/2.2.13/misc下面去查看,可加载声卡模块都在里面。凭借模块名字就可以知道自己需要什么文件了。

2:调节音量。

输入命令:

“amixer”

命令提示如下:

Capabilities: volume

Channels: Front-Left Front-Right

Limits: min = 0, max = 16383

Front-Left: 0 [0%] [on] [---]

Front-Right: 0 [0%] [on] [---]

Group ’ADC Record’,0

Capabilities: volume

Channels: Front-Left Front-Right

Limits: min = 0, max = 16383

Front-Left: 0 [0%] [on] [---]

Front-Right: 0 [0%] [on] [---]

Group ’Capture Volume’,0

Capabilities: volume

Channels: Front-Left Front-Right

Limits: min = 0, max = 16383

Front-Left: 0 [0%] [on] [---]

Front-Right: 0 [0%] [on] [---]

Group ’Input Gain’,0

Capabilities: volume mute jointly-mute

Channels: Front-Left Front-Right

Limits: min = 0, max = 15

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’Master Mono’,0

Capabilities: volume mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’Master’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’Aux’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’Video’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’CD’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’Line’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’MIC’,0

Capabilities: volume mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [capture]

Front-Right: 0 [0%] [mute] [capture]

Group ’Phone’,0

Capabilities: volume mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’PC Speaker’,0

Capabilities: volume mute

Channels: Front-Left Front-Right

Limits: min = 0, max = 15

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

Group ’PCM’,0

Capabilities: volume mute jointly-mute

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 0 [0%] [mute] [---]

Front-Right: 0 [0%] [mute] [---]

这表明声卡驱动默认状态是静音,所以需要使用程序调节合适的音量。

本来使用“amixer”命令可以手工指定参数,进行音量调整。不过,为了不至于把跟随此文一直到现在,大脑可能一直糊里糊涂的朋友们吓跑,可以尝试使用下面的办法,非常方便。

输入命令:

“alsamixer”

你是否看到一个图形界面?按F1可以察看帮助信息。注意每个竖条都代表你的声卡特性。使用 上下左右 光标键,可以很容易的调节每种特性的音量。上下光标调数量,比如,我把他们都调到了“74”,左右光标切换竖条。调好之后,按“ESC”键退出。

再输入命令:

"amixer"

“Group ’SPDIF Record’,0

Capabilities: volume

Channels: Front-Left Front-Right

Limits: min = 0, max = 16383

Front-Left: 12136 [74%] [on] [---]

Front-Right: 12136 [74%] [on] [---]

Group ’ADC Record’,0

Capabilities: volume

Channels: Front-Left Front-Right

Limits: min = 0, max = 16383

Front-Left: 12136 [74%] [on] [---]

Front-Right: 12136 [74%] [on] [---]

Group ’Capture Volume’,0

Capabilities: volume

Channels: Front-Left Front-Right

Limits: min = 0, max = 16383

Front-Left: 12136 [74%] [on] [---]

Front-Right: 12136 [74%] [on] [---]

Group ’Input Gain’,0

Capabilities: volume mute jointly-mute

Channels: Front-Left Front-Right

Limits: min = 0, max = 15

Front-Left: 11 [73%] [mute] [---]

Front-Right: 11 [73%] [mute] [---]

Group ’Master Mono’,0

Capabilities: volume mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’Master’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’Aux’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’Video’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’CD’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’Line’,0

Capabilities: volume mute jointly-mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’MIC’,0

Capabilities: volume mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [capture]

Front-Right: 23 [74%] [mute] [capture]

Group ’Phone’,0

Capabilities: volume mute capture exclusive-capture

Capture exclusive group: 1

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]

Group ’PC Speaker’,0

Capabilities: volume mute

Channels: Front-Left Front-Right

Limits: min = 0, max = 15

Front-Left: 11 [73%] [mute] [---]

Front-Right: 11 [73%] [mute] [---]

Group ’PCM’,0

Capabilities: volume mute jointly-mute

Channels: Front-Left Front-Right

Limits: min = 0, max = 31

Front-Left: 23 [74%] [mute] [---]

Front-Right: 23 [74%] [mute] [---]”

你会发现你的调整已经起作用了。

3:存储配置参数。

因为刚才的调整不是永久性的,下次重新启动时,又成了静音状态。所以,需要把参数存储起来。

输入命令:

alsactl store

程序自动的建立了配置文件---"/etc/asound.conf"。如果对修改后的配置不满意,可以使用:

“alsactl restore”恢复。

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章