linux声卡驱动教程,Linux操作系统下声卡驱动的详细加载方法

(1).安装alsa-driver:

在安装之前先解除之前的依赖关系

tar zxvf alsa-driver-1.0.9b_26_evoc.tar.gz

grep -r –n ’南桥芯片’ ./*

cd alsa-driver-1.0.9b_26

make clean

./configure --with-kernel=/usr/src/linux-2.4 --with-cards=intel8x0

make

make install

./snddevices

备注:在执行modprobe snd-intel8x0出现:"the unresolved symbol schedule_work"类似信息,

解决方法是:

touch include/linux/workqueue.h

make clean

make

make install

(2).安装alsa-lib:

tar jxvf alsa-lib-1.0.9.tar.bz2

cd alsa-lib-1.0.9

./configure

make

make install

(3).安装alsa-utils-1.0.9a:

tar jxvf alsa-utils-1.0.9a.tar.bz2

cd alsa-utils-1.0.9a

./configure

make

make install

安装声卡驱动:

modprobe snd-intel8x0

或者:

运行alsaconf

备注: The driver is loaded, but OSS programs say: Can't open /dev/dsp.

What is wrong?

A: The OSS compatible PCM (digital audio) emulation comes as an add-on module

which is not loaded by default. If you have got modified /etc/conf.module

as suggested in the INSTALL file, it should be loaded with kerneld or kmod.

Check it - if this method for some reason doesn't work - you need to insert

the 'snd-pcm-oss' module manually.

=====>请执行: modprobe snd-pcm-oss

安装mpg123工具: mpg123-0.59r.tar.gz

tar zxvf mpg123-0.59r.tar.gz

cd mpg123-0.59r

make linux

make install

播放mp3测试声卡:

mpg123 /root/1.mp3(正常mp3文件)

备注:如果没有听到声音,运行alsamixer将声卡的静音打开.

Alsamixer(调节音量)

alsactl store

用vi /etc/rc.local编辑添加:

alsactl restore

保存退出

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值