LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: rr19xx

声卡驱动ALSA安装指南-第三版=》03年06月08日更新

[复制链接]
 楼主| 发表于 2004-9-23 02:52:19 | 显示全部楼层

回复 甜酸角

以alsa1.0.6a为例。
请重新解压alsa各个包。编译alsa-driver时,使用:
./configure --with-redhat=yes
其它参数请按照自己情况添加。
如果成功安装alsa-driver后,再按照指南安装alsa-lib和alsa-util。自1.0.1起,alsaconf包含在alsa-util中。完成以上安装后,执行:alsaconf对声卡进行配置。
发表于 2004-9-25 10:44:22 | 显示全部楼层
之后:
make
make install
./snddevices
cd utils
./alsaconf 之后出现一个终端图形配置界面,一路回车便可以配置好声卡了。
如果alsaconf没能自动配置你的声卡,那么你可能需要手动配置/etc/modules.conf文件。
请参考以下字段:

----------------------
偶执行这句的时候提示

sh:./alsaconf :没有那个文件和目录
 楼主| 发表于 2004-9-25 11:04:54 | 显示全部楼层

回复 vvlaw

就在你的楼上我已经说了。
自1.0.1起,alsaconf包含在alsa-util中。
请安装alsa-util,然后再执行alsaconf。
发表于 2004-9-25 12:47:13 | 显示全部楼层

安装后只能有一个程序有声音

运行xmms和lumaqq只能有一个有声音,请问是不是没有装好
发表于 2004-9-25 18:21:09 | 显示全部楼层

回复: 回复 甜酸角

最初由 rr19xx 发表
以alsa1.0.6a为例。
请重新解压alsa各个包。编译alsa-driver时,使用:
./configure --with-redhat=yes
其它参数请按照自己情况添加。
如果成功安装alsa-driver后,再按照指南安装alsa-lib和alsa-util。自1.0.1起,alsaconf包含在alsa-util中。完成以上安装后,执行:alsaconf对声卡进行配置。



cat WARNING

WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.


我用了这个丫,还是不行,版本1.0.6a和1.0.7RC1都用了

声卡是AUDIGY LS


在SOUND配置里我选的是SB LIVE AUDIGY,难道是核心不支持我这块声卡?
核心是2.4.20-8
 楼主| 发表于 2004-9-26 10:24:44 | 显示全部楼层

回复 甜酸角

你现在用的是oss,还是alsa?是按我说的方法编译成功还是其它方法?
一般来说,你的问题是多音频流的问题,最简单的解决是使用声音服务程序。gnome下在各个应用程序中选择esd输出,kde下选择artd输出,即可实现多音频流。
发表于 2004-9-26 13:14:25 | 显示全部楼层
偶也遇到了:(
不支持PCI声卡?

本帖子中包含更多资源

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

x
发表于 2004-9-26 13:28:50 | 显示全部楼层
大概要手动配置这个文件了。。。
-----------------------------------------------------------------
如果alsaconf没能自动配置你的声卡,那么你可能需要手动配置/etc/modules.conf文件。
请参考以下字段:

# ISA PnP support (don't use IRQs 9,10,11,12,13)
options isapnp isapnp_reserve_irq=9,10,11,12,13

# ALSA native device support
alias char-major-116 snd
options snd major=116 cards_limit=1
alias snd-card-0 snd-声卡模块名称
options snd-声卡模块名称 index=0

# OSS/Free setup
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

将以上几段加入/etc/modules.conf。
之后执行:modprobe snd-声卡模块名称。

--------------------------------
声卡模块名称如何查询?
发表于 2004-9-26 13:45:36 | 显示全部楼层
附上/etc/modules.conf文件:
------------------------------------------------------------------------------------
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

### update-modules: end processing /etc/modutils/0keep

### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules

# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner


### update-modules: end processing /etc/modutils/actions

### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off                # Unix
# alias net-pf-2 off                # IPv4
# alias net-pf-3 off                # Amateur Radio AX.25
# alias net-pf-4 off                # IPX
# alias net-pf-5 off                # DDP / appletalk
# alias net-pf-6 off                # Amateur Radio NET/ROM
# alias net-pf-9 off                # X.25
# alias net-pf-10 off                # IPv6
# alias net-pf-11 off                # ROSE / Amateur Radio X.25 PLP
alias net-pf-17 af_packet       # Packet socket (tcpdump)
# alias net-pf-19 off                # Acorn Econet

alias via82cxxx via82cxxx_audio
alias char-major-10-175        agpgart
alias char-major-10-200        tun
alias char-major-81        bttv
alias char-major-108        ppp_generic
alias /dev/ppp                ppp_generic
alias tty-ldisc-3        ppp_async
alias tty-ldisc-14        ppp_synctty
alias ppp-compress-21        bsd_comp
alias ppp-compress-24        ppp_deflate
alias ppp-compress-26        ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0        loop_gen
alias loop-xfer-3        loop_fish2
alias loop-xfer-gen-10        loop_gen
alias cipher-2                des
alias cipher-3                fish2
alias cipher-4                blowfish
alias cipher-6                idea
alias cipher-7                serp6f
alias cipher-8                mars6
alias cipher-11                rc62
alias cipher-15                dfc2
alias cipher-16                rijndael
alias cipher-17                rc5

# Name inconsistency in 2.4 Kernel series
alias ide_cs ide-cs
alias usbcore off
alias autofs autofs4

# If both mousedev and usbmouse are insmodded, neither of them works right.
# Adding solution proposed by Kai Lehmann:
alias usbmouse mousedev
# Same for USB keyboards, which should be used in hid generic mode instead
alias usbkbd hid

### update-modules: end processing /etc/modutils/aliases

### update-modules: start processing /etc/modutils/apm
# alias char-major-10-134        apm
alias char-major-10-134        off
alias /dev/apm_bios                /dev/misc/apm_bios
alias /dev/misc/apm_bios        apm
options apm power_off=1

### update-modules: end processing /etc/modutils/apm

### update-modules: start processing /etc/modutils/autofs
probe        autofs        autofs4        autofs

### update-modules: end processing /etc/modutils/autofs

### update-modules: start processing /etc/modutils/bluez
# BlueZ modules
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias bt-proto-5 cmtp
alias bt-proto-6 hidp
alias tty-ldisc-15 hci_uart
alias char-major-10-250 hci_vhci

### update-modules: end processing /etc/modutils/bluez

### update-modules: start processing /etc/modutils/ftape-util
#
# load ftape/zftape automatically
#

# valid for all versions with zftape

alias char-major-27        zftape

# Bleeding edge ftape driver from ftape-module

options ftape ft_fdc_driver=ftape-internal,none,none,none
options ftape-internal ft_fdc_base=0x3f0 ft_fdc_irq=6 ft_fdc_dma=2
pre-install ftape-internal /usr/bin/swapout 15

# ftape driver from 2.2 kernel (Comment previous three lines and uncomment the next one)

# options ftape ft_fdc_rate_limit=1000 ft_fdc_threshold=16 ft_fdc_base=0x360 ft_fdc_irq=9 ft_fdc_dma=3

# You may need to fine tune the parameters. See the ftape documentation for more details

### update-modules: end processing /etc/modutils/ftape-util

### update-modules: start processing /etc/modutils/ipx.aliases
alias net-pf-4 ipx

### update-modules: end processing /etc/modutils/ipx.aliases

### update-modules: start processing /etc/modutils/irda
alias tty-ldisc-11 irtty
# The following is for new kernel.
alias char-major-161 ircomm-tty

# The following is for old kernel.
alias char-major-60 ircomm_tty

# To be able to attach some dongles
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin

# FIR device drivers.
# options smc-ircc ircc_irq= ircc_dma=
# alias irda0 smc-ircc
# options toshoboe max_baud=
# alias irda0 toshoboe
# options w83977af_ir io= io2= irq= qos_mtt_bits=
# alias irda0 w83977af_ir

# To use the NSC driver on a Thinkpad laptop: uncomment the following:
# options nsc-ircc dongle_id=0x09
# alias irda0 nsc-ircc

### update-modules: end processing /etc/modutils/irda

### update-modules: start processing /etc/modutils/linux-wlan-ng
# Aliases to tell insmod/modprobe which module to use when bringing up the
# wlan0 interface.

# Uncomment the line corresponding to the type of prism2 device you have.
#alias wlan0 prism2_pci
alias wlan0 prism2_usb
#alias wlan0 prism2_cs
#alias wlan0 prism2_plx


### update-modules: end processing /etc/modutils/linux-wlan-ng

### update-modules: start processing /etc/modutils/madwifi
# Alias to load into the kernel
alias ath0 ath_pci

### update-modules: end processing /etc/modutils/madwifi

### update-modules: start processing /etc/modutils/mt-st
# Reset the st driver on module insertion...
post-install st /etc/init.d/mt-st modload > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/mt-st

### update-modules: start processing /etc/modutils/options
options sbp2 sbp2_serialize_io=1

### update-modules: end processing /etc/modutils/options

### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the ones that are compiled into the modutils tools
# themselves.


### update-modules: end processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/ppp
alias /dev/ppp          ppp_generic
alias char-major-108    ppp_generic
alias tty-ldisc-3       ppp_async  
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp   
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

### update-modules: end processing /etc/modutils/ppp

### update-modules: start processing /etc/modutils/raidtools2
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5

### update-modules: end processing /etc/modutils/raidtools2

### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
#
alias /dev/tts          serial
alias /dev/tts/0        serial
alias /dev/tts/1        serial
alias /dev/tts/2        serial
alias /dev/tts/3        serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/setserial

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
# no warnings to stderr on KNOPPIX
insmod_opt=-q

### update-modules: end processing /etc/modutils/arch/i386
发表于 2004-9-30 23:37:05 | 显示全部楼层

安装声卡求救

在安装声卡时出现如下信息,请高手指点:
   [root@localhost alsa-driver-0.9.4]# make install
rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/home/coolie/alsa-driver-0.9.4/support'
Makefile:9: ../Makefile.conf: 没有那个文件或目录
Makefile:27: /Rules.make: 没有那个文件或目录
make[1]: *** No rule to make target `/Rules.make'.  Stop.
make[1]: Leaving directory `/home/coolie/alsa-driver-0.9.4/support'
make: *** [install-modules] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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