QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2051|回复: 4

845主板的声卡安装!

[复制链接]
发表于 2003-5-6 17:30:03 | 显示全部楼层 |阅读模式
看到很多网上的弟兄提问关于845主板的声卡安装问题,问REDHAT8,9是不是支持,最近我就特地找了相关的文章看了(因为我不装声卡的,就是服务器),然后把我安装
的过程写下来,给弟兄们参考!
我的主板驱动是有FOR LINUX的,如果没有的兄弟,需要到网站去DOWN
解开压缩包(如果中间提到的基础操作不懂的话,需要查看以前的教程)
里面有README,哈哈,重点!

The source code copy from www.alsa-project.org.       ver:a1.70
Linux Source Code for ALC audio codec

Installation:
This Source Code is from www.alsa-project.org.
For driver installation, please follow below steps.
#安装

Step 1. You must have full configured source for the Linux kernel.
#你必须有足够的权限

Step 2. Uncompress the source code
        a. tar xfvj alcsound.tar.bz2
        or        b. unbzip2 alcsound.tar.bz2
                        tar -xvf alcsound.tar
#解压

Step 3. Turn on sound support (soundcore module)
#打开声音支持(默认)

Step 4. Complied source code
        a. ./Configure
        b. make install
        c. ./snddevices
#编译

Step 5. Edit your /etc/modules.conf or conf.modules depending on the Distribution
        (Please refer to the attached modules.conf)
#编辑你的/etc/modules.conf,参照modules.conf

Step 6. reboot your machine
#这个知道吧,哈

Note:         1. The most detail information, can refer the INSTALL file in the alcsound.tar.bz2.
        2. Kernel Version must be 2.2.14 or later.
        3. All mixer channels are muted by default. You must use a native
                or OSS mixer program to unmute appropriate channels.
        4. If can not compile the source code, try to rename the /usr/src/linux-2.x -> /usr/src/linux.
        5. The driver added to support the SPDIF functoin.        
#注意:内核必须是2.2.14或者以后的
如果不能完成编译源码,rename the /usr/src/linux-2.x -> /usr/src/linux.

好,看了这个,我们开始
这个其中没有提到的需要我们体会到的就是linux内核原码的安装kernel-source-2.4.20-8.i386.rpm
安装后需要改名字,不改也可以!但是后面需要注意
#./configure
(可惜没有保存提示)
不能成功,郁闷?不要着急,看看错误提示
原来是没有指定指定编译的源码,详细的操作看相关教程--with-kernel=...
--with-moddir=/path     give the path for the alsa driver kernel modules
                          /lib/modules/<KVER>/misc

(可惜没有保存提示)
#make install(需要耐心)
#=====
省略N多代码
#=====
#./snddevices
#=========
[root@localhost alsa-driver-0.9.0rc5]# ./snddevices
Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
创建连至‘/dev/mixer0’的符号链接‘/dev/mixer’
创建连至‘/dev/midi0’的符号链接‘/dev/midi’
创建连至‘/dev/dsp0’的符号链接‘/dev/dsp’
创建连至‘/dev/audio0’的符号链接‘/dev/audio’
创建连至‘/dev/music’的符号链接‘/dev/sequencer2’
创建连至‘/dev/adsp0’的符号链接‘/dev/adsp’
创建连至‘/dev/amidi0’的符号链接‘/dev/amidi’
ALSA dynamic sound device filesystem
创建连至‘/proc/asound/dev’的符号链接‘/dev/snd’
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done
#=====
到这里,编辑你的/etc/modules.conf,参照modules.conf
#====
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
#alias sound-slot-0 via82cxxx_audio        //remark this line, this is default audio driver

#====== added those lines =============
alias char-major-116 snd
options snd major=116 cards_limit=1

#--- Intel 8x0  and SiS 7012 ----------
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0 id="ICH"
#--- Via8233  and Via686A/B -------------------
#alias snd-card-0 snd-via82xx
#options snd-via82xx index=0 id="VIA"
#------------------------------------------------------

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
#=================================
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 || :
#====
仔细看一下有intel via sis等
参考我的配置:
#=====
alias eth0 8139too
alias eth1 8139too
alias usb-controller ehci-hcd
alias sound-slot-0 i810_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-controller1 usb-uhci
#====== added those lines =============
alias char-major-116 snd
options snd major=116 cards_limit=1
#--- Intel 8x0  and SiS 7012 ----------
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0 id="ICH"
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
#====
save it!
reboot -n
redhat9默认就可以听到声音拉,如果不可以,调整你的声音选项,看!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2003-5-20 07:14:38 | 显示全部楼层
我用的是845G的主板,不能被RH8认出,但可以被RH9很好地识别,用得很好啊。
回复

使用道具 举报

发表于 2003-5-20 20:22:23 | 显示全部楼层
[quote:e7ac549055="k10j"]我用的是845G的主板,不能被RH8认出,但可以被RH9很好地识别,用得很好啊。[/quote]

请问一下845G集成的是什么声卡,我的845GL也找不到驱动,不知道是不是和你的一样。 
回复

使用道具 举报

 楼主| 发表于 2003-5-25 22:42:18 | 显示全部楼层
这里给出的是思路,具体问题具体分析!
回复

使用道具 举报

发表于 2004-12-31 18:46:24 | 显示全部楼层
我的是fedora core 3,这样装行吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-14 22:43 , Processed in 0.069781 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表