论坛 
IT客
设为首页
加入收藏
关于我们
首页  | 程序 | IT新闻 | IT基础 | 网络 | 系统 | 数据库 | 软件开发 | 软件下载 | 电影频道 | FLASH | 图片 | 技术文档 | 分类信息
网络 Cisco 网络设备 解决方案 系统 Windows Linux 服务器 系统安全 程序 Java Dotnet 数据库 Oracle MySQL MSSQL 软件开发 Web开发 桌面开发 IT基础 网页设计 平面设计 多媒体 工具软件 即时通讯 Flash FLASH爆笑 FLASH游戏 FLASH MTV FLASH彩铃 图片 明星 美女 笑话大全
子栏目  | Linux安装 | 常用命令 | 软件使用
首页 > 系统 > Linux > 新手入门 > Linux安装 >
 
alsa声卡驱动的安装
作者: 发布时间:2008-04-14 01:51:57 来源:

  解决RH8中VIA8233声卡问题
  
  首先当然要以ROOT用户登录(或在终端下su到ROOT用户)。
  解压缩alsa-driver-0.9.0rc5.tar.bz2:
  #tar jxvf alsa-driver-0.9.0rc5.tar.bz2
  进入刚刚解压得到的目录:
  #cd alsa-driver-0.9.0rc5
  执行:
  1、#./configure
  INSTALL原文如下:
  引用:
  Run './configure' script.
  If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
  If you want sequencer support, use --with-sequencer=yes switch.
  If you do not want OSS/Free emulation, use --with-oss=no switch.
  If you want turn on debug mode use --with-debug=full switch.
  If you want debug soundcard detection try --with-debug=detect switch.
  If you have kernel source code in another directory than /usr/src/linux,
  use --with-kernel=
  
  请大家根据自己的的实际情况加入相应的参数(主板自带的VIA8233声卡不用加参数,直接configure就行了)。
  2、#make install
  3、./snddevices
  INSTALL原文:
  引用:
  Run the './snddevices' script to create new sound devices in /dev directory.
  Skip this step, if you have a kernel with the DEVFS support.(执行./snddevices脚本以在/dev目录下创建新的声卡设备。
  如果你的内核支持DEVFS(什么东东?我不知道。),可以跳过这一步。)
  
  呵呵,因为我不知道DEVFS是什么,所以我不管它,直接就执行snddevices。
  4、编辑/etc/modules.conf。如果你知道该怎么编辑那就最好了,如果不知道,呵呵,不要紧,你可以运行./utils/alsaconf,让它来帮你编辑,你所需要做的就只是选择你的声卡就行了。(原来我并不知道alsa-driver-0.9.0rc5已经自带了这个东东,所以在公社提供的ALSA包里又给出了这个程序)。
  下面请看我的modules(VIA8233声卡):
  引用:
  
  alias parport_lowlevel parport_pc
  alias eth0 8139too
  alias sound-slot-0 via82cxxx_audio
  post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
  pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
  alias usb-controller usb-uhci
  alias char-major-116 snd
  alias snd-card-0 snd-card-x
  alias char-major-14 soundcore
  alias sound-slot-0 snd-card-0
  alias sound-service-0-0 snd-mixer-oss
  alias sound-service-0-1 snd-seq-oss
  alias sound-service-0-3 snd-pcm-oss
  alias sound-service-0-8 snd-seq-oss
  alias sound-service-0-12 snd-pcm-oss
  options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=0 snd_device_uid=0
  options snd-card-x snd_index=0 snd_id=CARD_0 snd_mpu_port=0x300 snd_joystick=0x300 snd_pbk_frame_size=128 snd_cap_frame_size=128
  alias char-major-195 NVdriver
  
  5、modprobe snd-xxxx。xxxx是你的声卡模块,在alsa-driver-0.9.0rc5中VIA8233的模块是via82xx(在以前版本中是via8233),所以如果用VIA8233声卡的朋友应该用下面的命令:
  modprobe snd-via82xx
  用其它声卡的朋友可以在/lib/modules/(内核版本目录,比如2.4.18-17.8.0)/kernel/sound/看看自己的声卡模块是什么(当然,你的声卡得是ALSA支持的才行)。
  
  
  OK,如果这个过程中没有什么错误的话,驱动到此就装完了。
  然后把音量都调高,“音量控制”、kmix等等都可以。不过在这里我有一个问题,那就是在KDE中音量可以保存,而在GNOME中,音量总是无法保存,每次启动都得调一下音量。
  呵呵,打开播放器,来点MUSIC吧!!!(这个驱动的音质已经相当不错了,感觉跟WINDOWS下的差不多甚至更好。)
  最后我们做点善后工作,让系统启动时自动加载ALSA声卡模块:
  ln /etc/rc.d/init.d/alsasound /etc/rc.d/rc5.d/S87alsasound(S87听说是启动顺序,我对这个不大清楚,随便弄了一个S97也很正常,呵呵。)
  然后在ntsysv中选中它就可以了。
  保险一点的话,再在/etc/rc.local中加入下面一行命令:
  modprobe snd-via82xx(其它声卡请作相应修改)。
  
  
  
  
评论】【加入收藏夹】【 】【打印】【关闭
※ 相关信息
 ·RH8.0中NVIDIA显卡驱动跟ALSA声卡  (2008-04-14)

发表评论
用户名: 密码:
验证码: 匿名发表
 
 搜索文章
 最新文章
·Win2K入侵检测实例分析
·Win2000 Server安全入门
·使用微软安全工具包加固Win2
·Windows2000安全检查清单
· 安全管理
·利用安全工具包保持系统的最
·怎么实施和做好入侵检测
·Win2k建立安全WEB站点的解决
·用“$”来加强共享资源的安全
·让你的IIS无懈可击
 热点文章 
· 我的xfce学习笔记(汉化)
·三个方法优化MySQL数据库查询
·IPW2100安装详细步骤说明
·Gnuplot科学绘图——入门篇
·Linux下使用Evolution收发Em
·在Archlinux 安装Maya7.01
·安装Linux中文输入法fcitx
·向Linux迁移的人才准备
·使用指南:好用的播放器mpd
·你应该知道的10个MySQL客户启

社区关于我们广告业务信息反馈合作伙伴网站地图
ITKee.Com 版权所有
Copyright © 2008 All rights reserved