Chinaunix

标题: 可能对新手有帮助的声卡驱动加载方法 [打印本页]

作者: hanyuekuan    时间: 2007-11-03 09:43
标题: 可能对新手有帮助的声卡驱动加载方法
(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
  2.安装声卡驱动:
     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
  3.安装mpg123工具: mpg123-0.59r.tar.gz
  
tar zxvf  mpg123-0.59r.tar.gz
   
cd  mpg123-0.59r
   
make linux
    make install

4.播放mp3测试声卡:
  
  mpg123 /root/1.mp3(正常mp3文件)
  
备注:如果没有听到声音,运行alsamixer将声卡的静音打开.
  Alsamixer(调节音量)
    alsactl store
  5.用vi /etc/rc.local编辑添加:
   
alsactl restore
   保存退出
作者: hanyuekuan    时间: 2007-11-03 12:53
对你们没有帮助也帮忙D一下嘛
作者: szrednick    时间: 2007-11-05 17:31
不错啊:wink:




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2